Skip to content
jsbwilkenPublic

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

🌈 Vibe-C (Vibe Compiler) 🌈

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? 🤙


🌟 Why Vibe-C?

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 gcc and wish there was a --force flag 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. 🤖💅

🚀 Innovative Features

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 for loop.
  • 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. 🥂

🛠️ How it Works

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. 🕊️


🏗️ Getting Started

  1. Clone the repo (if you're feeling the energy).
  2. Set up your .env with a VIBEC_API_KEY.
  3. Install dependencies: cargo build.

🛠️ Usage

Vibe-C provides two main commands: compile and run.

1. Compile Your Vibes

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 .vibe file containing your instructions.
  • Output: A .vibec file (e.g., examples/hello_world.vibec).

2. Run the Magic

Execute the generated bytecode using the Vibe-C runtime.

cargo run -- run examples/hello_world.vibec

Vibe-C: Because syntax is just a vibe we haven't caught yet. ✌️🌈


⚠️ CRITICAL WARNING ⚠️

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.

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages