otaku46/Surv-IR — reverse-engineered prompt

Reverse engineered prompt

Build me a Rust command line tool called surc that works like a compiler and toolkit for a simple declarative architecture language called Surv IR, plus a small deployment language for pipelines. I want to be able to point it at TOML files and have it validate them, inspect a module, list dependencies, show symbol references, slice out the minimal IR for a module, trace how functions and modules connect, and print parsed output as JSON.

It should also export architecture views as Mermaid and interactive HTML, including module pipelines, schema relationships, project level module graphs, and deployment pipeline visuals. Please support both single file designs and larger projects with a manifest, and add a split command that can break one big IR file into a multi package layout.

Also add status tracking inside the IR so I can mark modules as todo, partial, done, and see coverage and notes. For deployment files, validate them and generate GitHub Actions or GitLab CI config. Use the examples and docs in the repo as the source of truth, and look up current docs online if you need to.

Want more depth? Deep Reverse