Fix bug and add macro for DSL.

Fixed signs in reporting.
Added macro to parse DSL. Just generates data structure,
example usage in comment.