SVN Repository - Nand2Tetris Projects - Syntax Analyser - Computer Science Assessment Answer

Download Solution Order New Solution
Internal Code: 1AHEAC

Computer Science Assessment Answer

TASK: Project Description In this assignment you will complete a variation of projects 10 and 11 in the nand2tetris course, reworked descriptions of Nand2Tetris Projects 10 and 11 are shown below. In particular, you will write the following programs that are used to implement different components of an optimising Jack compiler that compiles a Jack class into Hack Virtual Machine (VM) code: parser - this parses a Jack program and constructs an abstract syntax tree. codegen - this takes an abstract syntax tree and outputs equivalent VM code. pretty - this takes an abstract syntax tree and produces a carefully formatted Jack program. optimiser-r - this copies an abstract syntax tree and removes redundant code. SVN Repository You must create a directory in your svn repository named: <year>/<semester>/cs/assignment3. This directory must only contain the following files and directories - the web submission system will check this: Makefile - this file is used by make to compile your submission - do not modify this file.
  • .cpp C++ source files - naming as pecified in the component program requirements.
  • .h C++ include files - naming as specified in the component program requirements.
  • lib - this directory contains precompiled programs and components - do not modify this directory.
  • includes - this directory contains .h files for precompiled classes - do not modify this directory.
  • tests - this directory contains a test script and test data, you can add your own tests too.
Assignment 3  The marks awarded by the web submission system for the milestone submission contribute up to 20% of your marks for assignment 3. Your milestone submission mark, after the application of late penalties, will be posted to the myuni gradebook when the assignment marking is complete. Your programs must be written in C++ and will be tested using Jack language programs that that may or may not be syntactically correct and previously generated abstract syntax trees. Although a wide range of tests may be run, including some secret tests, marks will only be recorded for those tests that require a working parser program. Your programs will be compiled using the Makefile and precompiled components in the lib directory. Note: you will get no feedback on the secret tests, even if you ask!
This Computer Science has been solved by our Computer Science experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.