Provide accessor for DAG variables.
Start implementing a Ninja backend.

It doesn't do much yet (just print variables), but it's a complete chain from front- to back-end!