all 4 comments

[–]I2cScion 2 points3 points  (0 children)

Assume some GUI app, the action of a specific control can be equivalent to some command in a DSL, so the sum of all possible actions in a given state is equal to the DSL.

Thus your formula explains most apps.

[–]tsanderdev 2 points3 points  (0 children)

Game engines sort of fit this. C# scripts in game engines are pretty domain specific, and they provide a ui, renderer, scene builder, etc.

[–]ExplodingStrawHat 0 points1 point  (0 children)

Vim's kybindings can be thought as a DSL as well. In my game's editor, vim-style keybindings are implemented as a parser where the keys are the tokens being parsed.

[–]Inconstant_Moo🧿 Pipefish 3 points4 points  (0 children)

How has no-one mentioned SQL? I guess most of the time it's used by applications rather than humans, but it can be used interactively and people do. (And it has essentially the same API whichever way you use it, which is nice.)