got the parser and lexer in a good a shape as i could manage