Rudimentary parser