com.svincent.moksa
Class Prologc
java.lang.Object
|
+--com.svincent.moksa.WamObject
|
+--com.svincent.moksa.Prologc
- public class Prologc
- extends WamObject
Compiles Prolog source files into Java class files.
|
Method Summary |
static java.lang.String |
calculatePackageName(java.lang.String prologFileName)
|
static void |
compile(java.util.List sourceFileNames,
boolean generateClasses,
boolean generateSource,
boolean miniProlog)
|
static void |
compilePrologFile(PrologEngine engine,
java.lang.String fileName,
boolean generateClass,
boolean generateSource,
boolean miniProlog)
|
static void |
main(java.lang.String[] args)
The main entry point. |
static void |
spewClass(java.lang.String packageName,
SmallClass c,
boolean generateClass,
boolean generateSource)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Prologc
public Prologc()
main
public static void main(java.lang.String[] args)
- The main entry point. Parses command line args, does glob expansion,
finally calls
compile
compile
public static void compile(java.util.List sourceFileNames,
boolean generateClasses,
boolean generateSource,
boolean miniProlog)
throws PrologException
compilePrologFile
public static void compilePrologFile(PrologEngine engine,
java.lang.String fileName,
boolean generateClass,
boolean generateSource,
boolean miniProlog)
throws PrologException
calculatePackageName
public static java.lang.String calculatePackageName(java.lang.String prologFileName)
spewClass
public static void spewClass(java.lang.String packageName,
SmallClass c,
boolean generateClass,
boolean generateSource)
throws java.io.IOException
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.