You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's getting interesting, when you don't need something like a main.lua anymore. If the main-application is normal C-code, while some used C-modules/routines are actually written in Lua, then your head explodes at all those possibilities.
Is it possible to do use luastatic for modular programming?
Usecase-example:
Let's take
string.c
-file which contains some helper functions concerning strings andmain.c
which forms the standalone program and which calls functions fromstring.c
.Now the special thing about
string.c
is, that it actually consists of lua-code, which has been converted to C-code using luastatic.This would be very exciting.
The text was updated successfully, but these errors were encountered: