Find Jobs
Hire Freelancers

Parses using Recursive Descent GUI Calculator Program

$30-250 USD

Cancelled
Posted almost 8 years ago

$30-250 USD

Paid on delivery
Project needs to be completed in 2 days. The first programming project involves writing a program that parses, using recursive descent, a GUI definition language defined in an input file and generates the GUI that it defines. The grammar for this language is defined below: gui ::= Window STRING '(' NUMBER ',' NUMBER ')' layout widgets End '.' layout ::= Layout layout_type ':' layout_type ::= Flow | Grid '(' NUMBER ',' NUMBER [',' NUMBER ',' NUMBER] ')' widgets ::= widget widgets | widget widget ::= Button STRING ';' | Group radio_buttons End ';' | Label STRING ';' | Panel layout widgets End ';' | Textfield NUMBER ';' radio_buttons ::= radio_button radio_buttons | radio_button radio_button ::= Radio STRING ';' In the above grammar, the red symbols are nonterminals, the blue symbols are tokens and the black punctuation symbols are BNF metasymbols. Among the tokens those in title case are keywords. The character literals are punctuation tokens. Below is an explanation of the meaning of some of the symbols in the above productions that should help you understand the actions that are to be performed when each of the productions is parsed: In the window production the string is name that is to appear in the top border of the window and the two numbers are the width and height of the window In the production for layout_type that define the grid layout, the first two numbers represent the number of rows and columns, and the optional next two the horizontal and vertical gaps In the production for widget that defines a button, the string is the name of the button In the production for widget that defines a label, the string is text that is to be placed in the label In the production for widget that defines a text field, the number is the width of the text field In the production for radio_button, the string is the label of the button You parser should properly handle the fact that panels can be nested in other panels. Recursive productions must be implemented using recursion. Syntactically incorrect input files should detect and report the first error. Below is an example of an input file: Window "Calculator" (200, 200) Layout Flow: Textfield 20; Panel Layout Grid(4, 3, 5, 5): Button "7"; Button "8"; Button "9"; Button "4"; Button "5"; Button "6"; Button "1"; Button "2"; Button "3"; Label ""; Button "0"; End; End. Code MUST have comments, and be original (your own work). Please provide a Word document with screenshots, lessons learned, improvements, and any references.
Project ID: 10821526

About the project

8 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average $146 USD for this job
User Avatar
Hello. What is it? "Please provide a Word document with screenshots, lessons learned, improvements, and any references." Is it needed?
$31 USD in 2 days
4.9 (836 reviews)
7.3
7.3
User Avatar
Hi there, I have read the requirements and I would like to do this project if given the opportunity. I have done this project before and I am willing to create a unique solution for you. Let me know if you are interested. Thanks.
$30 USD in 1 day
4.9 (582 reviews)
7.1
7.1
User Avatar
Hi you will find my services highly reliable and professional. My Vision : High Quality, High Speed, High Satisfaction! i have 7 years business experience with certified and skilled . We are always looking to push forward best-practices for development and ensure a high level of attention to detail. thanks
$122 USD in 6 days
4.6 (49 reviews)
5.3
5.3
User Avatar
I am Microsoft certified professional having 8+years of experience in software development. I have experience working with Windows Applications - C#, VB, WPF, Office Automation, Mobile Automation and Web Applications, Console Applications - C# and C++. Please let me know if you are interested
$250 USD in 3 days
4.9 (8 reviews)
4.4
4.4
User Avatar
Red, Blue? I think I can do this project within about 2 days. But I need a more clear requirement to do this task.
$155 USD in 2 days
5.0 (1 review)
1.9
1.9
User Avatar
Greetings Esteemed client!! I am a highly experienced writer in a range of different subjects. I am well versed in this area of study and i can assure you great paper. I am available to discuss further on the order details and my approach to complete this assignment incorporating all the instructions provided. I am open to negotiation. Please consider my bid for excellent work in time. Thank you.
$250 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Beltsville, United States
5.0
37
Payment method verified
Member since Mar 15, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.