Find Jobs
Hire Freelancers

Basic lex and yacc compiler from shell

$10-30 USD

Teljesítve
Kiadva ekkor: majdnem 4 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
Below are simple rules that i want on that project. Also i srtarted to code on this project, now i have an basic lex-yacc analyzer doing some loops and some error handlings. You can continue on this project i put it on attached files. ENHANCEMENT: : 1-Comments 2- Conditional statements (at least one of if-else, switch, etc.) 3- Loops (at least one of for, while, do-while, etc.) 4-Ability to write functions 5-Exception handling PART B SYNTAX ANALYSER: Here you will write a yacc file newlang.y which will produce an executable of the compiler of your language once compiled via gcc. Once you have the compiler, you should be able to run your code in your language For example if you have a line like (your syntax can be different of course) >> a=false; b=true; if(a | b) then c = true; print(c); Your output will be something like true PART C After finishing it i need 3 example. PART C; EXAMPLE: You will write 3 example programs in this language. You are supposed to demonstrate all the constructs in thislanguage with this program. For example, write loops, write a function We should be able to understand languages syntax and play with the code and still get correct results. And lastly, i need only yac.y lex.l , and i need to execute that code on linux shell with that code for example; clone repo(from github) lex project.l yacc -d project.y gcc lex.yy.c y.tab.c -ll Run: 0. ./[login to view URL]
Projektazonosító: 25236756

A projektről

2 ajánlat
Távolról teljesíthető projekt
Aktiválva: 4 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
Based on our discussions, I will improve your code to add more keywords like for, continue, then, boolean etc. Also try to add function if it will be feasible for me to add. Thanks.
$30 USD 4 napon belül
5,0 (6 értékelés)
2,0
2,0
2 szabadúszó adott átlagosan $25 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hello Sir/Madam, I have read your Job description clearly and understand your instruction. I am from Malaysia and I can speak well in English, Mandrin and Malay. I guess it will be easy for you to communicate in any of these 3 languages. I would the job opportunity that have been given. I believe I can offer you with with best price and quality work output. I have these experience for 3 years as my part-time job. I would like to thank you for spending time on reading my proposal and I am looking forward to work for you in the future. The following are field of expertise: 1. Navigation 2. Hyperlinks 3. Punctuation skills 4. Keywords
$20 USD 7 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

TURKEY zászlója
Antalya, Turkey
0,0
0
Fizetési mód hitelesítve
Tagság kezdete: ápr. 30, 2020

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.