A Raku API to Raku programs the journey so far
summary
A new programmatic Raku form is underway: a Raku AST implementation with roughly 300 AST node types and a rewritten compiler front end that currently passes 333 spec tests. The actions code shrinks from ~11,500 to ~2,300 lines, lets code be EVALed from a tree (no string assembly), enables macros/slangs and custom compiler passes, and already hosts a small proof‑of‑concept pass — importable as spellcheck names — that flags misspelled routine and package identifiers at compile time.
AI-written summary · about
chapters (10)
- 0:00Introduction to Raku AST
- 2:45The problem with current ASTs
- 6:15Designing the new Raku AST
- 11:21Progress and challenges
- 14:31Implementation details
- 17:46Future language features
- 21:58Custom compiler passes
- 26:30Practical case study
- 36:21Compiler plugin example
- 42:13Q&A and closing
related talks
48mRapid Programming Language Prototypes with Ruby RACC
31mThe AST Galaxy to the Virtual Machine Blues
27mASTro: An AST-based Reusable Optimization Framework
25mReinventing Rollup
44mJavaScript AST programming: Introduction and beyond
45mLanguage-Oriented Programming with Racket
19mReusing Just-in-Time Compiled Code
38mDemystifying compilers by writing your own
