Initial version of parser generator