Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
DSL
Last updated at 6:35 pm UTC on 23 July 2022
Domain specific language

https://en.wikipedia.org/wiki/Domain-specific_language
A domain-specific language (DSL) is a computer language specialized to a particular application domain.

....

Simpler DSLs, particularly ones used by a single application, are sometimes informally called mini-languages.

Smalltalk as a DSL


Regular Smalltalk expressions make a good DSL if class / object and method names are carefully chosen.


Smalltalk as an executable modeling language


https://www.slideshare.net/choose/2010-dslchooseducasse

Internal DSL.

Focus on your domain. Define domain elements objects as first class objects.

Exploratory modeling
Slide 12:
One domain expert. One programmer.
Pair programming with the domain expert.
Use the domain expert vocabulary.

For an internal DSL example see Musical objects for Squeak.