Primagen lexer/parser implementation across languages