Run Codegen

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.

lalitmaganti b998ca0 730 B Updated

File contents

run-codegen

Regenerate all generated code from .synq definitions and SQLite grammar.

Instructions

  1. Run codegen:

    tools/run-codegen
    

    This regenerates:

    • C headers in syntaqlite-sys/csrc/
    • Rust node types, token types, and fmt bytecode in syntaqlite/src/generated/
  2. Verify the result:

    cargo check && cargo clippy
    

    Both must pass with zero warnings.

  3. Report results to the user, including any errors or warnings.

lalitmaganti/syntaqlite/tree/main/.agents/skills/run-codegen commit b998ca0f94

Frequently asked questions

npx skillmds@latest add lalitmaganti/run-codegen