Find Jobs
Hire Freelancers

Racket language programming -- 2

$10-30 USD

Completed
Posted about 1 year ago

$10-30 USD

Paid on delivery
So I have to write a church-compiling code: churchify recursively walks the AST and converts each expression in the input language to an equivalent (when converted back via each church->XYZ) expression in the output language (define (churchify e) ;(match e ;[_ 'todo])) (match e ; Let [`(let ([,x ,rhs]) ,body) (churchify `((lambda (,x) ,body) ,rhs))] ; Curry Lambdas [`(lambda () ,body) `(lambda (_) ,(churchify body))] [`(lambda (,x) ,body) `(lambda (,x) ,(churchify body))] [`(lambda (,x ,ys ...) ,body) `(lambda (,x) ,(churchify `(lambda ,ys ,body)))] there are certain test cases that the code needs to pass. three of those test cases pass. there are 19 in total command: python3 [login to view URL] -a -v thank you.
Project ID: 36377767

About the project

3 proposals
Remote project
Active 1 yr 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
Awarded to:
User Avatar
Hey I can help you fixing your program, I use racket and I know about church-compiling at the university
$24 USD in 7 days
0.0 (0 reviews)
0.0
0.0
3 freelancers are bidding on average $50 USD for this job
User Avatar
Hello, I just read out your description and am interested in your project. am expert in Racket Programming and also done with this. If you need quality work than feel free to contact me. Thanks
$100 USD in 7 days
3.6 (2 reviews)
3.1
3.1
User Avatar
I'm glad to hear that some of your test cases have passed! It sounds like you might need help with the remaining cases. Without knowing the specific test cases you are failing, it's difficult to provide targeted help. However, I can offer some general tips for debugging your code: Check your parentheses: Make sure that you have the correct number of parentheses in each expression, and that they are in the right place. A misplaced or missing parenthesis can cause syntax errors and unexpected behavior. Use print statements: You can use print statements to check the intermediate values of your program as it runs. This can help you identify where things are going wrong. Use the REPL: You can use a Read-Eval-Print Loop (REPL) to interactively test your code. This allows you to evaluate expressions one at a time and see their output. You can use the REPL to test individual components of your code and make sure they are working as expected. Check your assumptions: Make sure that you understand the input and output formats of each function, and that you are correctly handling edge cases and error conditions. Double-check your understanding of the problem statement and make sure that you are addressing all of the requirements. I hope these tips help you identify and fix any issues with your church-compiling code. Good luck with the rest of your tests!
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SPAIN
Madrid, Spain
5.0
5
Payment method verified
Member since Mar 18, 2023

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.