Yes, as you said, it only supports C99 and C11(partially). It doesn't support C++ as well. Suggest whatever is necessary.
Also, do review the proposal <https://docs.google.com/document/d/1HFWvBV-NjQVd2Tvv4-_tlNrGG52WWxJUlUlByLxfOog/edit?usp=sharing> whenever time permits(I have kept Clang in that as of now), since deadline is approaching. On Saturday, 28 March 2020 00:27:33 UTC+5:30, Nikhil Maan wrote: > > 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/292c30cf-8e97-4829-848a-2e868d9023dc%40googlegroups.com.
