TITLE ^

Using Lua on Parrot

In brief ^

lua.pbc is the Lua interpreter.

Building ^

After building parrot (see docs/gettingstarted.pod):

  cd languages/lua
  make

Running the whole test suite ^

  make test

Testing the test suite ^

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

Running your own code ^

  ../../parrot --no-gc lua.pbc example.lua

or in interactive mode :

  ../../parrot --no-gc lua.pbc

BUGS & LIMITATIONS ^

Lua PMC have problems with the Parrot garbage collector. So, use the option --no-gc.

SEE ALSO ^

languages/lua/doc/status.pod

AUTHOR ^

Francois Perrad.


parrot