TITLE ^

Using Lua on Parrot

In brief ^

Currently, luac.pl is a Lua 5.1 compiler written in Perl5 (with Parse::Yapp). This compiler produces PIR code.

Building ^

After building parrot :

  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 ^

  perl luac.pl example.lua
  ../../parrot --no-gc example.pir

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