Find Jobs
Hire Freelancers

I need help with my compiler design project

$30-250 USD

已关闭
已发布大约 1 年前

$30-250 USD

货到付款
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)
项目 ID: 36466462

关于此项目

7提案
远程项目
活跃1 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
7威客以平均价$173 USD来参与此工作竞价
用户头像
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 在3天之内
5.0 (18条评论)
5.7
5.7
用户头像
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 在1天之内
4.8 (169条评论)
6.1
6.1
用户头像
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 在3天之内
5.0 (1条评论)
2.0
2.0
用户头像
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 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
I work as Senior Java Developer for an important bank in Argentina with the following methodologies: Java, Springboot, Maven GitLab
$140 USD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在7天之内
0.0 (0条评论)
0.0
0.0

关于客户

INDIA的国旗
Robertsganj, India
0.0
0
付款方式已验证
会员自7月 10, 2021起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。