I just checked, pycparser only supports C99 and some features of C11 and I don't think it has any support for C++ syntax.
The python bindings for Clang might be less developed, but Clang is clearly more developed than most of the alternatives. And as far as I've seen, the Clang AST supports these features and many others completely, just the bindings are lacking. So, I think it'll be better to stick to Clang for now. Let me see what can be done for the python bindings. Regards, Nikhil Maan On Friday, March 27, 2020 at 11:50:44 PM UTC+5:30, Gajjar Smit wrote: > > I have successfully parsed variable declaration in C using pycparser and > stored it inside sympy/parsing/c2/c_parser2.py. I am making a PR! Please > have a look. If you feel that it is good to do it for other > implementations, please suggest! > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f2d76947-7d3c-4437-b43a-4bbadb500bf0%40googlegroups.com.
