Luke Wilson d5f346cf8b Add comprehensive test suite for Zig AST
- Add TestAllExpressionTypes covering all expression nodes
- Add TestAllStatementTypes covering all statement nodes
- Add TestAllTypeExpressions covering all type expressions
- Add TestControlFlowPatterns demonstrating complex control flow
- Fix formatter for field initializers, type spacing, and labels
- Fix handling of orelse blocks, switch payloads, and errdefer
- Remove duplicate test functions from previous edits
- Tests serve as documentation/examples for AST construction
2025-06-05 22:00:41 -05:00
..
2025-06-05 21:10:50 -05:00
2025-05-24 15:17:04 -05:00
2025-05-24 15:17:04 -05:00

A Zig code generator based on the Zig language specification PEG grammar. The grammar is included in the source so that it can easily be diffed for changes in the future.