Markus Maiwald
|
19577e99f8
|
feat(gql): add GQL to Zig code generator
Add codegen.zig that transpiles GQL AST to programmatic Zig code:
- MATCH statements → graph traversal code
- CREATE statements → addNode/addEdge calls
- DELETE statements → remove operations
- RETURN statements → result collection
- Expression generation (literals, comparisons, binary ops)
7/7 tests passing (codegen + lexer + parser)
|
2026-02-03 12:49:56 +01:00 |