Add initial parsing functions for simple grammar.

They are buggy for now. I have a TODO item in parse2.lua to fix that!