DSLs in Groovy: Say What You Mean, Mean What You Say

The history of computer programming has been bridging the gap between what the user says (“We need to add sales tax to each item in the order”) and what the programming language requires you to say (“for Iterator i = orderList.iterator();”). Building Domain Specific Languages (DSLs) allow you to express the solution in the language of the domain user instead of the language of the programmer. DSLs can be written in any programming language, but the more flexible the programming language used, the closer to plain English the DSL can be. Groovy is a dynamic language for the Java platform that is ideally suited for creating DSLs. Come see how Groovy can leverage the power of Java in a way that your users might actually be able to read and understand.

Video Producer: JavaZone Conference