Created
April 21, 2012 12:44
-
-
Save marcusramberg/2436933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Source/rakudo/nqp/ [655049e...*] ./nqp --help | |
./nqp | |
perl6 - Rakudo Perl 6 Compiler | |
SYNOPSIS | |
perl6 [switches] [--] [programfile] [arguments] | |
DESCRIPTION | |
With no arguments, enters a REPL. With a "[programfile]" or the | |
"-e" option, compiles the given program and by default also | |
executes the compiled code. | |
-c check syntax only (runs BEGIN and CHECK blocks) | |
--doc extract documentation and print it as text | |
-e program one line of program | |
-h, --help display this help text | |
-n run program once for each line of input | |
-p same as -n, but also print $_ at the end of lines | |
--target=[stage] specify compilation stage to emit | |
-t, --trace=[flags] enable trace flags, see 'parrot --help-debug' | |
--encoding=[mode] specify string encoding mode | |
-o, --output=[name] specify name of output file | |
-v, --version display version information | |
--stagestats display time spent in the compilation stages | |
--ll-backtrace display a low level backtrace on errors | |
Note that only boolean single-letter options may be bundled | |
Supported stages for --target are: | |
parse past post pir evalpmc | |
where | |
parse = a representation of the parse tree | |
past = an intermediate format representing the parrot abstract syntax tree | |
post = an intermediate format representing the parrot opcode syntax tree | |
pir = the parrot intermediate representation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment