One of the selling points for Groovy is writing Domain Specific Languages (DSL).
I have to admit that I am not fully convinced. There are many limitations to the syntax.
The basic idea is that Nouns in the DSL are implemented as Objects and Verbs in the DSL as Functions.
Someday I would like to read the following books on DSLs:
Martin Fowler, 2010
Debasish Ghosh, 2010
No comments:
Post a Comment