Skip to content

Remove %err alias and demote advanced parser controls#66

Merged
ehwan merged 1 commit into
breaking_changefrom
cleanup2
Jun 19, 2026
Merged

Remove %err alias and demote advanced parser controls#66
ehwan merged 1 commit into
breaking_changefrom
cleanup2

Conversation

@ehwan

@ehwan ehwan commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove %err as an alias for %error in the grammar lexer
  • Update examples to use %error
  • Move box, custom token ranges, and dynamic %prec documentation into the advanced parser controls section
  • Simplify README generated-code guidance by keeping internal generated types out of the main flow
  • Move context inspection helpers and detailed CLI diagnostic options into debugging/advanced sections

@ehwan ehwan self-assigned this Jun 19, 2026
@ehwan
ehwan merged commit d9a5602 into breaking_change Jun 19, 2026
@ehwan
ehwan deleted the cleanup2 branch June 19, 2026 14:51

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request standardizes the error type directive by replacing %err and %errortype with %error across the parser implementation, examples, and documentation. It also reorganizes the documentation in README.md and SYNTAX.md to group advanced features—such as memory optimization with box, custom token ranges, and dynamic precedence—into dedicated sections, and updates the CLI usage guide in rusty_lr_executable/README.md. Feedback is provided to update the supported variables section in SYNTAX.md to remove references to %errortype for consistency.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread SYNTAX.md
- `%location`
- `%userdata`
- `%errortype` (or `%error`)
- `%error`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since %errortype is no longer supported as a directive (and has been replaced by %error), please also update the description of $error or $errortype in the Supported Variables section below (around line 509) to remove the reference to %errortype for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant