1perl6(1) User Contributed Perl Documentation perl6(1)
2
3
4
6 perl6 - Rakudo Perl 6 Compiler
7
9 perl6 [switches] [--] [programfile] [arguments]
10
12 With no arguments, enters a REPL. With a "[programfile]" or the "-e"
13 option, compiles the given program and by default also executes the
14 compiled code.
15
16 -c check syntax only (runs BEGIN and CHECK blocks)
17 -e program one line of program
18 -h, --help display this help text
19 -n run program once for each line of input
20 -p same as -n, but also print $_ at the end of lines
21 --target=[stage] specify compilation stage to emit
22 -t, --trace=[flags] enable trace flags, see 'parrot --help-debug'
23 --encoding=[mode] specify string encoding mode
24 -o, --output=[name] specify name of output file
25 -v, --version display version information
26 --stagestats display time spent in the compilation stages
27 --ll-backtrace display a low level backtrace on errors
28
29 Note that only boolean single-letter options may be bundled
30
31 Supported stages for --target are:
32
33 parse past post pir evalpmc
34
35 where
36
37 parse = a representation of the parse tree
38 past = an intermediate format representing the parrot abstract syntax tree
39 post = an intermediate format representing the parrot opcode syntax tree
40 pir = the parrot intermediate representation
41
43 To specify options to the underlying parrot VM, you must explicitly run
44 parrot; you cannot specify these options by using the "perl6"
45 executable.
46
47 parrot [parrot switches] perl6.pbc [switches] [--] [programfile] [arguments]
48
49 See "parrot --help" for a list of valid parrot options.
50
52 Written by the Rakudo contributors, see the CREDITS file.
53
54 This manual page was written by Reini Urban, Moritz Lenz and the Rakudo
55 contributors.
56
57
58
59perl v5.12.3 2011-06-05 perl6(1)