Find Jobs
Hire Freelancers

C Language Lexical Analysis and Syntax Analysis

$30-250 USD

Completed
Posted 12 days ago

$30-250 USD

Paid on delivery
Part1: Lexical Analysis In this Part you will improve the lexical analyser described in section 4.2 of the textbook (Sebesta). The improved version of the lexical analyser should be able to (i) report errors in the identifiers and integer literals, (ii) it should be able to recognize assignment operator and certain keywords. First get the code (in C language) for the lexical analyser described in the textbook working. Try it out on simple examples, e.g. (sum + 47) / total. It is not be able to report errors in identifiers and integer literals. (The rules for identifiers and literals are described in the book.) For example, how does it handle an illegal identifier ‘2sum’ or an illegal integer literal ‘23b2’? Make appropriate changes to the state transition diagram and the code to enable the lexical analyser report the above-mentioned errors. Second change is to enable the lexical analyser handle assignment operators and certain key words. After this change it should be able to handle assignment statements and keywords: ‘if’, ‘then’ and ‘else’. Test your analyser on the following input file: x = 5 sum = x * 3 / 5 if sum > 1 then sum = sum + 1 else sum = sum – 1 Part 2: Syntax Analysis In this Part you will extend the work that you did in Part 1 on lexical analysis. You will now add a syntax analyser (parser) to it. The syntax analyser will handle expressions described by the EBNF given as an example in the section 4.4.1 of the textbook. The parser will be based on recursive-descent parsing algorithm and the outline C code for the parser is already given in the textbook. You will improve it by adding error handling capability. First get the code for the recursive-descent parser described in the textbook working. Try it out on simple examples, e.g. (sum + 47) / total. This example should produce the trace given in section 4.4.1 (page 184-185 of 10th edition). To handle the error-handling you will have to implement the error() function. This function should report errors and also indicate what is expected by the parser in case a wrong token is found at the input.
Project ID: 38096020

About the project

