Re: Recommendations for a free Prolog interpreter in Java
From: Cameron Hughes (cahughes_at_cc.ysu.edu)
Date: 01/29/04
- Previous message: -- Thomas vO --: "eclipse and activation constraints"
- In reply to: Paul Singleton: "Re: Recommendations for a free Prolog interpreter in Java"
- Next in thread: C. M. Sperberg-McQueen: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: C. M. Sperberg-McQueen: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: Paul Singleton: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: Oskar Bartenstein: "Re: Recommendations for a free Prolog interpreter in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 10:50:18 -0500
Paul Singleton wrote:
>
> AFAIK all the Prolog-interpreter-in-Java projects are dormant,
> but it might be possible (and timely) to awake one of them.
>
> If you have reviewed all those listed in Robert Tolksdorf's
> excellent (and apparently actively maintained) list, which
> he has recently moved to
>
> http://www.robert-tolksdorf.de/vmlanguages
>
> then some on this group would be interested in your conclusions.
> We need to know which interpreters are basically sound, not
> inherently hopelessly inefficient and are sufficiently well
> structured and documented to be made feature-complete a bit
> at a time and with less effort than starting from scratch :-)
>
> I wonder whether tuProlog is a candidate?
>
> Your requirements could also be met by a Prolog-to-Java (or
> Prolog-to-JVM-bytecode) compiler: have a look at Prolog Cafe
>
> http://kaminari.scitec.kobe-u.ac.jp/PrologCafe/
>
> Incidentally, Mercury
>
> http://www.cs.mu.oz.au/research/mercury/
>
> has (still undocumented) compiler options for generating
> Java source...
>
> Paul Singleton
>
> S wrote:
>
> > e_bruton@hotmail.com (Elizabeth Bruton) wrote in message news:<9e9d15ff.0401161045.647233ae@posting.google.com>...
> >
> >>Hi smileyhamster
> >>Being a newbie myself too, I would say that the only Java/Prolog
> >>program out there that I know of is a Java interface for Prolog called
> >>JPL (http://sourceforge.net/projects/jpl/) and which is listed on the
> >>Swi-Prolog website at
> >>http://gollem.swi.psy.uva.nl/twiki/pl/bin/view/Foreign/JavaInterface
> >
> >
> > I found there's actually many available ones you can use. A good list
> > of them is at:
> > http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.html#logic
> >
> > I have trouble finding a good one though because some aren't free,
> > aren't mature etc. I would just like to know if anyone could recommend
> > one these types of Prolog systems that work completely in Java.
> >
> > The problem with using interfaces in Java that talk to Prolog
> > implementations is that it requires the user to have the correct
> > Prolog implementation (like SWI) installed on their computer. I want
> > people to be able to easily try out my project online as most people
> > do not have the patience to download, unzip, configure and run a
> > program just to see what it's like.
> >
> > Thanks.
Just curious,
What is the advantage of using Prolog in a Java environment?
The JVM is already a layer or so on top of the instruction set
If the Prolog is interepreted and runs as a layer on top of Java this
seems like there would be some performance issues.
Why would this be better than say using the JNI to connect
to native prolog code(e.g. using FLI of SWI-Prolog). If the
objective is to access Prolog in a web server then is performance
an issue?
Even if the objective is to let a Java client have access to
Prolog, it just seems like it would be easier and possibly
more efficient to do a post from the Java client to Prolog native
code running on server.
I guess I'm just trying to understand what's the attraction for
Prolog running on top of Java. Unless we're talking about JavaOS,
or dedicated Java machines where's the advantage?
Thanx
Cameron Hughes
Programmer/Analyst
Youngstown State University
http://www.cc.ysu.edu/~cahughes
- Previous message: -- Thomas vO --: "eclipse and activation constraints"
- In reply to: Paul Singleton: "Re: Recommendations for a free Prolog interpreter in Java"
- Next in thread: C. M. Sperberg-McQueen: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: C. M. Sperberg-McQueen: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: Paul Singleton: "Re: Recommendations for a free Prolog interpreter in Java"
- Reply: Oskar Bartenstein: "Re: Recommendations for a free Prolog interpreter in Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|