Re:Pallene: A statically typed companion language for Lua [pdf]
by corysama on Saturday September 22, 2018 @03:57PM
(#18047695)
Would it be a mischaracterization to say that the generated C is basically the source of the Lua interpreter + the statically compilable functions from the Pallene program?
[ Parent
| on HN ]
Re:Pallene: A statically typed companion language for Lua [pdf]
by hugomg on Wednesday September 26, 2018 @02:58PM
(#18079146)
From the point of view of Lua, Pallene works the same as C
If you want to produce a standalone executable, at the end of the day this executable will contain a copy of the Lua VM.
If you want to produce a library that can be "require"-ed from Lua, then you will produce a ".so" shared object file with just the Pallene functions in it.