Find Jobs
Hire Freelancers

Java code into C# code with using AST Json -- 2

$30-250 USD

Completed
Posted about 2 years ago

$30-250 USD

Paid on delivery
Initial project: Create a compiler that translates Java code into C#code. Researches and identifies the language specification for Java that will be translated into C# Input Java code is error free (5 examples from simple to complex) Begin with translating simple Java language constructs like assignments and FOR loops. Need to be able to parse the input Java program, identifying language constructs and translating to their equivalent C# Also need to develop a set of progressively more complex Java program examples for translation UI MUST have two code panels, left is original, right is translated. Left panel must allow loading a file, or editing in place. UI must support saving either panel to a file. Solution came up: 1. We take the AST Json we get from the spring server and deserialize it to C#. If you look at things like [login to view URL] in [login to view URL] these are just the C# version of the json structures. 2. Because of this, we need to get some example output from the java parser lib we are using so we can correctly build these types 3. Once we have the AST in an C# form the basic idea is using the [login to view URL] to visit each of the nodes and walk the tree. 4. These nodes will create various roslyn SyntaxNodes and construct a C# ast (this is a bit vague rn, but testing around the idea made sense to me) 5. Once we have a C# AST we just call the generate method and we get C# code out **Right now what I need: In [login to view URL], fill out the codes based on the comments. This is a on-going project, so everything is not completed yet. Please tell me if you have any better ideas or able to help out with theater files.
Project ID: 32773527

About the project

2 proposals
Remote project
Active 2 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've checked your project and it is very interesting. I have experience in Java, OOP, C#, Winform... ******************************************************************************************* I've worked on several similar projects. Looking forward to hear more about the project via chatting. Regards! My Profile: ✓ https://www.freelancer.com/u/VovaLunev1
$50 USD in 1 day
5.0 (6 reviews)
3.7
3.7
2 freelancers are bidding on average $95 USD for this job
User Avatar
Hello, sir! I have read your requirement and lasik.zip. I noticed that I am appropriate to this project. As a skillful software developer, I have rich experience with C# and built many projects like this. I promise I will finish this project with high quality on time. I hope you to contact me so that we have a full discuss with the project. Best regard!
$140 USD in 3 days
5.0 (2 reviews)
2.1
2.1

About the client

Flag of UNITED STATES
Albany, United States
5.0
4
Payment method verified
Member since Apr 19, 2021

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.