16 proposals
Remote project
Active 12 days 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
Awarded to:
User Avatar
✅Hi, Client. I am a senior C developer✅ I am interested in your project. I have read the description of your project and understood that you are looking for C developer. I am a senior C developer with over 10 years of rich experience in C/C++/Java/Python/Reverse Programming, API integration and Database Management. So, I can complete it within your timeline. Please send a message to discuss this. I look forward to hearing from you. My main goal is to gain my client's satisfaction by completing a job with 100% accuracy Best regards!
$50 USD in 7 days
5.0 (4 reviews)
4.5
4.5
16 freelancers are bidding on average $117 USD for this job
User Avatar
Hello Sir/MAM I am a skilled full stack developer. Having rich experience in Java , C++ , C , C# , Python , Eclipse , Sql , Mysql , .Net ,Oracle , Object Oriented Programming , Data Structure , Algorithms . I have a perfect grip on “Artificial Intelligence” “Automation” , and work in “Machine Learning” Deep Learning ”. My track record as demonstrated in my 100% job completion and 5-star review rating showcases My ability to deliver exceptional results on time and with utmost quality I believe that my skill set makes me the ideal candidate for this project Please come on chat we will discuss more about this I will be waiting for your reply . Thanks and Best Regards
$140 USD in 2 days
5.0 (31 reviews)
5.4
5.4
User Avatar
Dear Client, I hope this proposal finds you well. I am writing to express my interest in your Project. My name is Kaushik, and I am a freelancer. With 12 years of experience, I have developed a strong expertise in handling this kind of project flawlessly. As per your description, I have clearly understood your project and possess the necessary skills and experience to meet your requirements. I have successfully completed similar gigs in the past and have received excellent feedback from my clients. I am confident in my abilities and look forward to the opportunity to contribute to the success of your project. Please feel free to reach out to me with any questions or to discuss. Best regards,
$189 USD in 5 days
4.9 (14 reviews)
4.7
4.7
User Avatar
I have more than 15 years of experience in the development As I am an expert, I can build it according to your requirements. Because I have a lot of experience in these fields, I can build your project as soon as possible. I offer excellent software quality work and provide the best support for your project. If you give me this job, I will do my best to finish your job by your timeline. If you want to see my past works, I can show you my past works right now. Ready to discuss this with you about the task now. Thank you for the reading.
$100 USD in 7 days
5.0 (9 reviews)
4.3
4.3
User Avatar
Hi. I have a PhD in computer science and during my research, I have been working on compiler design. I have experience of using yacc for lexical and syntax analysis and also work on more advanced topics such as code optimizers, semantic analyses and super compilers. I am interested to have collaboration on this project.
$90 USD in 7 days
4.9 (7 reviews)
3.6
3.6
User Avatar
Dear Sir As a C/C++ developer since 1984, I'm excited to offer my expertise for your C language lexical analyzer and syntax analyzer project. My Offer: Improved Lexical Analysis: Expert error reporting for invalid identifiers and integer literals. Recognition of assignment operators and keywords (=, if, then, else). Syntax Analysis Integration: Recursive descent parser for expressions based on your EBNF grammar. Informative error handling messages for debugging. Deliverables: Modified and tested lexical analyzer code. Functional recursive descent syntax analyzer with error handling. Comprehensive test cases. Benefits: Leverage my deep C/C++ knowledge for a robust solution. Catch errors early during lexical analysis. Parse basic programs with assignments and control flow. Strong foundation for further compiler development. Let's discuss! I'm confident I can deliver a high-quality solution based on my extensive C/C++ experience. Sincerely,
$230 USD in 7 days
5.0 (1 review)
3.7
3.7
User Avatar
As a C and C++ expert with a strong foundation in software architecture, I've had extensive experience with dealing hands-on in identifying and managing lexical errors, which makes me the perfect fit for this project. I not only understand the fundamental concepts of lexical analysis but have also had the chance to utilize my skills professionally, encountering various types of errors like the ones mentioned in the project description. I can assure you that my problem-solving skills combined with my knowledge will help improve your existing codebase and enable a seamlessly functioning lexical analyzer. Moving on to the second part of the project - syntax analysis; my grasp over languages such as C, C++, and Java will be beneficial in enhancing and applying the recursive-descent parsing algorithm you need. Moreover, error-handling is my strong suit. I have developed and implemented error-handling functions that don't just pinpoint issues but also provide meaningful suggestions for correction at each stage. NOTE: Please note that initial bid is estimate and the final quote will be provided after discussion of the project requirement.
$30 USD in 7 days
5.0 (1 review)
3.1
3.1
User Avatar
As an enthusiastic and experienced software developer with a specialization in the C programming language, I am confident that I can fulfill the requirements outlined in every aspect of your project - from improving the improved version of the lexical analyzer to adding a syntax analyzer. My deep familiarity with C, C++, and Java has given me mastery over the programming concepts and techniques essential to meet this project's goals. Throughout my 10+ years of professional experience, I've accumulated a strong foundation in developing precise error-handling capabilities – an indispensable aspect in complicated endeavours like yours. By drawing on my extensive knowledge of Lexical Analysis, I can craftfully enhance the state transition diagram and code for your lexical analyzer to spot errors in identifiers and integer literals accurately. Lastly, punctuality and quality are traits deeply ingrained in my work ethic. I have consistently delivered high-standard results on time and will do nothing short of that for your project. Plus, as this is a field close to my heart — Web Development — and considering my involvement with Python for over 10 years (just like with C), this opportunity would allow me to merge my passions into a fruitful outcome for us both. Please let me bring your vision to life through skillful execution and steadfast determination!
$140 USD in 7 days
5.0 (4 reviews)
2.9
2.9
User Avatar
Hello, how are you? As an experienced full-stack developer and an ardent advocate for the vast realm of technology, I possess a deep understanding of C programming, which would equip me aptly to handle the critical task at hand; improving lexical analysis and extending syntax analysis. With an impressive 8-year tenure under my belt, I've flourished in diverse domains such as web development, mobile applications, 3D projects, and game development. This extensive exposure has been instrumental in sharpening my expertise in languages including C++, Java and of course, C programming. In addition to satisfying the requirements outlined in the project description, my diverse experiences also lend themselves readily to error-handling, something that will prove invaluable while adding capabilities to your lexical analyser. The successful incorporation of error-handling into repetitive-descent parsing will showcase my ability to adapt textbook knowledge into practical technical solutions. Kind Regards.
$140 USD in 7 days
5.0 (1 review)
2.5
2.5
User Avatar
I'm Anees Fayyaz, and I'm eager to tackle your Lexical and Syntax Analysis project. For Part 1, I'll enhance the lexical analyzer to report errors in identifiers and integer literals, while also recognizing assignment operators and keywords like 'if', 'then', and 'else'. In Part 2, I'll extend this work by integrating a syntax analyzer based on provided EBNF, employing a recursive-descent parsing algorithm with error-handling capabilities. With my expertise, I'll ensure efficient, robust solutions that meet your project's requirements. Let's discuss further! Best Regards Anees Fayyaz
$60 USD in 3 days
4.7 (2 reviews)
2.2
2.2
User Avatar
Good day! With over 8 years of experience as a FullStack Developer, I have honed my skills in C, C++, and Java, making me the ideal candidate for your project. Throughout my career, I have developed highly scalable applications that are easily maintainable - a quality that is crucial for complex tasks like improving lexical analysis and syntax analysis as you described. Moreover, I take pride in following clean code principles (MVVM), using version control systems effectively, and creating continuous integration (CI) and continuous development (CD) pipelines to ensure an efficient and error-free development process. This approach has helped me make robust applications in the past, and it will certainly add value to your project. In terms of technical expertise, I bring a wide array of skills that align perfectly with your needs such as C Programming, C++ Programming, Java, Software Architecture. My ability to design complex systems using these languages makes me uniquely qualified to handle the challenging task of extending the work done in Part 1 onto syntax analysis in Part 2. Let's discuss how I can exceed your expectations and deliver excellent results for your project.
$140 USD in 7 days
5.0 (1 review)
1.8
1.8
User Avatar
⭐⭐⭐⭐⭐⭐ C/C++/C#/.NET Expert ⭐⭐⭐⭐⭐⭐ Dear client. I have fully read your requirements and so motivated to work on your project as a senior developer. My major is C/C++/C#/.NET development and I have full experience over 8 years. Honestly, I have finished some projects similar to yours and that's why I am so confident and interested in your project. I will do my best to finish your project in the shortest time with high quality. Hope for your kind contact. Best Regards. Thanks.
$30 USD in 7 days
5.0 (1 review)
0.6
0.6
User Avatar
Hello Sara A., This is Luis Hope you are doing well. I'm very interested in your project since I'm very confident in Algorithm, Java, C Programming, C++ Programming and Software Architecture. Also, I've worked on a similar project before. I can start working right away and will complete your project perfectly. Shall we discuss your project in more detail? Sincerely...
$130 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi Sara A., this is Daniel from Singapore. I have read your project description carefully and I`m very interested in this project. As a experienced developer, I have rich experience in C++ Programming, Algorithm, Software Architecture, Java and C Programming and can start immediately and deliver on time. I have fluent English communication skills so that I can understand your requirements fluently and I want a long term relationship so that Ill manage the further version, too if you dont mind. I`d like to discuss the project in more detail with you via chatting. Look forward to hearing from you soon. Daniel.
$120 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there, I'm Vlasie, and I have read the description of you project carefully. I would love to collaborate with you and contribute to your ongoing projects. Let's start chatting to discuss the project in more detail. I appreciate the opportunity to send you this proposal and I look forward to working with you! Sincerely, Vlasie.
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear client! I'm a specialist in Full stack agent development with 4+ years of experience in that, etc. I have read your requirement in the description carefully and have understood them. I have experience with developing many projects like your project in past. I can assure you that you will get your project delivered in a timely and quality manner. Looking forward to hearing from you. Thanks. Best Regards
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SAUDI ARABIA
Riyadh, Saudi Arabia
5.0
14
Payment method verified
Member since Oct 20, 2019

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.