Skip to content

Instantly share code, notes, and snippets.

@mlschroe
Created November 10, 2011 17:49
Show Gist options
  • Save mlschroe/1355560 to your computer and use it in GitHub Desktop.
Save mlschroe/1355560 to your computer and use it in GitHub Desktop.
.sub "main" :main
.const "Sub" $P0 = "bar"
$P0 = clone $P0
$P0()
.end
.sub "bar" :main
.lex "a", $S0
$S0 = "hello"
"foo"()
.end
.sub "foo" :outer("bar")
$S0 = find_lex "a"
say $S0
.end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment