> 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?"

Signature
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
Owen Jacobson - 13 Nov 2007 23:21 GMT
> > Is there any such "tool" available for coverting Java to Lisp or
> > Prolog?
[quoted text clipped - 10 lines]
> 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..?
Mark Jeffcoat - 14 Nov 2007 18:45 GMT
> 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] ...
> [1] Whaaaaa..?
Armed Bear Common Lisp comes to mind.
http://armedbear.org/abcl.html
(Supporting your right to keep and arm bears.)

Signature
Mark Jeffcoat
Austin, TX
> 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
------------------------------------------------------------------------
S P Engineering, Inc. | Large scale, mission-critical, distributed OO
| systems design and implementation.
pjm@spe.com | (C++, Java, Common Lisp, Jini, middleware, SOA)