Skip to content

v0.4.0

Compare
Choose a tag to compare
@nihei9 nihei9 released this 02 Apr 17:06
· 54 commits to main since this release
  • ed2c201 - Change semantic action APIs. A parser reports whether it recovered from an error to the semantic action APIs via the argument recovered.
  • 72da4b0 - Add SemanticActionSet.TrapAndShiftError method instead of TrapError and ShiftError methods.
  • 0cf26ed - Call SemanticActionSet.MissError method when an input doesn't meet an error production.
  • a57fda7 - Pass a token that caused a syntax error to the semantic action APIs.
  • 1dd7fef - Generate the lexer source code.
  • 83bc2b1, ba524fa, d3867e0, d0431e3 - Add vartan-go command.
  • 5212b7f, bb9bf49 - Use golangci-lint.
  • 1746609, ed43562, 4d2a389 - Use IDs and labels as parameters of an #ast directive instead of symbol positions.
  • dbd2e20 - Change syntax of production directives. The position of directives given to productions has moved from before a left-hand side value to after a left-hand side value.
    This change aims to simplify the syntax.
  • 90f28b5 - Move all directives given to lexical productions from alternative directives to production directives.
    This change aims to ensure consistency with respect to the syntax of definitions of terminal symbols and non-terminal symbols.
  • a1e4ae7 - Allow an alternative to have multiple directives.
  • 1d0a67b, b565c7d - Update dependency.
  • 5c26f61 - Print a parse tree in vartan parse command even if syntax errors occur.
    When there is a parse tree, print it.
  • 0636432 - Remove --grammar option from vartan compile command.
  • 8a6cfba, 8fda704, 180cac3 - Update documents.
  • 14b2d7e - Allow arbitrary user-defined types for nodes in a syntax tree.