Convert Python to Java + small fix in order to create the correct and expected output file

Completed Posted Jan 20, 2015 Paid on delivery
Completed Paid on delivery

In this project, I would like to convert 6 files written in python to be written in java. The Java code should do the exact same thing as the python code does with 1 smaill fix and 1 small code addition when creating the java.

The input argument of the code is a directory containing a jack file. The output is a vm file (with the same name as the jack file within the directory).The input dir should be read from any relative path (e.g. ..\..\<dir_name>).

The fix that is required is to do the same for all tests input (attached [login to view URL]) - as the code does for mostt of them. Currently the code creates the correct vm file for all the input test directories except for one - the Snake directory - this should be fixed in the coverted java code.

The addition I want is the following:

Now the code know the following possible operators (known jack operators):

+, -, *, /, &, |, <, >,=

I also need to add the possibilty that the ^ operator will be seen in the input jack file and it should be processed like the other operators when creating the output vm file.

Attached:

1. Python source file that should be coverted to java ([login to view URL])

2. Directories that are given as the input arguments ([login to view URL])

3. The same directories with the expected outcome after running the code (the same dir containing the jack file and the created vm file).

* The vm files in this zip are the correct and the expected vm files the code should create.

ETA: 3 days.

Java Python

Project ID: #7001679

About the project

11 proposals Remote project Active Jan 26, 2015

Awarded to:

kostyaf

I've bid on your previous project where you require to fix Java sources for *.jack files, but was not chosen. Could you please explain why previous Java source code isn't suitable any more? I'm ready to convert all Pyt More

$72 USD in 3 days
(22 Reviews)
5.0

11 freelancers are bidding on average $98 for this job

lovinagarwal21

I have 9+ years of exp in c c++ java j2ee hibernate spring webservices databases. Done multiple projects like this and almost proficient in design patterns..Checkout my reviews, all projects were completed successfully More

$111 USD in 3 days
(127 Reviews)
7.3
Fortut

A proposal has not yet been provided

$70 USD in 3 days
(100 Reviews)
5.9
anuyadav1

A proposal has not yet been provided

$100 USD in 3 days
(61 Reviews)
5.9
alexyer

Hi! I have 3 year experience in python and java development and can start working immediately. Regards, Olexander

$300 USD in 3 days
(10 Reviews)
4.2
Nkokila

A proposal has not yet been provided

$77 USD in 3 days
(12 Reviews)
4.0
handerman

A proposal has not yet been provided

$66 USD in 2 days
(5 Reviews)
3.8
ankit283037

I am a fast coder and usually write bug-free code. I won over 30 competitions in algorithms and development. No upfront milestones or payments required. I believe I can handle your project well. I reply within 24 hours More

$70 USD in 3 days
(0 Reviews)
0.0
phsuzana

I work with Java and Python in many of my projects. I can do this in five days, maybe before this deadline.

$55 USD in 5 days
(0 Reviews)
0.0
prajaktcs

A proposal has not yet been provided

$88 USD in 2 days
(0 Reviews)
0.0