A Compiler and Optimizer for tinyL

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.

Evner: Montage, C programmering, Computer Science

Se mere: hire a programmer does it work, finding a slicer for freelancer work, finding a freelancer for art work, c programming, do i need a business license to work from home, can a real estate agent work from home, become a virtual assistant and work from home, is fedex a good company to work for, how much does a basic business plan work in south africa rands cost, a guide to freelancing work from home, a software that helps me write an ebook, who should i hire to make a camera ready art work, where do i find a bookkeeping job to work from home, wher can i find a local sports writer to write sports column, want a writer to help me write my bokk, this is a big data entry work for all freelancer no need any experience i need 50 workers for my work so please bid my project t, need a free book writer to write my life story, i need a writer to help me write a book, i need a programmer that knows c 11, i need a personal female writer to write my story

Om arbejdsgiveren:
( 2 bedømmelser ) Piscataway, United States

Projekt ID: #15555245

3 freelancere byder i gennemsnit $85 på dette job


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 environ Flere

$150 USD in 3 dage
(88 bedømmelser)

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 Flere

$55 USD in 5 dage
(1 bedømmelse)

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 cha Flere

$50 USD in 3 dage
(0 bedømmelser)