Skip to content

Instantly share code, notes, and snippets.

@timo
Created September 14, 2015 11:27
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 timo/4505a55475ea1b51a5b8 to your computer and use it in GitHub Desktop.
Save timo/4505a55475ea1b51a5b8 to your computer and use it in GitHub Desktop.
- QAST::Stmt $distance = sqrt($dx * $dx + $dy * $dy + $dz * $dz...
- QAST::Op(assign_n)
- QAST::Var(lexicalref $distance) $distance
- QAST::Op(callstatic &sqrt) sqrt($dx * $dx + $dy * $dy + $dz * $dz)
- QAST::Op(callstatic &infix:<+>) +
- QAST::Op(callstatic &infix:<+>) +
- QAST::Stmts *
- QAST::Stmt
- QAST::Op(mul_n)
- QAST::Var(lexicalref $dx) $dx
- QAST::Var(lexicalref $dx) $dx
- QAST::Stmts *
- QAST::Stmt
- QAST::Op(mul_n)
- QAST::Var(lexicalref $dy) $dy
- QAST::Var(lexicalref $dy) $dy
- QAST::Stmts *
- QAST::Stmt
- QAST::Op(mul_n)
- QAST::Var(lexicalref $dz) $dz
- QAST::Var(lexicalref $dz) $dz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment