Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 968765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:32:09+00:00 2026-05-16T02:32:09+00:00

i have planned to develop a tool that converts a program written in a

  • 0

i have planned to develop a tool that converts a program written in a programming language (eg: Java) to a common markup language (eg: XML) and that markup code is converted to another language (eg: C#).

in simple words, it is a programming language converter that converts program written in one language to another language.

i think it is possible but i don know where to start. i wanna know the possibilities to do so and information about some existing system.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:32:10+00:00Added an answer on May 16, 2026 at 2:32 am

    What you are trying to do is extremely hard, but if you want to know what you are up for I’ve listed the steps you need to follow below:

    First the hard bit:

    1. First you obtain or derive an operational semantics for your source and target languages.

    2. Then you enhance the semantics to capture your source and target memory models.

    3. Then you need to unify the two enhanced-semantics within a common operational model.

    4. Then you need to define a mapping from your source languages onto the common operational model.

    5. Then you need to define a mapping from your operational model to your target language

    Step 4, as you pointed out in your question, is trivial.
    Step 1 is difficult, as most languages do not have sufficiently formal semantics specified; but I recommend checking out http://lucacardelli.name/TheoryOfObjects.html as this is the best starting point for building a traditional OO semantics.
    Step 2 is almost certainly impossible in general, but may be merely obscenely difficult if you are willing to sacrifice some efficiency.
    Step 3 will depend on how clean the result of step 1 turned out, but is going to be anything from delicate and tricky to impossible.
    Step 5 is not going to be trivial, it is effectively writing a compiler.

    Ultimately, what you propose to do is impossible in general, due to the difficulties inherited in steps 1 and 2. However it should be difficult, but doable, if you are willing to: severely restrict the source language constructs supported; pretty much forget handling threads correctly; and pick two languages with sufficiently similar semantics (ie. Java and C# are ok, but C++ and anything-else is not).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a planned use of Apache XML RPC Client in a java web
I am developing an handwriting recog tool for android and I have planned to
I have planned to develop lead tracking software for our business which involves Customer
Let's say I have a single XML node of content in my code-behind. I
Here's my situation: We have an outside provider that will be pushing XML files
I am playing with a little web-app that is planned to have a presentation
I have planned to write my own light weight MVC for PHP, that will
I have an app planned out that needs to have a custom menu throughout
I want to have my ASP C# application to be multi-language. I was planned
In short, when you have planned or have thought about an idea to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.