Related articles |
---|
[5 earlier articles] |
Re: Generating Java Bytecode macrakis@app2.osf.org (Stavros Macrakis) (1996-11-19) |
Re: Generating Java Bytecode chapados@nortel.ca (nicolas (n.) chapados) (1996-11-19) |
Re: Generating Java Bytecode gunnar@candleweb.no (Gunnar R|nning) (1996-11-19) |
Re: Generating Java Bytecode jsa@alexandria.organon.com (1996-11-19) |
Re: Generating Java Bytecode john@dwaf-hri.pwv.gov.za (John Carter) (1996-11-21) |
Re: Generating Java Bytecode jhummel@crispix.ICS.UCI.EDU (Joe Hummel) (1996-11-21) |
Re: Generating Java Bytecode bmd@cs.kuleuven.ac.be (Bart Demoen) (1996-11-21) |
Re: Generating Java Bytecode stephens@math.ruu.nl (Bruce Stephens) (1996-11-21) |
Re: Generating Java Bytecode torhr@storm.stud.ntnu.no (1996-11-21) |
Re: Generating Java Bytecode kuznetso@MIT.EDU (1996-11-21) |
Re: Generating Java Bytecode billms@ee.ucla.edu (Bill Mangione-Smith) (1996-11-21) |
Re: Generating Java Bytecode pardo@cs.washington.edu (1996-11-21) |
Re: Generating Java Bytecode lynch@frigg.cci.de (Andrew Lynch) (1996-11-24) |
[10 later articles] |
From: | Bart Demoen <bmd@cs.kuleuven.ac.be> |
Newsgroups: | comp.compilers |
Date: | 21 Nov 1996 23:05:47 -0500 |
Organization: | Compilers Central |
References: | 96-11-128 |
Keywords: | Java |
Nicolas Chapados wrote:
> I was planning to eventually work out the details of a WAM->JVM
> ``converter'' to get a portable Prolog system.
Paul Tarau (tarau@info.umoncton.ca) and I wrote during the summer a
Prolog to Java compiler (*) (admittedly not complete, neither as
optimised as one could, but fairly complete and with goodies as
intuitionistic assumption, backtrackable destructive assignment and
delay). We considered compiling to JVM code, but rejected this: the
JVM seemed not appropriate to us;
moreover, better compilers for Java are appearing and they will probably
do a better job starting from Java code then from JVM code; so in the
long run, it is probably more efficient to generate Java and reuse the
effort Java compiler writers are doing; and more portable;
about WAM->Java or JVM: if you want to implement Prolog in Java, you
might want to reconsider some design decisions of WAM; WAM is very
specialised towards a particular memory management and gets in the way
of what Java already offers;
(*) http://www.cs.kuleuven.ac.be/~bmd/PrologInJava
Bart Demoen
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.