The final version of the compiler; your compiler should be able to support the following features: to generate stream of tokens, three address code and intermediate code generation.

computer science

Description

The final version of the compiler; your compiler should be able to support the following features: to generate stream of tokens, three address code and intermediate code generation.

 

1.   Allow integer and char variable declarations

2.   Handle full expressions with parentheses

3.   Perform type checking

4.   Implement read, write, and written for chars, integers, and (for write and written)

quoted strings

5.   Allow control flow statements (If, If/Else and While statements), with Boolean expressions (AND/OR, and relational operators)

6.   Allow begin…end statements

7.   Allow Array

8.  Allow Function and Procedures Calls to handle function/procedure calls with parameters


Related Questions in computer science category