Java to Lisp/Scheme or Prolog translator/parser?

Andy (14)

Usenet Archive
Joined
Apr 27, 2007
Messages
11
Reaction score
0
Is there any such "tool" available for coverting Java to Lisp or Prolog?

Thanks in advance.
 

Joshua Cranmer

Usenet Archive
Joined
Mar 1, 2007
Messages
1,708
Reaction score
0
Andy said:
Is there any such "tool" available for coverting Java to Lisp or Prolog?

Thanks in advance.

Can you convert an object-oriented language into a constraint-solving language? No. Generic Java code has way too many structures that are impossible to represent in Prolog, AFAIK.

Looking into Java to LISP, which is theoretically much easier but still far from trivial, the only reference was to an off-hand comment in an IRC chatroom (irc://freenode.net/#lisp if you were wondering). The logs were of a recent date--September 1, 2007--so you might be able to get something there, but don't hold your breath.

The better question to ask here is "Why do you want to go from Java to LISP or Prolog?"
 

Owen Jacobson

Usenet Archive
Joined
Jun 23, 2003
Messages
856
Reaction score
0
Can you convert an object-oriented language into a constraint-solving language? No. Generic Java code has way too many structures that are impossible to represent in Prolog, AFAIK.

Looking into Java to LISP, which is theoretically much easier but still far from trivial, the only reference was to an off-hand comment in an IRC chatroom (irc://freenode.net/#lisp if you were wondering). The logs were of a recent date--September 1, 2007--so you might be able to get something there, but don't hold your breath.

That's probably the same guy we've been getting in ##java. He's working on a project where lisp was compiled to java bytecode[1] and wants to reverse-engineer java (the language) out of it[1]. He's making amazing progress, but I still think his requirements are a little unreasonable.

[1] Whaaaaa..?
 

Patrick May

Usenet Archive
Joined
Apr 25, 2002
Messages
314
Reaction score
0
Andy said:
Is there any such "tool" available for coverting Java to Lisp or Prolog?

Just rewrite your Java code in Lisp. It should only take 10% of the original lines of code, after all.

Regards,

Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top