Rewrite of physical->logical lexer to generator with no set\!