Đã Đóng

Source to source compiler

Task: The goal is to develop a source-to-source compiler that reduces the memory requirements of a

C program. A source-to-source compiler is an application that reads the text file of a C program and

writes a modified C program. GeCoS is a compiler infrastructure that that can read C programs into

an internal data structure, allows modifying it using GeCoS transformations and writes the internal

data structure back into a C file. Therefore, a GeCoS transformation should be developed replacing all

data types with data types of half the size. Implement this for the data types double (to float) and

integer (to short).

1. Use the GeCoS source-to-source compiler

2. Generate GeCos IR from C source code

3. Develop the described transformation pass

4. Generate C source code from GeCos IR

5. Write a small C program to test your transformation

After solving the task, please send us the developed Eclipse plugin with the source code for the

GeCoS transformation as well as the C program used for testing.

Information about the usage of GeCoS can be found here:

[login to view URL]:install

[login to view URL]:home

[login to view URL]:home


 Use an existing visitor pattern as the basis for the transformation.

 When using the GecosUserTypeFactory, the scope has to be set before the usage

 Keep the containment of the GeCoS objects in mind

Kĩ năng: Lập trình C, Java

Xem nhiều hơn: source source sales chat solution, counter strike source source mod, task write essay topic immigration, check task status windows task scheduler cnet, task write program java graphical user interface calculate display mortgage payment amount user input amount mortgage term mortg, vb6 tab source source code, vb net task manager hide task, write send mail php, wow autoit bot source source, directshow push source source code, write written task, netbeans write send, task website similar task rabbit php, task website similar task rabbit, counter strike source source, email send task, how to write ielts task 1, how to write ielts task 1 academic, open source cobol compiler

Về Bên Thuê:
( 0 nhận xét ) Hyderabad, India

ID dự án: #22459155

1 freelancer đang chào giá trung bình ₹1300 cho công việc này

₹1300 INR trong 1 ngày
(0 Nhận xét)