Skip to content

Instantly share code, notes, and snippets.

@moritz
Created September 15, 2012 15:44
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 moritz/3728515 to your computer and use it in GitHub Desktop.
Save moritz/3728515 to your computer and use it in GitHub Desktop.
NQP codegen for my int $x := 3; $x++; say($x)
set $I101, 3
box $P5007, $I101
set tmp_1, $P5007
set $N5002, tmp_1
set $N5003, 1
add $N5001, $N5002, $N5003
set $I5003, $N5001
set $I101, $I5003
$P5007 = "&say"($I101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment