Find Jobs
Hire Freelancers

I need help with my compiler design project

$30-250 USD

Closed
Posted about 1 year ago

$30-250 USD

Paid on delivery
You are required to write a compiler which generates SSM assembly code for the language LP23x. You are provided with a formal grammar for LP23x and a prototype compiler, as well as grammars for two simpler variants of the language (LP23xs and LP23xef: these correspond to the language subsets assessed in tasks 1 and 2, respectively). Note that these three grammars are essentially solutions to the tasks set for Part 1 of the coursework, except that variables are declared explicitly (this makes life slightly easier for a compiler writer). You are provided with some test inputs (the expected output is given as a header comment in each file). This is not an exhaustive test suite and you are free to write your own tests. Assessment will be carried out by automated testing using these and other tests. The semantics of the language is essentially standard and most language constructs have an obvious counterpart in languages like Java and C. Key differences and similarities: • LP23x is untyped. All expressions evaluate to a 32-bit signed integer. • LP23x has three types of variables: global variables, formal parameters, and local variables. Global variables are statically allocated. Formal parameters and local variables are stack-allocated. The scope of a formal parameter or local variable is the body of the function in which it is declared. Formal parameter and local variable names are allowed to clash with global variable names (creating a hole in the scope of the global variable) but all local variable and formal parameter names within a given function must be distinct. • In Boolean constructs, 0 is treated as False and all other values are treated as True. Comparison and logical operators all evaluate to either 0 or 1. • If a function call terminates without executing a return statement, the function returns 0 by default. Return statements are also allowed in the main program block, where the effect is to halt execution (the return expression is evaluated but its value is ignored in this case). • As in C and Java, the && and || operators have “short circuit” semantics. When the first argument of && evaluates to False (0), the second argument is not evaluated and the operator returns 0 immediately. Dually, when the first argument of || evaluates to True (any non-zero value), the second argument is not evaluated and the operator returns 1. • All other operator and function arguments are evaluated left to right and passed by value (fully evaluated before the call). • New arrays are created using expressions of the form malloc[e] where the value of e determines the size of the new array. The behaviour of malloc is to allocate a block of heap memory of the specified size, initialise its contents to all zeroes, and return its start address. Arrays in LP23x are like arrays in C (not Java): arrays do not have a length field and there is no run-time bounds checking. If a program attempts to use a non-array value as an array, or to access an array out of bounds, the expected behaviour is undefined (none of the provided test inputs do these things). (TO BE CONTINUED...) (MORE INFORMATION IN THE PDF ATTACHED)
Project ID: 36466462

About the project

7 proposals
Remote project
Active 11 mos ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $173 USD for this job
User Avatar
Hello Siddharth, I hope this message finds you well. I will be able to help you with your project. I read through the description and it sounds like I am just the right person for it. I have the right skill set with sophisticated experience in Java and Programming. As a next step I would like to discuss some further questions with you. Either over the chat or a call, whatever you prefer. For my references and qualifications: I graduated in Computer Science with highest grades from one of the most reputable universities in Germany. Currently, I am enrolled in the Master's program. During my studies, I already published a paper on the subject of Artificial Intelligence. Further, I managed to get a lot of hands-on experience by working in several companies that operate in the field of Computer Science. As a native German speaker who was living in Canada for a year, my level in English is proficient/fluent. Further, I am in the preferred Freelancer program, making me part of the top 3% on the platform. Many successful past projects can be seen on my profile page. I am looking forward to working with you and if you have any further questions I would be happy to answer them. Best regards, Simon
$200 USD in 3 days
5.0 (18 reviews)
5.7
5.7
User Avatar
An IT Based Company with experience of 5 years at your service WHY YOU SHOULD HIRE US ? 1)We are expert in Java, C++, C#, Python, Digital Marketing, Data Entry, Data Processing, Sql Data Processing, Web Scrapping,Report Writing,Research writing ,Article writing. 2)We are technically very strong 3)We available almost 24/7 ,so we keep our employer updated all the time, send us a message to start work on your project right away. Anticipating your reply Regards : Rafay Shahid
$80 USD in 1 day
4.8 (169 reviews)
6.1
6.1
User Avatar
Hello! I have read your project specification carefully and it seems like I am a great fit for this job. I am confident that I can deliver a successful project that meets your need in a short time I performed "Sorting algorithm project" ,"Java Swing GUI project" and "SPLAT compiler in java" similar with your project before. I have the high skills and ability to complete your project perfectly and have the rich experience in java spring, java swing, javaFX and java compiler. I am available to begin work on your project immediately, and I look forward to the opportunity to work with you. I look forward to hearing from you. Sincerely, Silvio.
$250 USD in 3 days
5.0 (1 review)
2.0
2.0
User Avatar
Hello Dear Client, after thoroughly reading your PROJECT DESCRIPTION i have clearly understood it and i would like to work with you. I am a skilled and experienced in the named SKILLS. I consider your project DOABLE as it is within my areas of EXPERTISE. I am a competent guy committed in making your project a SUCCESS and providing the best QUALITY to your SATISFACTION. NB. #100% job completion, No excuses on meeting the deadline, good communication and provision of update on job progress. Please click the chat button for more discussion about the project. In case your project is deleted you can hire me directly on my profile (click hire me on my profile). CHEERS and Thanks in advance.
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello How are you? I have many experience for C/C++ and Java Development for compiler. I have checked your description and attachments. I can finish this project and give you perfect result. We can discuss more detail in chat. If you give me chance, I will try my best. Thanks Best Regards.
$150 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I work as Senior Java Developer for an important bank in Argentina with the following methodologies: Java, Springboot, Maven GitLab
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi Greetings! We are team of software developers. We have big team of around 1500 software developers all over the world associated with us. We have developers working on almost all the technologies. We will assign you a project manager who will assist you during entire process of project completion. We will provide you fast,timely and on time delivery with reasonable and minimum cost. We are a registered company located in Indore,India. We are available right now for the project discussion and can start the project on an immediate basis. We have understood your project requirement We have 9 ++ years of experience in design and development. We can handle projects from small styling to full development from scratch. We will provide a good result in a short time and satisfy you fully. We have experienced developers in Java Programming WHY-Us: » Ready to Start on Immediate basis & provide proper Testing. » Keep your Data & Website Secure: Daily Progress Updates. » You will get 30-days FREE BUG-SUPPORT even after Project-Completion Please come in touch and let's discuss more detail about your task via chat. Project milestones will be decided during chat. Thanks and Regards Tech India
$250 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Robertsganj, India
0.0
0
Payment method verified
Member since Jul 10, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.