is there any open source parser implementation for c++ functions with parsec?
can’t find any, dont want to use libClang, becuase installation failes
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No.
Why? C++ is very, very difficult to parse. So while there are pure Haskell parsers for C (e.g Language.C) there is no C++ parser implemented yet, other than the libclang binding which you are already aware of.
References: