News for hackers. Stuff that matters.
Re:Pallene: A statically typed companion language for Lua [pdf] by nikki93 on Friday September 21, 2018 @03:06PM (#18041911)
(Maybe trivially answerable by looking through the resources, sorry!) -- will Pallene still support `eval`-like behavior (like with Lua's `load` function(s))?
Re:Pallene: A statically typed companion language for Lua [pdf] by hugomg on Friday September 21, 2018 @05:13PM (#18042702)
Don't worry, that is still a fine question. Pallene programs are still able to use Lua's "load" to eval dynamically-typed Lua code. But it is less likely that we would implement a function to load Pallene source code at run-time, for the same reasons why it isn't common to dynamically load C source code: Pallene takes longer to compile than Lua, and dynamically-loaded code usually isn't as performance-sentitive anyway.
Re:Pallene: A statically typed companion language for Lua [pdf] by nikki93 on Saturday September 22, 2018 @05:48PM (#18048199)
Cool makes sense. Could actually still be awesome to have a Lua lib or some other runtime lib that can translate Pallene or some other type-annotated Lua format to plain Lua, just for typechecking and ability to use autocomplete etc.