META II: A compiler-compiler that generates its own code - GeekcampSG 2020

Published on: Sunday, 4 October 2020

Most of the time we treat compilers as black boxes but what really goes on under the hood? In this demo, I will demonstrate a DSL for writing compilers and a compiler-compiler that turns the DSL into a compiler. Amazingly, we can describe the compiler-compiler itself in only 26 lines of the DSL.

Melvin is an avid programmer who enjoys designing and implementing novel algorithms. At Solve Education!, Melvin develops learning platforms which provide effective education to underprivileged learners. His research interests are in the areas of combinatorial optimization, adversarial search, and machine teaching. He is also the maintainer of MagArena, an open-source single-player card game.

Slides at:

Visit for more information about GeekcampSG