Releases: james-pre/xcompile
Releases · james-pre/xcompile
0.3.0
- Changed snake case to camel case
- Cleaned up a ton of code
- Added attributes to BNF (e.g.
@ignore comment = ...;
) - Improved outputting issues
- Move bnf.bnf to
grammars
- Added
-
support in BNF identifiers - Added C23 grammar
- Added
config.compress
- Added BNF directives:
##include
,##groups
- Commas in BNF are now optional
- Add support for
example?
andexample*
in BNF files
0.2.0
- Fixed sub-expression types corrupting the parent expression type
- Renamed oneof to alternation
- Added
parse
statistics - Ignored literals are now removed before parsing
- Added C BNF for testing
- Added anti-loop caching
- Improvd error handling
- Added infinite loop and infinite depth detection
- Added support for multiple root node kinds
- Clarified bnf.bnf rule names
- Improved parser logging
- BNF grammar now ignores new lines
- Fixed BNF strings and comments
- Fixed parser crashing when ending on an ignored token