use dsl types in parser