Presentation: "Internal DSLs in Groovy, Ruby, and Others"
Track:
DSL in Practice
Time: Friday 10:10 - 11:10
Location: City
Abstract: Domain-specific languages-custom languages designed for specific tasks or domains-appear everywhere in software development, from SQL to Excel. Internal DSLs let you reap the benefits of a custom-tailored language without leaving the comfort of your favorite syntax-no parser generation required. In this talk we'll explore techniques in various programming languages for building fluent, domain-friendly interfaces. Learn how Rails and Groovy use the strengths of their host languages to simplify the task of developing web applications, and get some ideas for making your code more domain-friendly, even if you're working in Java. Finally, learn how to use simple string substitution to give your language that extra edge.