Complete rough draft of native parser.

Functionality is limited, and bugs are frequent.