Skip to content

vishaalram02/decafe

Repository files navigation

decafe ☕️

Overview 😀

Decafe is a compiler IR visualization tool that I designed for Computer Language Engineering (6.110). The tool allows you to dynamically visualize various compiler optimizations and execute the code within the browser.

The compiler works on a language called decaf which is a subset of C with some additional features. You can view the entire specification for when I took the class here.

Setup 💻

The backend server is deployed with Modal. You can follow the documentation to set up your environment and token. First create a .env.local file in the root directory with the server url from the modal app:

BACKEND_URL=

Finally, deploy the app and run the frontend locally:

# Install dependencies
yarn install

# Run development server
yarn dev

cd server

modal deploy server/app.py

About

vishy's decaf compiler playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published