2 releases
0.1.1 | Mar 9, 2022 |
---|---|
0.1.0 | Mar 9, 2022 |
#8 in #cursed
3KB
lua-macro
Have you ever wanted to embed Lua code straight into Rust?
No?
Well, you can now lol
How to use
Import lua_macro::lua
and use lua! { your code }
to insert some Lua.
To evaluate an expression, use lua_macro::lua_eval!
.
Dependencies
~1.3–1.9MB
~34K SLoC