Adding BNF lexer grammer and converting internals to Lazy Text