if you’re just starting out, you’ll be advised to develop in Jython instead of the old DSL rules.
If you must stick with DSL, this will be a useful read -