Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created September 18, 2015 14:26
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 peschwa/09f512e0a3f95a90dc81 to your computer and use it in GitHub Desktop.
Save peschwa/09f512e0a3f95a90dc81 to your computer and use it in GitHub Desktop.
$ DEBUG_PLS=1 ./perl6-j -e'for <0 1 2> { .Int.say }'
pre: - QAST::Stmts # Perl6/Actions.nqp:8050 first line of &postprocess_val
- QAST::Op(call &infix:<,>) 0 1 2
- QAST::Want
- QAST::WVal(Str)
- Ss
- QAST::SVal(0)
- QAST::Want
- QAST::WVal(Str)
- Ss
- QAST::SVal(1)
- QAST::Want
- QAST::WVal(Str)
- Ss
- QAST::SVal(2)
got 0 and 0 # IntStr.new
got 1 and 1
got 2 and 2
post: - QAST::Stmts # Perl6/Actions.nqp:8082 last but one line of &postprocess_val
- QAST::Op(call &infix:<,>) 0 1 2
- QAST::WVal(IntStr)
- QAST::WVal(IntStr)
- QAST::WVal(IntStr)
1
1
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment