pmatos / racket-news

Repository for the Racket News Website
https://racket-news.com
11 stars 2 forks source link

Blog post: My first domain-specific language with Racket by Guillaume Savaton #22

Closed spdegabrielle closed 3 years ago

spdegabrielle commented 3 years ago

My first domain-specific language with Racket by Guillaume Savaton http://guillaume.baierouge.fr/2020/11/08/my-first-domain-specific-language-with-racket/index.html

announced on Racket Users list https://groups.google.com/g/racket-users/c/9FTGtrU_KC0/m/-Xc7lppiCAAJ

Several months have passed since I started this thread. I have finally decided to write a blog series about this experiment. There are seven posts planned, the first four of which are already published: General introduction Step 1: execution of a hand-written Racket example Step 2: code generation using macros Step 3: name resolution In Step 3, you will find a reference to the paper "Macros for Domain-Specific Languages" by Michael Ballantyne, Alexis King and Matthias Felleisen. In fact, the paper answers several questions that were raised in this discussion thread. It also addresses a concern that I had not considered at all, which is the possibility to create macro-extensible DSLs. Though I used only a tiny part of their ideas, I'd like to thank Michael and Matthias for the friendly and enlightening conversation we had in May.