File: perl6.bas

package info (click to toggle)
parrot 6.6.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 25,164 kB
  • ctags: 16,050
  • sloc: ansic: 110,715; perl: 94,382; yacc: 1,911; lex: 1,529; lisp: 1,163; cpp: 782; python: 646; ruby: 335; sh: 140; makefile: 129; cs: 49; asm: 30
file content (15 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1 rem Copyright (C) 2009, Parrot Foundation.
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