the first part of the program will implement


The first part of the program will implement Semantic Analysis. The assignment provides two options to define variable scope, either using the Global Option or the Local Option. The Global Option looks as if it involves less work but I will leave it up to the expert to evaluate the best option. (Please show which option was used in the program).

1. Please, add comments in the programs. I will also require a written explanation of what each file does. This may be written separately for each file (program). (So each file should have its separate sheet with a detailed step by step explanation of what the file does). This is very significant to me and helps me understand the assignment better.

2. Please add a working makefile for the programs.

3. Please send gcc and run commands that I should use to run the program. This is also very significant.

Example programs (consider some standard semanticcs) &short program prints 0 Start { Write (0); } Stop &program echoes input*2 Start Var x. { Read (x); Write (2*x); } Stop &print absolute value Start { Var x: y. Read (x); Iff (x<0) { y == -x; } Write (y); } Stop So to emphasize the important needs which I have listed is:

1. Program must run on a UNIX platform.
2. Comments needs to be added to each file.
3. A working MAKEFILE included.
4. gcc and run commands.
5. A written explanation of what each file in the program does.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: the first part of the program will implement
Reference No:- TGS0446773

Now Priced at $45 (50% Discount)

Recommended (91%)

Rated (4.3/5)