Syntax Templates
summary
Adds three concrete extensions to Racket’s template language: template splicing (tilde-at) for producing non‑parenthesized sequences under ellipses, a try‑catch style conditional for skipping absent optional pieces, and template metafunctions for compile‑time code generation. Demonstrates building alternating key/value hash constructors, compile‑time keyword→identifier conversion, a with‑lock macro that omits an optional failure argument, and utilities like begin0 and fold; reports a working implementation with minor syntax‑object optimizations and sketches for fresh temporaries and better unsyntax/ellipsis handling.
AI-written summary · about
