|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.declarativa.interprolog.PrologImplementationPeer
com.declarativa.interprolog.GNUPeer
| Field Summary |
| Fields inherited from class com.declarativa.interprolog.PrologImplementationPeer |
REGULAR_PROMPT |
| Constructor Summary | |
GNUPeer(AbstractPrologEngine engine)
|
|
| Method Summary | |
String[] |
alternativePrologExtensions(String filename)
Demmand .pl |
String |
executablePath(String d)
|
String |
fetchPrologNumericVersion()
|
String |
getBinDirectoryProperty(Properties p)
|
String |
interprologFilename()
Returns the path for the Prolog file that must be loaded for InterProlog to function, USING '/' AS THE SEPARATION CHARACTER independently of the OS platform |
boolean |
isInterrupt(Object error)
True if an error, as obtained in a ResultFromProlog object, looks like an interrupt detection on the Prolog side, cf. predicate handleDeterministicGoal in interprolog.P/pl/etc. resultError is not null |
Recognizer |
makeBreakRecognizer()
|
Recognizer |
makePromptRecognizer()
|
String |
prologBinToBaseDirectory(String binDirectoryOrStartCommand)
Assumes that Prolog options can not include "/bin/"... |
String |
unescapedFilePath(String p)
Some Prologs use '\' as an escape character in atoms, which can affect file paths under Windows. |
String |
visualizationFilename()
Returns the path for the Prolog file that must be loaded for InterProlog's visualization predicates to function, typically in the context of using a ListenerWindow. |
| Methods inherited from class com.declarativa.interprolog.PrologImplementationPeer |
executablePath, getOperators, getPrologNumericVersion, getPrologVersion |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GNUPeer(AbstractPrologEngine engine)
| Method Detail |
public String getBinDirectoryProperty(Properties p)
getBinDirectoryProperty in class PrologImplementationPeerpublic String executablePath(String d)
executablePath in class PrologImplementationPeerpublic String fetchPrologNumericVersion()
public String[] alternativePrologExtensions(String filename)
alternativePrologExtensions in class PrologImplementationPeerpublic String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
prologBinToBaseDirectory in class PrologImplementationPeerpublic Recognizer makePromptRecognizer()
makePromptRecognizer in class PrologImplementationPeerpublic Recognizer makeBreakRecognizer()
makeBreakRecognizer in class PrologImplementationPeerpublic String interprologFilename()
PrologImplementationPeer
interprologFilename in class PrologImplementationPeerpublic String visualizationFilename()
PrologImplementationPeer
visualizationFilename in class PrologImplementationPeerpublic String unescapedFilePath(String p)
PrologImplementationPeer
unescapedFilePath in class PrologImplementationPeerpublic boolean isInterrupt(Object error)
PrologImplementationPeer
isInterrupt in class PrologImplementationPeer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||