Implement parser for proposed Targets DSL.

Fixes #97