Improved debugging support for Pallene
- Mentors
- Hugo Gualandi, Gabriel Ligneul, srijannr1@gmail.com
- Organization
- LabLua
- Technologies
- c, lua, git, luarocks, pallene, Lua API
- Topics
- compilers, programming language, scripting
Pallene is a statically typed companion language to Lua, designed to write performance sensitive part of it. Pallene has a very similar syntax as Lua, sharing its runtime as well.
Pallene is Ahead-of-Time compiled language, compiling into C before getting compiled into a Lua module. As the situation stands for Lua stack trace, it does not store any line number information for any native C call, which Pallene eventually ends up using. There are also missing traces when a Pallene function calls another Pallene function as the call is in Pallene environment and completely oblivious to Lua.
This proposal aims to fix that issue in Pallene, improving its overall debugging support.