pymbolic
pymbolic copied to clipboard
Use a better parser
Maybe antlr?
Here's an old discussion: https://gitlab.tiker.net/inducer/loopy/-/issues/191. I'd be happy to hear your thoughts on it. I'm not immensely fond of the idea of using antlr because of the Java dependency.
Java is a build time dependency, runtime is pure python.
Lark sounds good though.