Welcome to the future of "it works on my machine because the vibes are right." 🚀✨
Vibe-C is the revolutionary compiler that bridges the gap between your abstract thoughts and actual execution, without that annoying "syntax" getting in the way. Why spend hours debugging a semicolon when you can just... vibe? 🤙
Are you tired of compilers telling you how to live your life? We've got you covered! Vibe-C is the ultimate solution for:
- The "Force" Multiplier: For devs who look at
gccand wish there was a--forceflag that actually ignored the errors instead of just shouting louder. 🦾 - The Mind Reader: For devs who wish the compiler would just get what they mean instead of complaining about "undefined variables." If I wrote it, I obviously meant for it to exist! 🧠✨
- Syntax as a Suggestion: For devs who believe that braces
{}and parentheses()are just aesthetic choices and shouldn't be mandatory for "logic." 🎨 - The "Vibe-Check" Debugger: For devs who wish that instead of a stack trace, the compiler would just say "The vibes are a bit off in
main.rs, maybe try some more caffeine?" ☕️📉 - LLM-Powered Laziness: For devs who want more control than pure vibe coding, but still want an AI to do the heavy lifting of turning "Make a calculator" into actual instructions. 🤖💅
Vibe-C frees you from the strict harness of traditional programming. It's not about what the code is, it's about what the code feels like.
- Natural Logic Flow: Describe your program in English, pseudo-code, or even a series of enthusiastic emojis. Our LLM-powered backend (Gemini/OpenAI) interprets your intent.
- Human-Centric Compilation: Finally, a way to tell your computer to "just loop through that list and print the cool ones" without writing a single
forloop. - Infinite Flexibility: If the compiler doesn't understand your instruction, it'll try its best to guess. It's like a pairing partner who is always slightly tipsy but very supportive. 🥂
Vibe-C takes your "vibe-code" and compiles it into our proprietary Vibe-Bytecode. This bytecode is then executed by our (future) high-performance VM.
// Example of high-level vibe-coding:
Ask the user for their name and then greet them with a very friendly message!
If the name is "Bob", tell him he's the best.
The compiler looks at this, checks the vibes, and generates a JSON-based instruction set that captures the soul of your request. 🕊️
- Clone the repo (if you're feeling the energy).
- Set up your
.envwith aVIBEC_API_KEY. - Install dependencies:
cargo build.
Vibe-C provides two main commands: compile and run.
Convert your high-level intent into bytecode. The compiler automatically creates a .vibec file in the same directory as your input.
cargo run -- compile examples/hello_world.vibe- Input: A
.vibefile containing your instructions. - Output: A
.vibecfile (e.g.,examples/hello_world.vibec).
Execute the generated bytecode using the Vibe-C runtime.
cargo run -- run examples/hello_world.vibecVibe-C: Because syntax is just a vibe we haven't caught yet. ✌️🌈
DO NOT, UNDER ANY CIRCUMSTANCES, USE VIBE-C IN PRODUCTION. 🚫🔥
Seriously. This is a joke project. If you try to run a bank or a life-support system on Vibe-C, the "vibes" will almost certainly lead to a catastrophic failure. This project is a parody of the current "AI will replace all coders" hype and the general desire for a compiler that just "does what I want."
Usage of Vibe-C may cause:
- Unexpected happiness followed by deep technical debt.
- Spiritual exhaustion of your CPU.
- Confusion from your senior developers.
- A sudden urge to delete your
node_modules.