Skip to content

Instantly share code, notes, and snippets.

@atg
Created December 26, 2009 20:18
Show Gist options
  • Save atg/264032 to your computer and use it in GitHub Desktop.
Save atg/264032 to your computer and use it in GitHub Desktop.
foo
lookup
# All lookups after foo are put into @
# so 'foo bar baz' would give you @ = (bar baz)
out = @0
# The default implementation does a reduce() with dereferencing, something like this
@.prepend(this)
reduce(@0)
@2(@0[@1])
out(@0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment