Zig 0.16.0 support#8
Merged
Merged
Conversation
- Updates grammar.y with Zig 0.16.0 PEG grammar from official docs - Adds grammar.0.16.y as reference copy - Updates everything_test.exs to use zig-0.16.0 test fixtures - Fixes IDENTIFIER_COLON typo to IDENTIFIER COLON in ParamDecl Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Restructures Statement module to handle BlockStatement, ExprStatement, and Statement rules separately via tag-based dispatch - Renames VarDeclExprStatement to VarAssignStatement - Adds multi-value destructuring support in AssignExpr - Adds varargs (...) handling in function parameter parsing - Adds labeled switch support in PrimaryTypeExpr - Removes invalid test for many-pointer with detailed alignment (BitAlign only valid for single pointers in 0.16.0) - Fixes multiline string parsing to strip backslash prefix and trailing whitespace Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tests the new Zig 0.16.0 feature allowing struct literals as switch prong items for packed struct/union destructuring. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The grammar renamed mb_utf8_literal to multibyte_utf8 and handles UTF-8 byte sequences directly through byte ranges, making the custom :utf8 parsec and char_to_string function unnecessary. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.