com.svincent.moksa
Class Prologc.PrologRuleCompiler
java.lang.Object
|
+--com.svincent.moksa.WamObject
|
+--com.svincent.moksa.Prologc.PrologRuleCompiler
- Enclosing class:
- Prologc
- public static class Prologc.PrologRuleCompiler
- extends WamObject
A compiler for Prolog rules.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Prologc.PrologRuleCompiler
public Prologc.PrologRuleCompiler(PrologEngine _engine)
uniquify
public java.lang.String uniquify(java.lang.String name)
compileRule
public CompiledRule compileRule(PrologTerm term)
throws PrologException
- Compile a term into a Rule.
loadClass
public CompiledRule loadClass(SmallClass ruleClass)
throws PrologException
- Load a CompiledRule given a SmallClass instance.
makeRuleClass
public SmallClass makeRuleClass(PrologTerm term)
throws PrologException
- Make a new SmallClass instance from a Rule.
makeRuleClass
public SmallClass makeRuleClass(java.lang.String packageName,
PrologTerm term)
throws PrologException
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.