Click here to Skip to main content
15,904,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all.
i have big problem and hope that someone can help me. i'm doing my bachelor now and i should read all function declarations from source files of Visual Studio C++/CLI working project. My program should be made in VS too(C# or C++/CLI)... The best option would be if i could get the whole AST from source. i've read a lot of articles and as i understood i should use a parser like "ANTLR", "COCO/R" etc. So what i'm looking for, is an example which explains how can i get AST or at least a list of function declarations in VS using "ANTLR" or smth else. I've also found that it may be possible to parse C++ source with CppCodeProvider, but found no information how i can use it.
Waiting for your replies.
P.S. Sorry for my bad English.
Posted

1 solution

Google found this information[^] for ANTLR, so I guess you can find the other ones and decide which best suits your needs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900