Hacker News new | ask | show | jobs
Power up your Domain Specific Language (slangify.org)
6 points by librasteve 36 days ago
2 comments

Raku grammars are cracked. Here's Jinja2: https://github.com/m-doughty/Template-Jinja2/blob/master/lib...
DSLs are a secret weapon for LLM effectiveness because their human-readable, domain-centric structure constrains both the training set and model outputs, making them significantly easier for LLMs to generate accurately.