First-draft preprocessor implemented.

It's crude and admittedly incomplete, but a working preprocessor beckons forth.