Find Jobs
Hire Freelancers

Compiler1414

$30-250 USD

Completed
Posted about 8 years ago

$30-250 USD

Paid on delivery
The user enter a code in Mini C language (described below). The analyser tokenizes the code into tokens according to white spaces and symbols. Each token is assigned to a valid type and line number. The description of types are below. You have to write a regular expression for each type. For assigning a type for a token you can use the following algorithm:  Develop a function called RegularExp_to_DFA. Use this function to convert each regular expression into DFA.  For each token, parse the token into all defined DFAs using the priority order of the REs (more constrains REs first, for example the RE for identifier type has less constrains; then it has less priority). If the DFA accepts the token, assign its type. If not try another DFA.  If you could not find appropriate DFA can accept the token then report an error message with the token and line number. Your program should have one interface with 2 options: 1. Convert RE into DFA directly. We can enter any RE here and the system convert it into DFA (there is 3 marks extra graphical interface) 2. Lexical parser The parser can reads any code file and returns a list of (line number, token, type) in a file with all errors exist. Note: This phase concerns on the tokens regardless the syntax structure of the statements. For example: the tokens in a statement (x int =5;) are accepted; but one token is not accepted in (3int x=5;) as 3int is not accepted in all DFA we have. Thus you should report a lexical error with line number.
Project ID: 10041576

About the project

2 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
Awarded to:
User Avatar
I have done BSCS from Pakistan's 1st Rank IT university named FAST-NUCES and I believe that I can do this task in a pure professional manner and can satisfy all of your requirements regarding this project as I have already done this kind of projects in the past. Money is not the priority! My first priority is to work with full dedication and satisfy you! You can contact me on personal message and don't worry! if I feel that this task cannot be done with perfection by me then I will not let you hire me. You will be completely satisfied before hiring. I am highly qualified for this project and would love to speak with you further about taking this project on. Contact for further details. Thanks You.
$185 USD in 10 days
4.8 (23 reviews)
4.4
4.4
2 freelancers are bidding on average $243 USD for this job
User Avatar
We are highly experienced IT Professionals, Software Developers, Web Designers and IT Architects. We work in PHP, JAVA, ASP, DOT NET, Prestashop, Magento, woo commerce, OSCommerce, WordPress, Joomla, Web Hosting Panels Programming, LAMP, Android java development, Backend Server APIs, Android, Java, C/C++, Linux, PHP, MySQL, AJAX, JavaScript, C#, Visual Basic, PHP, MS SQL, My SQL, PHOTOSHOP, CSS, Bootstrap, HTML, JQUERY, JAVA, SCRIPT We do CDR Writing, HND Projects, MATLAB, PSPICE, NS2, NS3 Simulation Projects too. We do Logo design, Stationery design, Brochure design, Web banners design, Packaging design, Catalogues design, E-book cover design, DVD CD label design. We specialize in business, technical, academic, commercial, fiction, and blog writing. Every word of mine would speak for its originality and quality. We are passionate content developers. We know how important and valuable written words, grammar, style and formatting of the text is, we can make your words count, and can provide you detailed, well researched and quality text for your you need press releases, dissertations, Academic papers, eBooks, Fiction, Sci-Fi thriller, Technical content, Articles, Web content, and blogs, we will make sure that you always get flawless and topnotch type quality work that meet your needs.
$300 USD in 15 days
3.8 (5 reviews)
3.6
3.6

About the client

Flag of SAUDI ARABIA
Riyadh, Saudi Arabia
5.0
1
Payment method verified
Member since Mar 20, 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.