This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]