Stable, functioning parser. Now just need to clean up.