Find Jobs
Hire Freelancers

Python Program to Produce a LOGO 'Execution Plan'

£20-250 GBP

Completed
Posted over 5 years ago

£20-250 GBP

Paid on delivery
This job relates to the LOGO Programming Language (if you’d like a full description, there’s one here: [login to view URL]~bh/v2ch14/[login to view URL]). The job required will be to write a program in the Python programming language (v2 or v3 - your choice). LOGO is implemented slightly differently pretty much everywhere. For the purposes of this project, there is a rather nice open-source online tool here: [login to view URL] This will serve as the ‘reference’ LOGO that we need to support. I’m in need of a ‘LOGO Execution Planner’. That is, a program which reads some LOGO from a text file and produces an ‘execution plan’ which will ultimately instruct a basic turtle to move around. The turtle has no loop capability, has no conditionals or variables and only understands these commands: FORWARD BACKWARD LEFT RIGHT PENUP PENDOWN (Where is a positive integer) The program should be written in Python (v2 or v3 - your choice). It should be a command line tool which reads the source LOGO from a file and outputs a new text file with the Execution Plan in it. Errors and warnings should be emitted to STDOUT. Such messages that relate directly to something in the source LOGO should emit the source code line number of the problem. The program required will read the source LOGO, strip out comments, execute any loops and thus produce a completely linear output execution plan. Any commands in the source LOGO program that can’t be turned into an output execution (eg. HOME, SETX, SETY, CLEARSCREEN, etc) should emit a warning to STDOUT, but otherwise will not affect the output. Unsupported commands in the source LOGO should cause an error and exit (with a non-zero exit code to the shell). For example, a simple LOGO program like this: FORWARD 100 LEFT 90 FORWARD 100 LEFT 90 FORWARD 100 LEFT 90 …will produce an execution plan that looks exactly the same as the source program. However, if the moves in the above code were abbreviated to FW, then the execution plan will still say FORWARD. Likewise, with a LOGO program like this: REPEAT 4 [ FW 100 LT 90 ] …then the output execution plan will be the same as in the previous example. Your code should be readable by a reasonably skilled Python programmer. Whilst not part of this project, it’s possible we may want to support other LOGO language, or additional Execution Plan commands in the future. This should be achievable by a reasonably skilled programmer without having to rework more than a small amount of your code. Your code should include Unit Tests in any commonly used testing framework you like. We don’t require 100% coverage, but all the complex parts of your code should be well covered. The finished project should include suitable [login to view URL] and any instructions for making it work, any LOGO examples you want to include etc. There’s no requirement to ‘install’ this as such - so no need to make any [login to view URL] etc (unless you’d prefer to do so). I can answer any questions you have via *Removed by Admin* as you work on this project. I’ll do my best to get back to you as quickly as possible so as not to hold you up too much. Obviously I’ll try to clarify anything that’s missing or unclear in this brief too!
Project ID: 17973662

About the project

7 proposals
Remote project
Active 6 yrs 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
Hi, I would be happy to make the transpiler for you. I can use a parser generator or create a custom recursive descent parser, which ever you prefer.
£150 GBP in 7 days
5.0 (1 review)
2.7
2.7
7 freelancers are bidding on average £181 GBP for this job
User Avatar
I am expert who understands the value of time. I pride myself in my attention to detail. I am very hard working and aim to deliver in less time than quoted. I want to make you, my employer happy without changing my bid or playing games. If you are looking for a true Freelancer, I am the Right person for you. I am available almost 24-7 and am very responsive. I feel proud that I am a trusted Freelancer who pleases almost every single client. You can rest assure, your work will be delivered well in advance of others, with passion and accuracy. I guarantee you instant communication & responses when you need me. Why choose me? I think every client is the reason for my success. I only take projects which I am sure I can do quickly and at my FIRST BID. I promise to deliver 100% Satisfaction.I have more than 5 year of experience in Python, Software Architecture. Please ping me for more discussion.
£210 GBP in 3 days
4.9 (115 reviews)
7.1
7.1
User Avatar
Hello I would be willing to take this up and also give proper code documentation and test framework as suggested by you. I take up limited projects and give value for money output. Please ping me to discuss further. Regards Gourav
£290 GBP in 7 days
5.0 (29 reviews)
6.0
6.0
User Avatar
Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.
£135 GBP in 2 days
4.7 (39 reviews)
5.6
5.6
User Avatar
Hello Sir I read your project brief in detail. I remember using Logo in MS DOS when we were kids. :) I guess we can make this for you. Project cost will be a little higher for your requirements for testing and TXT files . But we write clean code, and have a great team. Do ping us to discuss further. Regards Aditya
£300 GBP in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm developing in python for the past few years, however, new to freelancer. this is why my bid is cheap.
£130 GBP in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Tunbridge Wells, United Kingdom
4.0
1
Payment method verified
Member since May 20, 2009

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.