public class JPL extends Object
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library Public License for more details.
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DEBUG |
| Constructor and Description |
|---|
JPL() |
| Modifier and Type | Method and Description |
|---|---|
static void |
halt()
Terminates the Prolog session.
|
static void |
init()
Default initializor.
|
static void |
init(String[] argv)
Initializes the Prolog engine, using the String argument
parameters passed.
|
static void |
main(String[] argv) |
static String |
version_string() |
static jpl.Version |
version() |
protected static final boolean DEBUG
public static void init(String[] argv)
This method must be called before making any queries.
argv - Initialization parameter listpublic static void init()
public static void halt()
Note. This method calls the FLI halt() method with a status of 0, but the halt method currently is a no-op in SWI.
public static jpl.Version version()
public static String version_string()
public static void main(String[] argv)
Copyright © 2015. All rights reserved.