Skip to main content
gamedev.net
🔒 Locked

Program Translator

Started by Sema May 23, 2006 at 1:39 PM 3 replies 750+ views
Original Post
Sema
Sema
Hullo guys hope you good. I want to translate a simple game program from pascal to java. I am wondering if there is tool or any mean that i can use to this fast without a lot of fuss. i had come across antlr but seems it wont yield good results. I also thought of first translating pascal to C then C to java. thanx in advance.
NotAYakk
NotAYakk
1> Write a pascal interpreter in java.
2> Include the program as a large constant string.

=)
Sema
Sema

thank you NotAYakk
how easy is that (writing a pascal interpreter in java) i am not any good at pascal. any tips or way out.??

nice to hear from you.
jpetrie
jpetrie
Heh, it's not easy at all, especially if you don't know one (or both) of the languages involved. NotAYakk was pulling your chain. ;)

The link provided by the AP lists mainly information about migrating from one language to another (not tools to magically perform the transformation for you), and as he said, for a non-trivial program you are out of luck. You'll have to port it manually.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.