Re: Compiling Perl6 code to bytecode

2010-01-30 Thread Moritz Lenz
Tadeusz Sośnierz wrote: > On 29-01-2010 14:46:40, Moritz Lenz wrote: >> Hi, > Hi, thanks for your response. > >> Tadeusz Sośnierz wrote: >> > However, compiling the code for later use makes problems: >> > >> > $ perl6 --target=pir hello.pl > hello.pir >> > $ parrot /usr/lib/parrot/2.0.0/language

Re: Compiling Perl6 code to bytecode

2010-01-29 Thread Richard Hainsworth
At present. But the development process has not reached a stage where compiling the main program produces any real benefit. By the way, if you have used 'make install', then all you need is /full/path/to/binary/perl6 scriptfile.p6 [args args args ...] rather than parrot /full/path/to/binary/pe

Re: Compiling Perl6 code to bytecode

2010-01-29 Thread Moritz Lenz
Hi, Tadeusz Sośnierz wrote: > However, compiling the code for later use makes problems: > > $ perl6 --target=pir hello.pl > hello.pir > $ parrot /usr/lib/parrot/2.0.0/languages/perl6/perl6.pbc hello.pir You should use parrot to turn the .pir file, not the Perl 6 compiler. So try parrot hello.pi

Re: Compiling Perl6 code to bytecode

2010-01-29 Thread Will Coleda
2010/1/29 Tadeusz Sośnierz : > Hello, > I recently got interested in Perl 6, installed Parrot 2.0.0 and Rakudo > 2010-01. Running the code works fine: > > $ cat hello.pl > say "Hello, world!" > $ parrot /usr/lib/parrot/2.0.0/languages/perl6/perl6.pbc hello.pl > Hello, world! > > However, compiling

Compiling Perl6 code to bytecode

2010-01-29 Thread Tadeusz Sośnierz
Hello, I recently got interested in Perl 6, installed Parrot 2.0.0 and Rakudo 2010-01. Running the code works fine: $ cat hello.pl say "Hello, world!" $ parrot /usr/lib/parrot/2.0.0/languages/perl6/perl6.pbc hello.pl Hello, world! However, compiling the code for later use makes problems: $ perl