CIS4640 – Implementation Project – Checkpoint Three Solved

$ 20.99
Category:

Description

Functionality:

With the first two checkpoints, you are able to detect syntactic and/or semantic errors for a C- program or produce an abstract syntax tree if the given program is valid. For Checkpoint Three, your compiler should be complete, accepting valid C- programs and generating assembly code suitable for execution on the TM simulator (downloadable on CourseLink).
Execution and Output

You are now responsible for all command-line options specified for the project (-a, -s, -c). In particular, the -c option should now produce assembly code for the TM simulator. Please refer to the lecture notes on “11-TMSimulator” for some suggestions about the implementation of the runtime environments.

Documentation
Test Environment and Programs

You should verify your implementation on the Linux server at linux.socs.uoguelph.ca, since that will be the environment for evaluating your demos. For incremental development, we recommend that you follow these steps: (a) download and get familiar with the TM Simulator;
(b) focus on the expressions and assignments in the “main” function for the initial implementation; (c) expand the implementation to cover control structures, function calls, nested blocks, and arrays; (d) handle the runtime error for “out of bound” of indexed variables; and (e) revisit the previous two checkpoints for possible improvements.

In addition, each submission should include ten C- programs, which can be named

Makefile

You are responsible for providing a Makefile to compile your program. Typing “make” should result in the compilation of all required components to produce an executable program: CM. Typing “make clean” should remove all generated files so that you can type “make” again to rebuild your program. You should ensure that all required dependencies are specified correctly.

Deliverables

(1) Submission to the related drop box on CourseLink:
– All source code required to compile and execute your “CM” compiler
– Makefile and all the required test files
– The README file for build-and-test instructions
– A project report as described in the “Documentation” section above

Reviews

There are no reviews yet.

Be the first to review “CIS4640 – Implementation Project – Checkpoint Three Solved”

Your email address will not be published. Required fields are marked *