catch exception on syntax error in definitions
Merge pull request #21 from josqu4red/dsl

catch exception on syntax error in definitions