Find Jobs
Hire Freelancers

A Compiler and Optimizer for tinyL

$10-30 USD

クローズ
投稿日: 6年以上前

$10-30 USD

完了時にお支払い
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: 15555245

プロジェクトについて

3個の提案
リモートプロジェクト
アクティブ 6年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に3人のフリーランサーが、平均$85 USDで入札しています
ユーザーアバター
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 3日以内
4.9 (88 レビュー)
6.6
6.6
ユーザーアバター
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 5日以内
5.0 (1 レビュー)
0.0
0.0
ユーザーアバター
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 3日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Piscataway, United States
5.0
2
お支払い方法確認済み
メンバー登録日:10月 16, 2017

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。