Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (46 sloc) 1.13 KB

Using Lua on Parrot

In brief

lua.pbc is the Lua interpreter.

Building

Retrieve Parrot

svn checkout https://svn.parrot.org/parrot/trunk parrot

Configure & build & install Parrot

cd parrot
perl Configure.pl
make
sudo make install

Retrieve Lua

perl tools/dev/fetch_languages.pl --lang=lua

cd languages/lua
git submodule init t/lua-TestMore
git submodule update

Build Lua

parrot setup.pir

Running the Test Suite

parrot setup.pir test

With t/lua-TestMore/test_lua51 is used as Test Suite

parrot setup.pir spectest

Smoking to Smolder

parrot setup.pir smoke

Note : t/lua-TestMore/test_lua51 is used as Test Suite

Running your own code

parrot lua.pbc example.lua

or in interactive mode :

parrot lua.pbc

Installing

parrot setup.pir install

and now :

parrot-lua example.lua

Bugs & Limitations

See languages/lua/doc/status.pod

See Also

languages/lua/doc/status.pod

Author

Francois Perrad.