Utilities to write a simple DSL in Java