Skip to content

v0.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Sep 12:03
· 1 commit to main since this release

Bug Fixes

  • Fixed a variable-name collision in generated dump() methods: a rule variable named the same as an internal parameter (e.g. p) could produce broken generated code

Improvements

  • Documented the generated file's structure (AST, walkers, parser, lexer, interface class, optional main())
  • Documented go's automatic top-down traversal, skip(), and manual traversal mode
  • Documented that %function return types can be any C++ type, not just primitives
  • Documented that rule variable names must not collide with go, skip, %members, or %function names

Installation

  • Windows: extract ycc-v0.5.1-windows-x86_64.zip, copy ycc.exe to anywhere on the PATH
  • macOS: extract ycc-v0.5.1-macos-arm64.tar.gz, copy ycc to anywhere on the PATH
  • Linux: extract ycc-v0.5.1-linux-x86_64.tar.gz, copy ycc to anywhere on the PATH