gprolog(1)

gprolog1

Prolog interpreter and native code compiler

Usage

gprolog

gplc [options] [filename]

Overview

GNU Prolog (gprolog) is a prolog interpreter and compiler to native code.

In its basic form, gprolog starts an interactive Prolog interpreter. The gplc command compiles Prolog sources into object files, which may be linked to produce a stand-alone executable.

See the GNU Prolog manual (online) for how to use gprolog and gplc for writing Prolog programs.

Options

--help

Print a summary of allowable options.

filename

(for gplc) compile the specified file.

Environment

TRAILSZ

Size of the trail stack, needed to effect backtracking (undo bindings), defaults to 2097152 (2MB).

CSTRSZ

Size of the constraints stack, defaults to 2097152 (2MB).

GLOBALSZ

Size of the global stack, also known as the heap, defaults to 4194304 (4MB).

LOCALSZ

Size of the local stack, defaults to 2097152 (2MB).

Releases

11 releases since Debian 2.2 (Potato); the text changed 2 times.

  1. 2.2
  2. 3.0–8
  3. 11–13

--help since Debian 11 (Bullseye).

Author

GNU Prolog is written and maintained by Daniel Diaz.

This manual page was compiled by Salvador Abreu <[email protected]>, based on the page for Yap Prolog written by Ralf Treinen <[email protected]>.

From gprolog 1.4.5.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.