groovy for domain-specific languages
TRANSCRIPT
Groovy for Domain-
Specific Languages
Yaroslav Yermilov
Senior Software Engineer, EPAM Systems
About DSL
A domain-specific language (DSL)
is a computer language specialized
to a particular application domain.
This is in contrast to a general-
purpose language (GPL), which is
broadly applicable across domains,
and lacks specialized features for a
particular domain.
Why DSL?
● The Open Closed Principle
● Help yourself
● Involve stakeholder
About Groovy
Why Groovy?
● JVM
● removing boilerplate
● closures
● operator overloading
● metaprogramming
● AST-transformations
● much more
https://github.com/yermilov/groovy-dsl
Further reading