Commit Graph

9 Commits (f36f33efde85a47ccbf1a424ef2e856a030b2cfc)

Author SHA1 Message Date
Jack Firth f36f33efde Support quantified repetition 2 years ago
Jack Firth e5d7cab7cb Rework the grammar APIs
- Make symbol kind mismatches trigger contract errors in more places.
- Add a notion of "flat" grammars and "normal" grammars, where normal grammars can have recursive expressions for their substitution instead of just a list of symbols.
2 years ago
Jack Firth 60a142f90c Move symbols into their own module too 2 years ago
Jack Firth b2611aee1b Move semantic actions into their own module 2 years ago
Jack Firth ac5370f26a Fix an argument name 2 years ago
Jack Firth 2e53bca272 Unify syntax/datum labels as semantic actions 2 years ago
Jack Firth 31174e67f4 Add support for cuts and splices 2 years ago
Jack Firth 2300abf00c Clarify that grammars are context-free 2 years ago
Jack Firth c65391f703 Add a parser API 2 years ago