Find Jobs
Hire Freelancers

Implementing a Parser -- 2

$30-250 USD

Closed
Posted over 9 years ago

$30-250 USD

Paid on delivery
Task: Implement a parser that processes sequences of correctly paired ifs and elses in a C++ program. There may be ifs without elses, but not elses without ifs. Your parser must simulate a PDA. Specifications for the implementation follow: • You must simulate a PDA to parse the sequences of correctly paired if-else. • In addition, give the context-free grammar to generate these sequences. • You can use C, C++ or Java to implement your parser, but make sure that your program compiles and runs in either linux as installed on empress, or windows as PCs. • Input to the parser: A file with the sequence ofifs and elses. The input file must be called sequence.txt. • Output: Display the message Correct sequence if the sequence is accepted by the PDA, or display the message Sequence is syntactically incorrect if the sequence is NOT accepted by the PDA. • Document your program. • Type one page describing the design and implementation of your parser in terms of PDAs terminology and describe the context-free grammar to generate such sequences. ZIP :- – Source program; – Executable/Runnable; and – [login to view URL] file describing how to compile and run your program.
Project ID: 6744978

About the project

8 proposals
Remote project
Active 9 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 $185 USD for this job
User Avatar
Hello I'm interesting your project very well I'm a Good C/C++, C-C, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$170 USD in 4 days
5.0 (37 reviews)
5.3
5.3
User Avatar
Your project is VERY EASY to me. I have IMPLEMENT a compiler of Python that generate exe file. Contact me ASAP. I can do this. Regards, Junaid
$222 USD in 5 days
4.9 (38 reviews)
4.7
4.7
User Avatar
Hello, The project looks cool and you had given enough information to work on it. I would like to know whether the readme and the document are one and the same or different. I have few more questions 1. What if the input source code itself have commented blocks containing if's and elses? 2. How to display the output? Like :An if at line x have a match with else at line y? Or any other way? 3. Suppose if the syntax is not correct, the program terminates there itself or proceed looking for more if's? Thanks, Harish
$150 USD in 3 days
5.0 (6 reviews)
3.6
3.6
User Avatar
一个有效的提议尚未被提供
$250 USD in 5 days
4.9 (6 reviews)
3.2
3.2

About the client

Flag of UNITED STATES
San Diego, United States
5.0
1
Payment method verified
Member since Oct 15, 2014

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.