Added initial mangled version of parser.

Everything compiles, doesn't do much else though yet.