Skip to content

Agampreet25/chef-code

Repository files navigation

👨‍🍳 The Chef's Code Compiler

Welcome to The Chef's Code, where programming is as easy and fun as cooking! 🍰
This project combines a custom C-based compiler with a cute, chef-themed web interface powered by Flask.

The project is also copyrighted under UPES IP Cell.


🧁 Features

  • 🍳 Chef-inspired syntax like whisk, garnish, serve, bake, prepare
  • 🎨 Cute and fun web UI with emojis, loading animations, and fun messages
  • 🔥 Live compilation and translation of custom Chef's Code into real C code
  • 🍽️ Multiple output styles: logic output, narration output, optimized code

🛠️ Tech Stack

  • C language (for compiler backend)
  • Flask (Python web framework)
  • HTML/CSS/JavaScript (frontend)
  • Jinja2 templating (with emoji magic 🪄)

🚀 Run Locally

  1. Clone this repo
  2. cd chef's code/
  3. python3 -m venv venv && source venv/bin/activate
  4. pip install -r requirements.txt
  5. Compile codegen.c:
    cd complier && gcc codegen.c -o codegen
  6. Run the app:
    python app.py
  7. Open browser → http://127.0.0.1:5000

🧠 Example Code

prepare a = 10;
prepare b = 5;
whisk(a, b, result);
garnish("Ready to serve!");
serve(result);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors