Skip to content

Releases: tuqqu/go-parser

v0.5.0

08 Aug 00:02
Compare
Choose a tag to compare
  • Embedded struct fields moved to their own AST node
  • IfStmt keyword fields are renamed
  • Auto semicolon is inserted after raw strings
  • Bug fixes for embedded struct fields, field tags
  • Code improvements & more tests

Full Changelog: v0.4.4...v0.5.0

v0.4.0

29 Aug 12:34
Compare
Choose a tag to compare
  • New error messages, closer in text to the original go parser.
  • New error output rendering
  • --json option to print AST as JSON in bin command
  • SyntaxErrors instead of ParseErrors
  • Improved parameter parsing
  • Fixed bugs with variadic parameter parsing
  • Fixed bugs with lexing bitwise operators (LeftShift & RightShift)
  • Code refactoring & improvements

v0.3.0

03 Apr 20:52
Compare
Choose a tag to compare
  • Go 1.18 syntax support
    • generic functions
    • generic types
    • underlying types
    • type unions in interfaces
  • More tests
  • New ast nodes
  • Composite type accepts type
  • Cli command option validation

v0.1.0

05 Feb 12:25
Compare
Choose a tag to compare
ParseError + unit tests