Modifier and Type | Field and Description |
---|---|
static String |
REGULAR_PROMPT |
Constructor and Description |
---|
PrologImplementationPeer()
Variant to support only the partial functionality which does not depend on the existence of an engine
|
PrologImplementationPeer(AbstractPrologEngine engine) |
Modifier and Type | Method and Description |
---|---|
abstract String[] |
alternativePrologExtensions(String filename) |
String |
executablePath(Properties p) |
abstract String |
executablePath(String binDirectory) |
abstract String |
getBinDirectoryEnvVar() |
String |
getBinDirectoryProperty(Properties p) |
PrologOperatorsContext |
getOperators() |
String |
getPrologNumericVersion() |
String |
getPrologVersion() |
boolean |
hasPrologExtension(String filename) |
abstract 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
|
abstract boolean |
isInterrupt(Object resultError)
True if an error, as obtained in a ResultFromProlog object, looks like an interrupt detection on the Prolog side,
cf.
|
abstract Recognizer |
makeBreakRecognizer() |
abstract Recognizer |
makePromptRecognizer() |
abstract String |
prologBinToBaseDirectory(String binDirectoryOrStartCommand) |
String |
unescapedFilePath(String p)
Some Prologs use '\' as an escape character in atoms, which can affect file paths under Windows.
|
abstract 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.
|
public static String REGULAR_PROMPT
public PrologImplementationPeer()
public PrologImplementationPeer(AbstractPrologEngine engine)
public String getBinDirectoryProperty(Properties p)
public abstract String getBinDirectoryEnvVar()
public String getPrologVersion()
public String getPrologNumericVersion()
public boolean hasPrologExtension(String filename)
public abstract String prologBinToBaseDirectory(String binDirectoryOrStartCommand)
public abstract Recognizer makePromptRecognizer()
public abstract Recognizer makeBreakRecognizer()
public abstract boolean isInterrupt(Object resultError)
public abstract String interprologFilename()
public abstract String visualizationFilename()
public String executablePath(Properties p)
public String unescapedFilePath(String p)
public PrologOperatorsContext getOperators()