Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created July 20, 2009 00:56
Show Gist options
  • Save abuiles/150102 to your computer and use it in GitHub Desktop.
Save abuiles/150102 to your computer and use it in GitHub Desktop.
* OBJECT -> {SETSV} | {EMPTY}
* SETSV -> STRING:VALUE SETSV'
* SETSV' -> ,SETSV | EMPTY
* STRING -> "MANYCHARS"
* VALUE -> STRING | NUMBER | OBJECT | ARRAY | true | false | null
* ARRAY -> [SETV] | [E]
* SETV -> VALUE SETV'
* SETV' -> ,SETV | EMPTY
* MANYCHARS -> CHAR MANYCHARS | EMPTY
* NUMBER -> MANYDIGITS
* MANYDIGITS -> DIGIT MANYDIGITS | DIGIT
* DONDE
SETSV = SET STRING VALUE
SETV = SET VALUES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment