The Rhombus Programming Language
summary
Rhombus v1.0 is a Racket-based language that keeps Racket’s macro power but replaces s‑expressions with shrubbery notation, adds multiple binding spaces (expressions, bindings, regex, C types) and a framework for lightweight static info via double‑colon annotations. Its parser uses a Pratt‑style inforestation tightly integrated with macro expansion so operator precedences are declared by macros. The Cairo FFI example shows foreign‑type space, pack/unpack representations, and user‑defined coercions; macros generate the C bindings and the runtime checks that improve performance.
AI-written summary · about
chapters (9)
- 0:00Rhombus introduction
- 1:47Domain specific languages today
- 7:27DSL features and design
- 16:58Foreign function interface
- 25:04Macro systems comparison
- 31:00Shrubbery notation and inforestation
- 40:33Static info and type-like annotations
- 48:19Subspaces and DSL implementation
- 50:09Q&A on types and teaching
related talks
19mRhombus: A New Spin on Macros without All the Parentheses
56mRhombus: The Non-shrubbery Parts (Keynote)
01h 03mModern Macros
45mLanguage-Oriented Programming with Racket
17mMacros for Domain-Specific Languages
23mMacro-embedding Compiler Intermediate Languages in Racket
48mRapid Programming Language Prototypes with Ruby RACC
40mLet's Build a Hygienic Macro Expander
