Created
June 16, 2009 00:46
-
-
Save seancribbs/130453 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
additive <- multitive "+" additive / multitive; | |
multitive <- primary "*" multitive / primary; | |
primary <- "(" additive ")" / decimal; | |
decimal <- [0-9]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[], | |
[{head,[[97,"dditive"], | |
" ","<-"," ", | |
[{head,[{head,[[],[109,"ultitive"]]}, | |
{tail,[[" ",[[],["\"",{string,[[[],43]]},"\""]]], | |
[" ",[[],[97,"dditive"]]]]}]}, | |
{tail,[[" ","/"," ",[109,"ultitive"]]]}], | |
[],";"]}, | |
{tail,[["\n", | |
[[109,"iveitive"], | |
" ","<-"," ", | |
[{head,[{head,[[],[112,"rimary"]]}, | |
{tail,[[" ",[[],["\"",{string,...},[...]]]], | |
[" ",[[],[109,[...]]]]]}]}, | |
{tail,[[" ","/"," ",[112,"rimary"]]]}], | |
[],";"]], | |
["\n", | |
[[112,"yimary"], | |
" ","<-"," ", | |
[{head,[{head,[[],["\"",{string,[[[]|...]]},"\""]]}, | |
{tail,[[" ",[[],[97,[...]]]],[" ",[[],[[...]|...]]]]}]}, | |
{tail,[[" ","/"," ",[100,"ecimal"]]]}], | |
[],";"]], | |
["\n", | |
[[100,"lcimal"], | |
" ","<-"," ", | |
["[", | |
{characters,[[[],[[],48]],[[],[[],45]],[[],[[],57]]]}, | |
"]"], | |
[],";"]]]}], | |
[]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment