Patterns to Review
: Nested Function
; Method Chaining
; Expression Builders
; Symbol Table
; Notification
- The Krikri Mapping DSL does have a
Semantic Model
it is just a data structure rather than aDoman Model
. - The mapping
Semantic Model
forms the basis for our notion of using a GUI front-end. We did this naturally because we were working in an OO language & thoughtful about separation of concerns. - We should look closely at
Expression Builders
as a pattern to be introduced in Krikri. - An internal DSL might be thought of as an added parsing layer, following the main language.
- jneen advocates introducing such layers liberally for external languages, too, in How to Tell When You've Written a Language.