Build small compiler while making use of the while language

Assignment Help Computer Engineering
Reference no: EM132246300

Languages and Compilers Assignment - Small Compiler

The purpose of this Assignment is to build a small compiler while making use of the while language. Firstly these are the instructions and requirements regarding this assignment:

1. ANTLR (parser generator) with Java on IntelliJ must be used. This is the most important thing.

2. 4 basic notions should be included in the program.

3. 3 control flow structures should be included in the program.

4. The target language is Python. The program should be able to generate the python code and the python code should run correctly and give the correct result.

5. Additional features should be included which consist of a. Abstract Syntax Tree b. Error handling c. Type checking d. Local variables e. Floats f. Advanced functions

6. The program code should have modularity.

Secondly, the assignment as a whole should consist of:

1. Program code files with internal code comments made inside all the code.

2. The specification of the basic language.

3. Full documentation of the work which will include documentation of the code. Code documentation will refer to description of the code. This is separate from the code comments.

4. Clear Instructions on how to run the code and how to perform tests with the code.

Thirdly, the basic notions, control flow structures and additional features to be included are all described in the Assignment Question itself which attached as an attachment document.

Wrote these instructions just to make things very clear and to explain precisely what should be done in the assignment. These requirements refers to how the files should be arranged:

1. Program code files should be arranged in one folder.

2. Specification should be written and saved in a Microsoft Word Document.

3. Documentation of work and code documentation should be written and saved in another Microsoft Word document.

4. Instructions on how to run the code and perform tests should be written and saved in a ReadMe text file.

Attachment:- Assignment Files.rar

Reference no: EM132246300

Questions Cloud

Explain the role of the board of directors in running : Explain the role of the board of directors in running a public company. What is the board's primary job? What distinguishes inside from outside directors?
Hofstede six dimensions of culture : Hofstede's Six Dimensions of Culture in detail:
Monitor and manage individual and team performance : Which are used to monitor and manage individual and team performance
Create high performing teams : What are the motivational techniques used to create high performing teams; what are the advantages and disadvantages of these techniques?
Build small compiler while making use of the while language : CE305 Languages and Compilers Assignment - Small Compiler, University of Essex, UK. Build a small compiler while making use of the while language
What environmental changes are occurring in your community : What environmental changes are occurring in your community?
When would one be preferred over the other : The two types of diversification are Related & Unrelated Diversity. When would one be preferred over the other?
What hr ethical issues multinational corporations face : Examine two (2) of the major HR ethical issues multinational corporations face when operating globally. Recommend two (2) preventative actions that HR.
What are your views on collective bargaining : What are your views on collective bargaining? What is the "Right-to-Work" law? Discuss why you are in favor or opposed to Michigan becoming a "Right-to-Work".

Reviews

len2246300

3/1/2019 9:09:05 PM

The basic notions, control flow structures and additional features to be included are all described in the Assignment Question itself which I have attached as an attachment document. I wrote these instructions just to make things very clear and to explain precisely what should be done in the assignment. I wrote these instructions to explain how I want the code files and documents to appear so they can be well labelled and I can understand what is in each file. Lastly, the marking scheme is in the Assignment question itself. Please follow this carefully. Thank you.

len2246300

3/1/2019 9:08:59 PM

Marking scheme - Scheme provided for indicative guidance only - Specification of basic language (25%), Definition of Tokens 10, Grammar of While-language 15. Implementation of basic language (40%) - Quality of Java code plus internal commenting of the code - doc file is not required 35 and Molarity 5. Aforementioned additional feature (35%) - Documentation of your work (including in-code documentation) is essential and particular care should be applied in the documentation of all code. The Submission and Demonstration - Submission of code and documentation at 11:59 Demonstration at 13:00 (the last lab session before University break).

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd