Skip to content

Version 5.4.0

Compare
Choose a tag to compare
@teo-tsirpanis teo-tsirpanis released this 20 Mar 11:26
  • You can now add lexical groups in a grammar. They resemble GOLD Parser's feature, but always advance by character and do not not support nesting.
  • Add a couple of methods in runtime Farkles to easily check whether building it had succeeded.
  • Lexical errors are reported at the point they occur; not at the point of the first character read by the tokenizer.
  • Made the untyped builder API easier to access. See the deprecation notice for the new functions to use.
  • Minor breaking change: The CharStream.readChar value gets the character index by value, not by reference. Callers have to increment it accordingly to get further characters.
  • Minor breaking change: The type Farkle.Grammar.OptimizedOperations was moved to the Farkle.Parser namespace; it was there for historical reasons.
  • As you might have seen, breaking changes on public members that do not affect the average Farkle user will not warrant a major version increase.