Find Jobs
Hire Freelancers

A Compiler and Optimizer for tinyL

$10-30 USD

Mbyllur
Postuar over 6 years ago

$10-30 USD

Paguhet në dorëzim
In this project, you will be asked to write a recursive descent LL(1) parser and code generator for the tinyL language. Your compiler will generate RISC machine instructions called ILOC (Intermediate Language for Optimizing Compilers). You will also write a code optimizer that takes ILOC instructions as input and implements different peephole optimizations. The output of the optimzer is a sequence of ILOC instructions which produces the same results as the original input sequence. To test your generated programs, you can use a virtual machine (simulator) that can “run” your ILOC programs. The project will require you to manipulate linked lists of instructions. In order to avoid memory leaks, explicit deallocation of “eliminated” instructions is necessary The project consists of two main parts: 1. Complete the partially implemented recursive descent LL(1) parser that generates ILOC instructions. 2. Write a peephole optimizer for constant folding and operator strength reduction. In addition, you are asked to write the PrintInstructionList routine. The project represents an entire programming environment consisting of a compiler, an optimizer, and a simulator (virtual machine) for ILOC. The ILOC simulator is called sim and will be made available to you as an executable on the ilab machines. This will allow you to check for correctness of your generated and optimized code. Need help for implementing part 2 (contact me for more info). 95% code has been given just need to write some lines of code to make it work. We have to write it in C programming.
ID e Projektit: 15555245

Rreth projektit

3 propozime
Projekt në distancë
Aktive 6 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
3 freelancers are bidding on average $85 USD for this job
Avatari i Përdoruesit
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD në 3 ditë
4,9 (88 përshtypje)
6,6
6,6
Avatari i Përdoruesit
Recently I've completed two such assignments on lexical and syntax analyzer (please see my profile). Since I'm new to code optimization, I would like to discuss the project with you before we begin. Relevant Skills and Experience Lexical and Syntax analysis, flex , bison, C, Linux Proposed Milestones $111 USD - Complete project with code optimization Can you provide further details (or sample code) on code optimization i.e. a pdf or any website?
$55 USD në 5 ditë
5,0 (1 review)
0,0
0,0
Avatari i Përdoruesit
I have knowledge of Compiler Design Concepts. I can help in completing the project. Relevant Skills and Experience C/C++ Coder 5 years of product development experience Proposed Milestones $50 USD - 1. Doing code changes. 2. Testing
$50 USD në 3 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i UNITED STATES
Piscataway, United States
5,0
2
Mënyra e pagesës u verifikua
Anëtar që nga tet 16, 2017

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.