Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Is there a converter?


Growlith1223
 Share

Recommended Posts

Why would/do you want to convert it from Microsoft Visual Basic 6 to Microsoft C#.net? C or C++ would be far more useful. Additionally, it isn't exactly possible. Writing compilers to compile any language to bytecode, machine code or Assembly, or another flexible language is hard. Writing compilers that also support optimisation, is way harder. Writing a compiler that converts a restricted language to another restricted language, with optimisations, with the proper conversions of interfaces is improbable.

If you really want this to be converted from Microsoft Visual Basic to Microsoft C#, you'll have to rewrite the entire engine in Microsoft C# from scratch. If you knew how to do that, you would realise that Microsoft C# would be a poor choice.

Yours faithfully,
  Stephan.
Link to comment
Share on other sites

Virtually, there's no converter for any language, I believe. If there was, there'd have to be VERY similar code. I.E, print would make text print in one language, and printline would make text print in another, the converter would convert print to printline, fixing the problem. That wouldn't work here, as Visual Basic 6 is completely different than any other language.
Link to comment
Share on other sites

No, compilers and assemblers do exist and are very common, as processors always execute machine code, and as virtual machines almost always execute bytecode. Compilers that do convert language X to language Y are very exotic though.

Yours faithfully,
  Stephan.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...