Hi!
We've extended Python3 grammar (from the ANTLR grammar repository) with some query language capabilities and
build a preprocessor with a runtime. All looks great, except the parsing time is very very slow (multiple seconds on small
programs). Don't really have a clue on how to optimise this: the grammar looks decent, I did put a bunch of lexical items
in the new rules, but when I moved them to lexer, the speedup was negligeble. I suppose the trouble is with the oriniginal
grammar or the way it was combined with the new one. But don't have any plan of attack to fix this.
Would appreciate any help!
Thanks and best regrards,
Pavel Velikhov