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 Compiles "[programfile]" or the program given by the "-e" option, and
13 by default also executes the compiled code.
14
15 -c check syntax only (runs BEGIN and CHECK blocks)
16 -e program one line of program
17 -h, --help display this help text
18 --target=[stage] specify compilation stage to emit
19 -t, --trace=[flags] enable trace flags
20 --encoding=[mode] specify string encoding mode
21 -o, --output=[name] specify name of output file
22 -v, --version display version information
23 --stagestats display time spent in the compilation stages
24
25 Note that only boolean single-letter options may be bundled
26
27 Supported stages for --target are:
28
29 parse past post pir evalpmc
30
31 where
32
33 parse = a representation of the parse tree
34 past = an intermediate format representing the parrot abstract syntax tree
35 post = an intermediate format representing the parrot opcode syntax tree
36 pir = the parrot intermediate representation
37
39 To specify options to the underlying parrot VM, you must explicitly run
40 parrot; you cannot specify these options by using the "perl6"
41 executable.
42
43 parrot [parrot switches] perl6.pbc [switches] [--] [programfile] [arguments]
44
45 See "parrot --help" for a list of valid parrot options.
46
48 Written by the Rakudo contributors, see the CREDITS file.
49
50 This manual page was written by Reini Urban, Moritz Lenz and the Rakudo
51 contributors.
52
53
54
55perl v5.12.1 2010-08-20 perl6(1)