parrotcode: Using Lua on Parrot | |
Contents | Language Implementations | Lua |
Using Lua on Parrot
lua.pbc
is the Lua interpreter.
After building parrot
(see docs/gettingstarted.pod):
cd languages/lua
make
make test
With an original Lua
in your path, it's possible to check the test suite.
cd languages
perl -I../lib -Ilua/t lua/t/harness --use-lua
../../parrot --no-gc lua.pbc example.lua
or in interactive mode :
../../parrot --no-gc lua.pbc
Lua PMC have problems with the Parrot garbage collector. So, use the option --no-gc
.
Francois Perrad.
|