Skip Navigation

Bril: An Intermediate Language for Teaching Compilers

www.cs.cornell.edu Bril: An Intermediate Language for Teaching Compilers

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 qui...

Bril: An Intermediate Language for Teaching Compilers
1
1 comments
  • I highly recommend "Essentials of Compilation" by Jeremy Siek, which explores the same nano-pass approach using both Python and Racket. His course is easily one of my favorites.