Skip to content

Instantly share code, notes, and snippets.

@PollRobots
Created February 1, 2013 06:36
type Expression =
| Terminal of string
| TerminalOneOf of string
| TerminalUnicode of UnicodeCategory
| TerminalWildcard
| NonTerminal of string
| Epsilon
| Sequence of Expression list
| Choice of Expression list
| ZeroOrMore of Expression
| OneOrMore of Expression
| Optional of Expression
| And of Expression
| Not of Expression
| Rule of string * Expression * string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment