Hi im done with lexical part of compiler. The next stage is the syntactic analyzer. How could i program my syntactic analyzer without using a database?
For example (base from turbo C)
syntactic checker:
main() valid
{ valid
int, x,y=1, z=1; invalid
x = y+z; valid
printf("Hello World); invalid
printf("the sum is %d",x); valid
getch(); valid
{ invalid
it will display the syntactic checker in any form...
thank you. hope you would help me...