Construction of a functional calculator

Assignment Help Web Project
Reference no: EM131253435

Programming Project -

Description: The programming project will be the construction of a functional calculator.

Calculator Requirements:

• For each computation, accept the expression from an input file (*.inp).

• All output must be written to a file of the same name (*.out). Upon completion of each computational statement, echo the statement to the file and print out the name of each statement variable and its numerical value.

• Detect and report expression errors in an accurate and understandable fashion.

• The calculator must be written in C #

Calculator Components: Your calculator must have the following components:

• Grammar - Provides a blueprint for expression parsing

• Lexical Analyzer - To identify tokens

• Parser - Creates tree to interpret each line of computation

• Symbol Table -- To track variables and their values as they change with each computation


• Use the Gold Parse Builder (GPB) to design your lexical analyzer and parser. To get you started, I am providing a sample file that allows it to process input for a simple C-like language (Tiny-DFA.GRM). If you use the GPB, use its Test capability to make sure the input is being tokenized correctly.

• You will need to process the XML output from GPB, which encodes the tables you will need for lexical analysis and parsing. I will provide the code that will allow you to import the XML into a program data structure (tree) and search it.

• To help you, I will upload a set of project resources to D2L.

• You must upload your materials to D2L in a zipped file per the below schedule.

Download file from this link:

Reference no: EM131253435

Prepare a bitcoin buy-sell website

Prepare a bitcoin buy/sell website add payment methods. Add direct deposit. The user will enter the user ID of his bank username then the bank will ask for security question

Develop a web-based student registration system

Develop a Web-based student registration system. This Web-based system allows students to register for classes, authenticate their credentials, and select classes for which

Illustrate the system architecture using visio

Illustrate the system architecture using Visio or equivalent software. Create a use case that documents the event of a customer ordering a bag of chips from the new Website

Evaluate alternatives to the company self-hosting the site

Evaluate alternatives to the company self-hosting the site and Build a Gantt chart using Microsoft Project or equivalent software, showing all tasks associated with implementi

Describe development of a custom web-based application

Robin is available for 30 hours per week at $100 per hour. She was involved in the last two upgrades as a business analyst and has been trying to become involved in other sy

How much everyone contributed to the project

How cooperative each team member was: Please rate on 1-5 scale. 1 is not cooperative, 3 is average, and 5 is very cooperative. Things such as being helpful in coming up with

Premiere products exercises

Complete the Premiere Products SQL Exercises in Chapter 3. You answers need to include the SQL commands and the results. A 2007 Access database for thesse exercisses can be fo

User interface design

Review the Principles of User Interface Design presentation located in the Week Three section of the student website. Evaluate a website of your choice for adherence to the si



10/24/2016 3:06:58 AM

Please see the deliverable section in "Project Requirement Details" file in the attachments. I have completed the first part which is "Grammar for Lexical Analysis". Please start building the program using the file "Calculator.sln" To understand the assignment please read the two attached word documents.

Write a Review

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