3 ms·
OOP is based, partly, around the idea of 'mini algebras' (roughly speaking, public interfaces), which are domain-specific languages ( http://xahlee.info/comp/Al
by chriswarbo 8y ago
OOP is based, partly, around the idea of 'mini algebras' (roughly speaking, public interfaces), which are domain-specific languages ( http://xahlee.info/comp/Alan_Kay_on_object_oriented_programing.html http://xahlee.info/comp/Alan_Kay_on_object_oriented_programi... )
Functional programming, especially Haskell, tends to use the term 'embedded domain-specific language' ( http://wiki.c2.com/?EmbeddedDomainSpecificLanguage http://wiki.c2.com/?EmbeddedDomainSpecificLanguage )
Lisps tend to call them DSLs or sometimes "mini languages"
Forth calls them "vocabularies"
- draegtun 8y agoI thought Lisps called them "dialects" (same as in Rebol / Red). Couple of other terms i've seen... * Pidgin - An attempt to get away from DSL ambiguity! * Slang - This is what Perl6 calls them
- chriswarbo 8y ago> I thought Lisps called them "dialects" (Lisp) "dialect" seems to refer to a particular implementation/variant of Lisp, e.g. CommonLisp, Scheme, Racket, Clojure, MacLisp, NewLisp, etc. rather than a domain-specific language built in a Lisp. (e.g. searching for "lisp dialect" gives pages like https://www.slant.co/topics/5928/~lisp-dialects https://www.slant.co/topics/5928/~lisp-dialects )