Parse

High-level parsing.

Fixes #21.