Convert Python to Java + small fix in order to create the correct and expected output file
$40-70 USD
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.
Project ID: #7001679
About the project
11 freelancers are bidding on average $98 for this job
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
Hi! I have 3 year experience in python and java development and can start working immediately. Regards, Olexander
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
I work with Java and Python in many of my projects. I can do this in five days, maybe before this deadline.