duplicate RingP (Pair a) instance removed
first shot at incremental alex3 generation of lexer