Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > cd14cddf3b3ceaf1193157472227757a > files > 757

parrot-doc-1.6.0-1mdv2010.0.i586.rpm

1 rem Copyright (C) 2009, Parrot Foundation.
2 rem $Id: perl6.bas 36833 2009-02-17 20:09:26Z allison $
3 rem
10 rem +----------------------------------------------------------------------+
20 rem + perl6.bas                                                             +
30 rem + A test of the pirric basic interpreter                               +
40 rem + First build perl6                                                    +
50 rem + Then do:                                                             +
60 rem + ../../parrot -L /yourparrotdir/languages/perl6 pirric.pir perl6.bas  +
70 rem +----------------------------------------------------------------------+
80 rem
1010 load "perl6.pbc",b
1020 perl= compreg("Perl6")
1030 t=perl.compile("say 'Perl6 called from pirric';")
1040 n= t()
1050 exit