Klaas-Jan Stol wrote:
Hi François,
lua on parrot seems to have improved a lot, indeed.
It's looking really good.
Some remarks:
* is it possible to show the generated PIR? I can't get life.lua
(included with lua distr.), and I'd like to see what's going on under
the hood.
lua.pbc acts as the original lua interpreter,
but luap.pir has an HLLCompiler interface,
so try the following command :
$ parrot luap.pir --target=pir life.lua
François.
* running (n)make fails for me on windows,as I don't have yapp
installed. Running (n)make test won't work either (because of that)
* if you need help with converting to PCT, let me know.
kjs
On Wed, Mar 19, 2008 at 4:44 PM, François Perrad
<[EMAIL PROTECTED]> wrote:
Parrot is a VM (virtual machine) designed specifically for running
dynamic languages in general, and Perl 6 in particular (see
http://www.parrotcode.org/).
Parrot is still in development, the latest monthly version is 0.6.0.
A complete prototype of Lua 5.1 (aligned on 5.1.3) is available :
- an Lua interpreter written in PIR (Parrot Intermediate
Representation) that generates PIR
- a large subset of the Lua Standard Librairies (written in PIR)
- a test suite (more than 980 tests)
For the first time, with Parrot 0.6.0, all garbage collection problems
seem to be fixed.
Documentation starts in
http://svn.perl.org/viewcvs/parrot/trunk/languages/lua/doc/running.pod?view=markup
and
http://svn.perl.org/viewcvs/parrot/trunk/languages/lua/doc/status.pod?view=markup.
Any comments, suggestions, bug report, test, improvement are welcome on
Parrot mailing list ([EMAIL PROTECTED]).
François Perrad.