name: run-codegen description: Regenerate all generated code from .synq definitions and SQLite grammar. Use when .synq files, grammar actions, or dialect definitions have been modified and generated C/Rust code needs updating. user_invocable: true
run-codegen
Regenerate all generated code from .synq definitions and SQLite grammar.
Instructions
Run codegen:
tools/run-codegenThis regenerates:
- C headers in
syntaqlite-sys/csrc/ - Rust node types, token types, and fmt bytecode in
syntaqlite/src/generated/
- C headers in
Verify the result:
cargo check && cargo clippyBoth must pass with zero warnings.
Report results to the user, including any errors or warnings.