Bril: An Intermediate Language for Teaching Compilers

Open link in next tab

Bril: An Intermediate Language for Teaching Compilers

https://www.cs.cornell.edu/~asampson/blog/bril.html

I created a new intermediate language, called Bril, for teaching my funky open-source, hands-on compilers course. Because it’s for education, Bril prioritizes simplicity and regularity over more typical compiler priorities like performance and concision. This is an overview of Bril’s design, its quirks, and the ecosystem that has grown up around it since 2019.

Bril: An Intermediate Language for Teaching Compilers