Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

note;Just that the work needs to be authentic. The parsing and lexer needs to be done by hand

 

The first programming project involves writing a program that parses, using recursive descent, a GUI definition language defined in an input file. Attached are the project description and testing .txt file examples.

1. Implement a lexer capable of recognizing all the terminal symbols of the grammar (tokens/lexemes - those in blue)

2. Implement a recursive descent parser that (using the lexer from 1.) will be able to parse the input file and detect a syntax error (the first one is enough, then the parser exits gracefully)

3. As a result of parsing the input file, an output file will be generated, reporting the parsing steps followed by the parser in a manner similar to the one described by Sebesta (10th edition) on pages 181-186.

 

I attached the project description, that's all the professor provided. Preferably, I would like to have the code done in Java. No, I am not allowed to use any parser/lexer generators. Here are the only notes that the professor included that I left out:

 

the complete list of deliverables for Project 1 is:

1. All the source code files (Java, C/C++ or C#, depending on the language you choose for the implementation)

2. The modified version of the testing file "Testing.docx" (attached) where you filled the cells under "Actual output" for each of the 6 input examples provided (or as many as your program can process)

 

This is what the end result the professor seeks:

 

1. You read the input file and post the results of the parsing process in an output (txt) file.

OR

2. You read the input file and post the results of the parsing process on the standard output (screen), but then you copy/paste them in the Testing document.

testimonials icon
Identify each of the following as examples of nominal, ordinal, interval, or ratio scales of measurement. (4 points each)  ...
testimonials icon
As division head, you have been assigned to oversee a new project that will require exacting work and long hours. You k...
testimonials icon
OverviewThe purpose of this assignment is to review film sites and to share your reviews with your peers. This is...
testimonials icon
I need help with my 10 page papers... Select an entertainer that needed to crisis management in recent years and explain how business ethics and te...
testimonials icon
Imagine that you have been hired to audit the sales and collections of a medium to large merchandising company. Suggest...
testimonials icon
How might a firm’s resources limit its search for opportunities? Cite two specific examples for two specific resources....
testimonials icon
Please read the three statements, which all relate to the mission and the values of Loyola Marymount University. Choose the one you find most int...
testimonials icon
Wireframes Prompt: Continue to develop a proposal that is intended to win a contract to redesign the website for a...
testimonials icon
/*! elementor - v3.6.5 - 27-04-2022 */ .elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading...
testimonials icon
Logistical Challenges in Contingency Planning Contingency planning includes a variety of planning approaches,...
testimonials icon
       eek 11   Evaluation of Learning    Resources ...
testimonials icon
You have an idea to improve patient care that you would like upper management to support and fund. What type of co...

Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
$65
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price
$65