jProlog and RedHat Linux 8.0
- From: "Randall P. Hootman" <rhootman@xxxxxxxxxx>
- Date: Thu, 12 Jan 2006 12:22:41 GMT
I did an interesting experiment on my RedHat Linux 8.0
1. I downloaded the source java files for jProlog from http://www.cs.kuleuven.ac.be/~bmd/PrologInJava/
2. I recompiled the source java files using Java 1.5 as the original class files had been compiled using Java 1.0.2. I used the following bash script:
for i in *.java
do
javac -classpath . $i
done
3. Using gcj, I compiled the class files into a standalone native code Prolog. The command line to do this was:
gcj -classpath . *.class --main=Prolog -o Prolog
Now I have a standalone Prolog interpreter that I can modify because I have the source code in java!
Just posting this in case anyone else is interested.
Randy Hootman KG6QQV www.modoro.com .
- Prev by Date: Re: Permutations on lists
- Next by Date: Re: strange behaviuor
- Previous by thread: Permutations on lists
- Next by thread: debugging memory usage
- Index(es):
Relevant Pages
|
|