Created
August 28, 2014 11:12
-
-
Save m1el/f1bd31005b09cc80728a 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
input: SExpression { | |
std::cout << "Result: "; | |
}; | |
Part: Symbol | String | Integer { | |
std::cout << "Part\n"; | |
} | |
CallArgs: | CallArgs CallArg; | |
CallArg: LBRK ArgList RBRK | LBRK RBRK; | |
ArgList: SExpression | ArgList Comma SExpression; | |
SExpression: Part CallArgs { | |
std::cout << "SExpression\n"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment