Skip to content

Instantly share code, notes, and snippets.

@sorear
Created June 28, 2013 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorear/5882254 to your computer and use it in GitHub Desktop.
Save sorear/5882254 to your computer and use it in GitHub Desktop.
bad ast for $_
- QAST::CompUnit
- QAST::Block $_ := 4;{ $_ := 1; for 2 -> $k { say $_ } }
- QAST::Var(local __args__ :decl(param))
- QAST::Stmts
- QAST::Op(call)
- QAST::Block
- QAST::Stmts
- QAST::Var(lexical GLOBALish :decl(static))
- QAST::Var(lexical EXPORT :decl(static))
- QAST::Var(lexical $?PACKAGE :decl(static))
- QAST::Var(lexical ::?PACKAGE :decl(static))
- QAST::Var(lexical $_ :decl(contvar))
- QAST::Var(lexical $/ :decl(contvar))
- QAST::Var(lexical $! :decl(contvar))
- QAST::Stmts
- QAST::Block { $_ := 1; for 2 -> $k { say $_ } }
- QAST::Stmts
- QAST::Stmts
- QAST::Block { say $_ }
- QAST::Stmts
- QAST::Var(lexical $k :decl(var))
- QAST::Op(bind)
- QAST::Var(lexical call_sig :decl(var))
- QAST::Op(p6getcallsig)
- QAST::Op(p6bindsig)
- QAST::Var(lexical $*DISPATCHER :decl(var))
- QAST::Op(takedispatcher)
- QAST::SVal($*DISPATCHER)
- QAST::Stmts say $_
- QAST::Stmt
- QAST::Want
- QAST::Op(call &say) say $_
- QAST::Var(lexical $_) $_
- v
- QAST::Op(locallifetime)
- QAST::Stmts
- QAST::Op(bind)
- QAST::Var(local sink_1 :decl(var))
- QAST::Op(call &say) say $_
- QAST::Var(lexical $_) $_
- 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)
- sink_1
- QAST::Var(lexical $_ :decl(var))
- QAST::Op(bind)
- QAST::Var(lexical call_sig :decl(var))
- QAST::Op(p6getcallsig)
- QAST::Op(p6bindsig)
- QAST::Var(lexical $*DISPATCHER :decl(var))
- QAST::Op(takedispatcher)
- QAST::SVal($*DISPATCHER)
- QAST::Stmts $_ := 1; for 2 -> $k { say $_ }
- QAST::Stmt
- QAST::Op(bind)
- QAST::Var(lexical $_) $_
- QAST::Op(p6bindassert)
- QAST::Want 1
- QAST::WVal(Int)
- Ii
- QAST::IVal(1)
- QAST::WVal(Mu)
- QAST::Stmt
- QAST::Want
- QAST::Op(callmethod eager)
- QAST::Op(callmethod map) for 2 -> $k { say $_ }
- QAST::Op(call &infix:<,>)
- QAST::Want 2
- QAST::WVal(Int)
- Ii
- QAST::IVal(2)
- QAST::Op(p6capturelex)
- QAST::Op(callmethod clone)
- QAST::WVal(Block)
- v
- QAST::Op(locallifetime)
- QAST::Stmts
- QAST::Op(bind)
- QAST::Var(local sink_2 :decl(var))
- QAST::Op(callmethod eager)
- QAST::Op(callmethod map) for 2 -> $k { say $_ }
- QAST::Op(call &infix:<,>)
- QAST::Want 2
- QAST::WVal(Int)
- Ii
- QAST::IVal(2)
- QAST::Op(p6capturelex)
- QAST::Op(callmethod clone)
- QAST::WVal(Block)
- QAST::Op(if)
- QAST::Op(if)
- QAST::Op(isconcrete)
- QAST::Var(local sink_2)
- QAST::Op(can)
- QAST::Var(local sink_2)
- QAST::SVal(sink)
- QAST::Op(callmethod sink)
- QAST::Var(local sink_2)
- sink_2
- QAST::Var(lexical $=pod :decl(static))
- QAST::Var(lexical !UNIT_MARKER :decl(static))
- QAST::VM
[loadlibs]
- nqp_group nqp_ops perl6_ops bit_ops math_ops trans_ops io_ops obscure_ops os file sys_ops nqp_bigint_ops nqp_dyncall_ops
[jvm]
- QAST::Op(null)
- QAST::Stmt
- QAST::Op(bind)
- QAST::Var(local ctxsave :decl(var))
- 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 $_ := 4;{ $_ := 1; for 2 -> $k { say $_ } }
- QAST::Stmt
- QAST::Op(bind)
- QAST::Var(lexical $_) $_
- QAST::Op(p6bindassert)
- QAST::Want 4
- QAST::WVal(Int)
- Ii
- QAST::IVal(4)
- QAST::WVal(Mu)
- QAST::Want
- QAST::Op(call)
- QAST::BVal(<cannot stringify this>)
- v
- QAST::Op(locallifetime)
- QAST::Stmts
- QAST::Op(bind)
- QAST::Var(local sink_3 :decl(var))
- QAST::Op(call)
- QAST::BVal(<cannot stringify this>)
- QAST::Op(if)
- QAST::Op(if)
- QAST::Op(isconcrete)
- QAST::Var(local sink_3)
- QAST::Op(can)
- QAST::Var(local sink_3)
- QAST::SVal(sink)
- QAST::Op(callmethod sink)
- QAST::Var(local sink_3)
- sink_3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment