This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
parse tree
- From: dib dot coolguy at gmail dot com
- To: gcc at gcc dot gnu dot org
- Date: Tue, 16 Feb 2010 20:50:05 -0800
- Subject: parse tree
hi...
I am a student of b.sc first yr in comp.science....
can you tell me
which parsing technique is used in ANSI c language and in gcc?
and how the parse tree is generated in parsing phase?
For instance if a code fragment is :
#include<stdio.h>
int main(){
int a[50],i;
for (i=0;i<50;i++)
scanf("%d",a[i]);
for(i=0;i<50;i++)
printf("%d",a[i]);
return 0;
}
how C will generate his parse tree for this code?
regards
& Thanx in advance