Description: The task is to write a program using C language source code written in lexical analysis and syntax analysis (see C language grammar Appendix A), and print the results. Experiments require the use of tools GNU Flex lexical analysis and parsing tools GNU Bison, and use the C language to complete. With the help of two powerful tools, the preparation of a capable lexical analysis and parsing program is a very pleasant thing.
It should be noted that, due later in the experiment will be used in this experiment has been written code, so keeping the interface between a good coding style, system design and code structure for each module in terms of the whole experiment quite important.
To Search:
File list (Check if you may need any files):
parser
syntax.y
treenode.c
treenode.h
lexical.l
main.c