Skip to content
0:00 / 0:00

#compilerdesign#max--#ast

The Horror of Building a Compiler From Scratch

chongly

2.1K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptionmaksimus-A/max--

Intermediate. Assumes working knowledge.

137K views6 months ago2 recommendations

Systems programmingProgramming languagesCompilers and interpretersC++C

An overview of building a compiler from scratch for a custom language called max-- using C and C++.

I invented a language called max--, and wrote a compiler for it from scratch in C/C++. It was honestly really fun! It taught me a lot about C/C++ fundamentals as well as the inner mechanisms of a compiler, which turned out to not be as mysterious as I thought, but quite involved. You can read more about my experience on my Github: github.com/maksimus-A/max--

Why it's here

2 people recommend this

What people say. Recommended as an entertaining and educational walkthrough of building a compiler from scratch.

u/AaZasDassin r/Compilers • Recommends

Building a compiler from scratch My friend recently build a compiler from scratch and I think this is pretty cool, some of the concepts are very fun to learn about.

u/fredoverflowin r/ProgrammingLanguages • Recommends

The Horror of Building a Compiler From Scratch \They\ invented a language called max--, and wrote a compiler for it from scratch in C/C++.