Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何带有解析器的 C++ 函数的开源解析器实现?
找不到,不想使用 libClang,因为安装失败
不。
为什么?C++ 非常非常难以解析。因此,虽然有用于 C 的纯 Haskell 解析器(例如Language.C),但除了您已经知道的 libclang 绑定之外,还没有实现 C++ 解析器。
参考资料: