nifemibosun/gyro-lang ? reverse-engineered prompt
Reverse engineered prompt
Build me a small compiler for a new language called Gyro in Rust.
I want it to read .gyro files, understand simple programs, check them for basic mistakes, then turn them into native executables. It should use LLVM for code generation and clang to link the final binary. Please include a tiny standard library and a simple example program that prints Hello, World.
I’d like a basic command line interface with commands like compile and run, so I can do something like compile an example file or run it directly. Keep the language simple and clear, but make sure the project structure is clean and the compiler actually works end to end. If you need to check current LLVM or Inkwell setup details online, feel free to look them up first.