Grammar fragments fly first-class

Marcos Viera, Doaitse Swierstra, Atze Dijkstra · 2012

We present a Embedded Domain Specific language in the form of a Haskell library (EDSL) for expressing grammar (fragments), using typed abstract syntax with observable references. Thus grammar fragments have become fully typed, first-class Haskell values.

Read the paper · More papers on PaperTik