r/functionalprogramming • u/kichiDsimp • Jun 15 '25
Question DSL tutorial and why?
I have heard that FP languages generally make life easier when you want to make a DSL (external/embedded) I guess thats due to patter-matching & ADT(s)
Some good resources, blogs will be helpful
PS: I am currently studying https://keleshev.com/compiling-to-assembly-from-scratch/
9
Upvotes
View all comments
Show parent comment
2
u/KyleG Jun 17 '25
I'm not sure this is a feature of FP so much as a feature of some FP languages. Unison also has this, but only for symbolic operators.
You can't
but you can
or