LuaDardo
LuaDardo copied to clipboard
A Lua virtual machine written in Dart
Is it possible to get the line number in which a runtime error occurs? If I run the code: ``` try { ls.loadString("x=123 \n x()"); ls.call(0, 0); } catch (e)...
fixes #28 Just catches the error and uses a fallback `/`. Prevents calling `ls.openLibs()` from crashing the app on web flutter.
这是一个很牛逼的库,千万不要放弃它,如果实在坚持不下去的时候,可以挂一个收款码,我会略尽绵薄之力 This is a very compelling library, do not give it up, if you really can not stick to it, you can hang a donation, I will do a little
The upper limit in math.random() with 1 or 2 arguments is wrong - it should be increased by 1. (Since the dart random number generator is used, random(1,10) will produce...
I'm not sure if this is the correct solution how to do it, but for me it worked :)!
is it possible to run and render 2d physics created in lua?
It seems that luadardo cannot be used with `flutter build web`. The problem seems to occur when `state.openLibs()`is called which leads to an error in line 21: `static final lua_dirsep...
Hello, Thank you for the interesting lib. I'm however unable to embed fennel (https://fennel-lang.org/setup#embedding-the-fennel-compiler-in-a-lua-application.) I got this error instead ``` flutter: Err flutter: >------ stack top ------< flutter: >------ stack...
Greetings, I've decided to fix https://github.com/arcticfox1919/LuaDardo/issues/10. First commit of this MR contains a simple test, which proves that "next keys" map is not reinitialized after insertion of new key. I...
Once #17 is done, it would be great to then move on to add running the [Lua test suite](https://www.lua.org/tests/) against LuaDardo to CI to check for compatibility with the canonical...