Skip to content

Instantly share code, notes, and snippets.

Created September 10, 2010 09:21
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 anonymous/573362 to your computer and use it in GitHub Desktop.
Save anonymous/573362 to your computer and use it in GitHub Desktop.
pmichaud@orange:/zip/parrot$ cat x.pir
.sub 'main' :main
$P0 = box 'hello'
$P1 = find_method $P0, 'trans'
$S1 = typeof $P1
say $S1
.end
pmichaud@orange:/zip/parrot$ RELEASE_2_6_0/parrot x.pir
NCI
pmichaud@orange:/zip/parrot$ trunk/parrot x.pir
NativePCCMethod
pmichaud@orange:/zip/parrot$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment