Skip to content

Ask HN: Good books about DSL creation

3 pointsroeles2 comments
On HN

In the past year I learnt about the usefulness of (and sometimes need for) domain specific languages. I am wondering if you have recommendations for books about creating a DSL? I saw Martin Fowler's book online, but perhaps there are also other good ones?

I program mostly in C++, and I am interested in DSLs partly for formal verification.

Comments

Very good recent book "Building user friendly DSL's". I went through quickly it was comprehensive and worthwhile to dig deeper. It's in JavaScript.

https://www.manning.com/books/building-user-friendly-dsls

"Domain-Specific Languages" by Martin Fowler and Rebecca Parson might be interesting: https://martinfowler.com/books/dsl.html

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.