Skip to content

Instantly share code, notes, and snippets.

@Vaguery
Created January 24, 2010 15:44
Show Gist options
  • Save Vaguery/285262 to your computer and use it in GitHub Desktop.
Save Vaguery/285262 to your computer and use it in GitHub Desktop.
block {
literal «1»
literal «2»
block {
sample «3»
sample «4»
}
}
# local values:
«1» float: 9.128
«2» code: block {literal code «5» block {sample bool «6»}}
«3» image: file:///881727183.jpg
«4» int: 881
«5» code: block { do int_add do int_multiply }
«6» bool: false
# local values can include references to other local values, but can never backtrack
# syntax check: are all local values assigned?
# syntax check: are all local values strings?
# semantic check: are there no backward-references?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment