/gist:a2982ac96a6e25bea0ae Secret
Created
April 12, 2013 00:49
Star
You must be signed in to star a gist
Example of Rakudo AST output
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
| $ perl6 --target=ast -e 'say "Hello"' | |
| - QAST::CompUnit | |
| - QAST::Block say \"Hello\" | |
| - QAST::Stmts | |
| - QAST::Op(call) | |
| - QAST::Block | |
| - QAST::Stmts | |
| - QAST::Var(lexical GLOBALish :decl) | |
| - QAST::Var(lexical EXPORT :decl) | |
| - QAST::Var(lexical $?PACKAGE :decl) | |
| - QAST::Var(lexical ::?PACKAGE :decl) | |
| - QAST::Var(lexical $_ :decl) | |
| - QAST::Var(lexical $/ :decl) | |
| - QAST::Var(lexical $! :decl) | |
| - QAST::Var(lexical $=pod :decl) | |
| - QAST::Var(lexical !UNIT_MARKER :decl) | |
| - QAST::VM | |
| - QAST::Stmt | |
| - QAST::Op(bind) | |
| - QAST::Var(local ctxsave :decl) | |
| - QAST::Var(contextual $*CTXSAVE) | |
| - QAST::Op(unless) | |
| - QAST::Op(isnull) | |
| - QAST::Var(local ctxsave) | |
| - QAST::Op(if) | |
| - QAST::Op(can) | |
| - QAST::Var(local ctxsave) | |
| - QAST::SVal(ctxsave) | |
| - QAST::Op(callmethod ctxsave) | |
| - QAST::Var(local ctxsave) | |
| - QAST::Stmts | |
| - QAST::WVal(Array) | |
| - QAST::Stmts say \"Hello\" | |
| - QAST::Stmt | |
| - QAST::Want | |
| - QAST::Op(call &say) say \"Hello\" | |
| - QAST::Want Hello | |
| - QAST::WVal(Str) | |
| - Ss | |
| - QAST::SVal(Hello) | |
| - v | |
| - QAST::Stmts | |
| - QAST::Op(bind) | |
| - QAST::Var(local sink_1 :decl) | |
| - QAST::Op(call &say) say \"Hello\" | |
| - QAST::Want Hello | |
| - QAST::WVal(Str) | |
| - Ss | |
| - QAST::SVal(Hello) | |
| - QAST::Op(if) | |
| - QAST::Op(if) | |
| - QAST::Op(isconcrete) | |
| - QAST::Var(local sink_1) | |
| - QAST::Op(can) | |
| - QAST::Var(local sink_1) | |
| - QAST::SVal(sink) | |
| - QAST::Op(callmethod sink) | |
| - QAST::Var(local sink_1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment