~/talk

Designing Domain-Specific Languages: A Comparison of Three Approaches by Example

slides:none on file

Compares three concrete DSL approaches: standalone languages like untyped Plutus Core (UPLC) used as a low‑level compilation target where the CEK evaluator fits on a napkin and gives a tiny, provable VM; embedded DSLs in Haskell (Plutarch, Copilot) that save tooling effort but force users to write AST‑manipulating code and rebuild DSL libraries; and subsets via compiler plugins exemplified by Plutus Tx subset implemented with a GHC compiler plugin, which produces plain Haskell‑style code and avoids meta‑programming noise while working only when a suitable host subset exists.

AI-written summary · about

  1. 0:00Introduction to DSL design
  2. 2:19Standalone DSLs explained
  3. 8:48Example of standalone DSL: uplc
  4. 11:37Standalone DSLs for configuration
  5. 14:09Embedded DSLs introduction
  6. 17:40Example of embedded DSL: Plutarch
  7. 22:19Subsets of general purpose languages
  8. 25:10Compiler plugins for DSLs
  9. 29:33Example of subset DSL: Plutus TX
  10. 33:05Limitations of subset approach
  11. 35:12Q&A and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.