Back to Projects
Compiler Design2025CLI Tools

Brainrot Programming Language

~/An esoteric programming language built from scratch in C, integrating internet meme culture into a fully functional programming syntax with custom lexer, parser, and interpreter.

Brainrot Programming Language
Brainrot Programming Language
01 /

Context & Problem

The Challenge

Learning compiler design theory can feel abstract and disconnected from practice. Traditional educational compilers are dry and uninspiring, making it hard for students to engage with the fundamentals of language implementation like lexing, parsing, and interpretation.

The Solution

Brainrot makes compiler design fun and accessible by wrapping core concepts in meme-inspired syntax. The fully functional language supports variables, arithmetic, conditionals, loops, and logical operations — all built from scratch in C with a custom lexer/parser pipeline. Packaged as an npm module for easy installation.

02 /

Architecture & Tech Stack

Tech Stack Used

Core
C Language C Language
Compiler
Custom Lexer Custom Parser Interpreter
Distribution
npm Package
03 /

Key Takeaways

Building a programming language from scratch gave me an intimate understanding of how compilers work — from tokenization to AST construction to interpretation. It proved that educational tools don't have to be boring to be effective, and that creative constraints can actually deepen technical learning.

04 /

People Behind the Project

M

Muhammad 'Azmi Salam

Project Manager & Compiler Engineer

S

Shakila Aulia Nurul Rohman

Parser & Interpreter Developer

R

Repa Pitriani

Parser & Interpreter Developer

R

Rifa Muhammad

Lexer & Documentation Developer

M

Muhammad Adwar Salman

Diagrammer & Documenter

Team Photo

Other Projects