|
On Fri, Nov 11, 2011 at 2:22 PM, Gopalakrishnan SubramaniGood question. This is the hard way to do it, although you get direct
<gopalakrishnan.subramani@gmail.com> wrote:
> 1. Should I convert the language to Lua byte code convention before
> execution?
control over the debug information. But it will be tied to a
particular Lua implementation - e.g. if targeting Lua 5.1, it will not
work with Lua 5.2 without modification and LuaJIT has a completely
different byte code structure.
It is easier to know what's going on if you (at least initially)
generate Lua source.
The other option is to modify the Lua compiler until it gives the
syntax that you want. People have made curly bracket languages this
way ;)
steve d.