parser: initial code.