Skip to content

Tired-Fox/rust-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua Scripting

Lua (mlua)

This crate uses mlua to create a standalone lua executable.

It is written custom in the build.rs file, but inspiration from copy_to_output for a way of copying lua script files to the target directory when building examples.

.luarc.json is required for typing as it will allow for specifying the used lua version along with where the lua definition files are located. This allows it to read and handle the rust provided types.

Also looking at rhai as it is more tightly working with rust and could allow for better functionality and typing.

Comparable to luau

Rhai

Reference lua-ls/annotations for a list of usable annotations while typing.

About

Research into how scripting can be used in rust. Main focus is in lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published