Find Jobs
Hire Freelancers

Compiler1414

$30-250 USD

Đã hoàn thành
Đã đăng vào khoảng 8 năm trước

$30-250 USD

Thanh toán khi bàn giao
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.
Mã dự án: 10041576

Về dự án

2 đề xuất
Dự án từ xa
Hoạt động 8 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
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 trong 10 ngày
4,8 (23 nhận xét)
4,4
4,4
2 freelancer chào giá trung bình $243 USD cho công việc này
Avatar người dùng
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 trong 15 ngày
3,8 (5 nhận xét)
3,6
3,6

Về khách hàng

Cờ của SAUDI ARABIA
Riyadh, Saudi Arabia
5,0
1
Phương thức thanh toán đã xác thực
Thành viên từ thg 3 20, 2016

Xác thực khách hàng

Các công việc khác từ khách hàng này

development
$30-250 USD
Build a Website
$30-250 USD
Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.