a fresh attempt at a parser, now reading magic-ese