Tuqqu Go Parser Versions Save

Golang parser written in PHP

v0.5.0

9 months ago
  • 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: https://github.com/tuqqu/go-parser/compare/v0.4.4...v0.5.0

v0.4.0

1 year ago
  • 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

2 years ago
  • 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

2 years ago