Version 7.0.0-preview.1
Pre-release
Pre-release
·
93 commits
to mainstream
since this release
Immutable
release. Only release title and notes can be modified.
- Farkle was rewritten in C#, and features performance improvements across the board, as well as an improved and extensible architecture.
- There are several breaking changes; please consult the migration guide for more details.
- The precompiler is not yet supported; it will be ported in a subsequent preview version.
- The parser became faster and allocation-free (allocations happen only in semantic analysis, fka post-processing), and supports parsing text from
ReadOnlySpan<char>, as well as parsing streaming input asynchronously. - The grammar format was redesigned to be extensible and have a significantly reduced reading overhead. Building grammars is also significantly faster as well. Take a look at the benchmarks for more information.
- Reading GOLD Parser grammars is still supported, and works by converting them to the new format.
- Also added support for reading CGT grammars, used in early GOLD Parser versions.
- Terminals can now be defined as hidden, which means that they will not appear in the expected symbol list of syntax error messages.
- Terminals can now be defined as noisy, which means that they will be ignored if they appear in an unexpected position.