Hi all, I'm currently using:
from Cython.Compiler.TreeFragment import parse_from_strings mod = parse_from_strings(name, source) to obtain the AST and it seems to be working well for me (I later convert that AST to my own AST), but I'm currently using this for an IDE, so, I'd like to be able to obtain the AST even if there are errors in the source code. So, I was thinking about making a pull request which would allow Cython to provide the AST and recover from errors (it'd return the AST and a list of errors instead of raising the first error in this API). So, I'd like to now from cython devs, before providing a pull request for that if such a pull request would be Ok or if you see some issue in this change. Thanks, Fabio
_______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel