Y
Hacker News
new
|
ask
|
show
|
jobs
by
rafa1981
2408 days ago
I don't know if luajit runs in your device, but vanilla luajit supports generating and loading bytecode.
https://luajit.org/running.html
1 comments
SlowRobotAhead
2408 days ago
I think primarily it’s the ffi I would be missing. This would get me a turing complete language but set up as an executable it’s wrong for me.
link
rafa1981
2407 days ago
Notice that if I remember correctly, you can generate bytecode on the PC (by using the luajit command) and have the resulting bytecode loaded through the C API on your device as if it were a regular script.
link