6 Commits

Author SHA1 Message Date
258b3c8e9b Add comprehensive Zig syntax test coverage
- Add support for error sets and error union types
- Implement for loops with index and payload syntax
- Add defer, break, continue, and switch statements
- Support unary expressions and array indexing
- Add unreachable expression and test declarations
- Extend AST with new type expressions (array, error union)
- Update formatter to handle all new syntax elements
- Fix formatting for switch prongs, payloads, and blocks
2025-06-05 20:44:49 -05:00
50b38254ab Added 2 tests and asthelpers.go 2025-05-29 16:27:36 -05:00
44f3cfca5c Generate hello world Zig code 2025-05-24 16:38:46 -05:00
d002309e93 Refactored code generator, tracks indentation, no error checking 2025-05-24 15:46:45 -05:00
d94403d126 Nearly complete Zig AST 2025-05-24 15:17:04 -05:00
0bf8c3ef6b Starting Zig code generator with one test 2025-05-21 23:00:35 -05:00