关于libclang的任何教程吗? [英] Any tutorial on libclang?

查看:110
本文介绍了关于libclang的任何教程吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一些易于理解的libclang指南.我在这里或其他论坛上看到过一些话题,但是唯一推荐的信息来源是libclang source/doxygen doc,vim的clang完整插件或

I've been looking for some easy to understand guide into libclang. I've seen some threads either here or other forums but the only recommended sources of information were libclang source/doxygen doc, clang complete plugin for vim or Thinking Beyond the Compiler presentation. However, none of them provide information on practical usage. I'm interested in implementing code completion/syntax highlighting (maybe some basic refactoring/parsing).

所以我的问题是,除了上面提到的那些教程之外,还有没有其他易于理解的教程了?也许某些高级libclang用户可以编写一个:)

So my question is, is there any easy to understand tutorial except of those mentioned above ? Maybe some of advanced libclang users can write one :)

注意:我对编写clang插件不感兴趣.

Note : I'm not interested in writing plugins for clang.

推荐答案

我写了

I've written this tutorial on using the Python bindings to libclang, a while ago. Since the Python bindings are very lightweight, this tutorial can definitely be used to learn about the "vanilla" C libclang as well.

这篇关于关于libclang的任何教程吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