Minor lex improvements. Get pipe working again.
Move parsing functions from lex to parse.
WIP parse operator