|
|
|
|
C++  ::: COMPILER CONSTRUCTION |
|
|
|
This section C++ : Compiler Construction contains source codes of some Programs implementaing some phases of a Compiler. They are made for just demonstration purpose.
Select one of the Topics listed below:
|
Note: All the given files are in zip format, which can be uncompressed with the help of a compression tool. If you do not have any tool, then you can get one from Utilities : Compression Tools. |
|
|
Pre-Processor |
|
|
|
|
|
|
| CC-01 |
 |
A C++ Program to Process the include directives. |
|
|
|
|
|
Lexical Analysis |
|
|
|
|
|
|
| CC-02 |
 |
A C++ Program that will read a token from a user and find its type. |
| CC-06 |
 |
A C++ Program to implement a Lexical Analyzer that will parse a program using Transition Table. |
|
|
|
|
|
Syntax Analysis |
|
|
|
|
|
|
| CC-03 |
 |
A C++ Program to show the implementation of Bottom-Up Parsing. |
| CC-04 |
 |
A C++ Program to Convert an Infix Expression to Postfix Expression. |
| CC-05 |
 |
A C++ Program to implement a Translator that reads an Infix Expression, checks its Syntax (using Bottom-Up Parsing), translates the Infix Expression into a Postfix Expression and then evaluates the Postfix Expression. |
|
|
|
|
|