Releases: tuqqu/go-parser
Releases · tuqqu/go-parser
v0.5.0
- 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
- 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
- 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