Skip to content

Instantly share code, notes, and snippets.

@parbo
Created April 13, 2014 06:47
Show Gist options
  • Save parbo/10572077 to your computer and use it in GitHub Desktop.
Save parbo/10572077 to your computer and use it in GitHub Desktop.
assert_eq!(parse(~[BeginFunction,
Integer(1),
BeginArray,
Integer(2),
Integer(3),
EndArray,
EndFunction]),
~[Function(~[Leaf(Integer(1)),
Array(~[Leaf(Integer(2)),
Leaf(Integer(3))])])])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment