[hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] GCC internals and porting 一问

  • From: asm warrior <asmwarrior@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Wed, 26 Jan 2011 11:04:49 +0800

2011/1/26 Mingjie Xing <mingjie.xing@xxxxxxxxx>

> 2011/1/26 asm warrior <asmwarrior@xxxxxxxxx>:
> > Example: Tree (第14页)
> >
> > 我现在对gcc的前端分析器和AST比较感兴趣,看看能不能折腾相关的codecompletion等特性,呵呵。
>
> 找了半天,才恍然明白,原来是自己的pdf。。。
>
> 那个图是我手动写了个vcg文件,然后在vcgview里显示出来的。现在可以使用gcc-vcg-plugin来图形化显示tree结构,参见
> http://code.google.com/p/gcc-vcg-plugin



好牛逼啊!!

不知道这个工具能否作为正常的gcc plugin使用。。

另外,不知道windows下的gcc插件支持如何。。。。。

http://gcc.gnu.org/ml/gcc/2011-01/msg00313.html

看起来没有人关注windows下面的插件问题,呵呵。

另外,上面的帖子里面的一个链接,我觉得挺有意思,它打算把在front end第一遍parse translation
unit之后,把整个AST都扫描出来,呵呵。

asm

Other related posts:

  • » [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] Re: [hellogcc] GCC internals and porting 一问 - asm warrior