parrotcode: A dumper for Lua 5.1 lexicography | |
Contents | Language Implementations | Lua |
test_lex -- A dumper for Lua 5.1 lexicography
$ parrot test_lex.pir script.lua
$ parrot test_lex.pir --target=parse script.lua
PAST
POST
PIR
This compiler extends HLLCompiler
(see runtime/parrot/library/Parrot/HLLCompiler.pir)
This compiler defines the following stages:
and imports many definitions from the full Lua compiler (languages/lua/src/lua51.pir).
Francois Perrad
|