Thursday, March 7, 2019

[Discuss-gnuradio] GSoC project idea discussion

Hi,
As I'm working on block header parsing tool as my GSoC project, I would like to have an opinion on pygccxml, which is another C++ file parsing tool in python and is working quite well on parsing GNU Radio header files because of their brilliant, elegant yet simple and most importantly their generic structure. Also, pygccxml parser code itself is easy to visualize.
libclang in python does a pretty good job in parsing all the header files, but it parses all the include files, and also the standard C++ ones because of it's compiler level parsing, which is not required, at least in our particular case. Whereas in pygccxml, it only parses that particular file, and so the included non-standard C++ header files particular to GNU Radio can be parsed by recursively opening them, parsing them using the same tool till we reach all the standard C++ header files thus leaving out all the standard C++ ones.
So, I would definitely like to have an opinion on this.
Thank you

Best regards,
Arpit Gupta

No comments:

Post a Comment