8.18
Rhombus Metaprogramming Tutorial
This tutorial is about syntax and macros in Rhombus. It’s intended for readers who are familiar with environment-passing interpreters, but only because interpreters serve as a stand-in for useful applications, and interpreters are not the kind of metaprogramming that the tutorial is about. The tutorial doesn’t assume that you’ve used Rhombus before, but it also doesn’t dwell much on the everyday-programming part of the language. Instead, the tutorial aims to introduce the nuts and bolts of Rhombus’s approach to parsing, syntactic extension, and language creation.