Add `compile` switch to `Parser`.

Closes #107.
Closes #103.