Created
June 18, 2014 13:07
-
-
Save nulldatamap/08037c7a9f7c8dfbf06e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /* | |
| Syntax (whitespace is ignored): | |
| expr := '(' name (expr|val)* ')' | |
| val := symbol|int|bool|string|list|name | |
| symbol := ':' name | |
| int := 0..9+ | |
| bool := 'true'|'false' | |
| string := '"' (escape|char)* '"' | |
| escape := '\\'|'\n'|'\t'|'\"' | |
| char := -('\n'|'\r'|'"') | |
| list := '[' atom* ']' | |
| name := (a..z|A..Z|_)+(a..z|A..Z|0..9|_)* | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment