fishing-ainpm/cdomer ? reverse-engineered prompt

Reverse engineered prompt

Build me a small programming language project called CDOMER, where I can write code in a C like syntax with static typing and type inference, then compile it into native binaries through generated C11 code and gcc or clang.

I want the tool to support a simple command line flow like build, run, and emit c, so I can compile a .cdo file, run it right away, or just inspect the C that gets produced. The language should handle basic variables, functions, if, else, while, for, arrays, structs, booleans, strings, numbers, break, continue, and print. It should also report helpful errors with line and column numbers when the code has a syntax or type problem.

Please make it feel usable with a few example programs and a way to run them from the repo. If you need current compiler details or Rust library info, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab