On Fri, 19 Jul 2002, Leopold Toetsch wrote: > Jeff wrote: > > > Partial perl6 compiler > > What should be the prerequisits for languages/perl6? > > README and languages/perl6/README imply that it should work with perl > 5.005, but it obviously doesn't. > (I tried to patch P6C and got it to compile, but the generated > Perl6grammar doesn't work). languages/perl6/README sort of hides it, but it does say that "If you have Perl <= 5.005_03, "$a += 3" may fail to parse." I guess we can upgrade that to "if you have < 5.6, you lose". > With 5.6.1 Parser.pm needs an additional »use lib '../../lib'« for > inclusion of the hacked lib/Parse/RecDescent.pm too - and: You are correct, sir. The Makefile should add this if you run "make test" or (if foo.p6 exists) "make foo.pbc". > $ make test # perl v5.6.1 for i586-linux > ... > not ok 8 - Hyper 1 > ... > All others are ok. This is a known issue adding arrays as scalars (e.g. "$c = @a + @b"). /sThread Previous | Thread Next