The occasional geminer - an artisanal, handcrafted gemlog

=> ↑ latest entries

Elisp as DSL

(I’ve deleted my previous reply because I wrote it just before going to bed, having drunk a beer - not a good lobste.rs moment).

Having thought about this some more, I’m going to go beyond personal preference and experience and say that Emacs Lisp is a Domain Specific Language - it’s a language specific to the domain of Emacs editor programming.

And [Wikipedia agrees with me]!

=> https://en.wikipedia.org/wiki/Domain-specific_language#Other_examples

From that article:

The line between general-purpose languages and domain-specific languages is not always sharp, as a language may have specialized features for a particular domain but be applicable more broadly, or conversely may in principle be capable of broad application but in practice used primarily for a specific domain.

This fits elisp to a T.

I wouldn’t say Haskell is a DSL just because it happens to be used as a configuration language for a specific application. If in 20 years the only place where Haskell is still used is in xmonad, then it would be a DSL.

────────────────────────────────────────────

=> ✽ Friday, 2019-02-22 | → more posts in the ‹lobsters-drafts› category

About this category: “Sometimes I post to lobste.rs, sometimes I write angry rants that end up here but not there”

Copyright © 2018 - 2022 Gustaf Erikson

=> Main page for this gemsite

[This Page Viewed Best In Any Gemini Client]

Proxy Information
Original URL
gemini://gerikson.com/gemlog/lobsters-drafts/Elisp-as-DSL.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
163.71723 milliseconds
Gemini-to-HTML Time
0.852871 milliseconds

This content has been proxied by September (ba2dc).