Infinite lexer and parser