Skip to content

Instantly share code, notes, and snippets.

@pmichaud
Created May 20, 2009 13:34
Show Gist options
  • Save pmichaud/114815 to your computer and use it in GitHub Desktop.
Save pmichaud/114815 to your computer and use it in GitHub Desktop.
$ cat x.pir
.HLL 'xyz'
.sub 'main'
$P0 = get_root_namespace ['parrot';'Integer']
$P0 = get_class $P0
$I0 = get_addr $P0
say $I0
$P0 = get_class ['Integer']
$I0 = get_addr $P0
say $I0
$P0 = get_class ['Integer']
$I0 = get_addr $P0
say $I0
.end
$ ./parrot x.pir
165111360
165110160
165109440
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment