SourceForge logo
SourceForge logo
GNU Prolog

GNU Prolog Files

The GNU Prolog native compiler

Brought to you by: bartkul, diaz, domob, mio, spa

The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version gprolog-1.5.0.tar.gz (3.8 MB)
Email in envelope

Get an email when there's a new version of GNU Prolog

Home
Name Modified Size InfoDownloads / Week
1.5.0 2023年05月01日
1.4.4 2013年05月15日
0
1.4.3 2013年03月29日
0
1.4.2 2012年12月04日
0
1.3.1 2009年12月01日
0
1.3.0 2009年12月01日
0
README 2013年05月14日 6.4 kB
0
Totals: 7 Items 6.4 kB 208
 GNU PROLOG
 ==========
			 by Daniel Diaz
			 Daniel.Diaz@univ-paris1.fr
INTRODUCTION
************
GNU Prolog is a native Prolog compiler with constraint solving over finite
domains (FD) developed by Daniel Diaz (http://cri-dist.univ-paris1.fr/diaz/)
Last information can be found at http://www.gnu.org/software/prolog
or better at http://www.gprolog.org.
A lot of work has been devoted to the ISO compatibility. GNU Prolog is very
close to the ISO standard.
Here are some features of GNU Prolog:
Prolog system:
 - conforms to the ISO standard for Prolog (integer/floating arithmetic,
 streams, dynamic code, exceptions).
 - clause indexing.
 - a lot of extensions: global variables, definite clause grammars (DCG),
 sockets interface, operating system interface,...
 - more than 300 Prolog built-in predicates.
 - Prolog debugger and a low-level WAM debugger.
 - line editing facility under the interactive interpreter with completion
 on atoms.
 - powerful bidirectional interface between Prolog and C.
Compiler:
 - native-code compiler producing stand alone executables.
 - simple command-line compiler accepting a wide variety of files:
 Prolog files, C files, WAM files,...
 - direct generation of assembly code 15 times faster than wamcc + gcc.
 - most of unused built-in predicates are not linked (to reduce the size
 of the executables).
 - compiled predicates (native-code) as fast as wamcc on average.
 - consulted predicates (byte-code) 5 times faster than wamcc.
Constraint solver:
 - FD variables well integrated into the Prolog environment (full
 compatibility with Prolog variables and
 - integers). No need for explicit FD declarations.
 - very efficient FD solver (comparable to commercial solvers).
 - high-level constraints can be described in terms of simple primitives.
 - a lot of predefined constraints: arithmetic constraints, boolean
 constraints, symbolic constraints, reified constraints,...
 - several predefined enumeration heuristics.
 - the user can define his own new constraints.
 - more than 50 FD built-in constraints/predicates.
PORTS
*****
GNU Prolog is currently ported to the following architectures:
 - ix86 / GNU/Linux
 - ix86 / Win32 using Cygwin (see file src/WINDOWS)
 - ix86 / Win32 using MinGW (see file src/WINDOWS)
 - ix86 / Win32 using MSVC++ (see file src/WINDOWS)
 - ix86 / SCO
 - ix86 / Solaris
 - ix86 / FreeBSD
 - ix86 / OpenBSD
 - ix86 / NetBSD
 - ix86 / Darwin (Mac OS X)
 - x86_64 / GNU/Linux
 - x86_64 / Solaris
 - x86_64 / Win64 using MinGW64 (see file src/WINDOWS64)
 - x86_64 / Win64 using MSVC++ (see file src/WINDOWS64)
 - x86_64 / Darwin (Mac OS X)
 - PowerPC / GNU/Linux
 - PowerPC / Darwin (Mac OS X)
 - PowerPC / NetBSD
 - sparc / SunOS (4.1.3 or higher)
 - sparc / Solaris
 - sparc / NetBSD
 - alpha / GNU/Linux
 - alpha / OSF1
 - mips / irix
INSTALLATION
************
Please refer to the INSTALL file (in the same directory)
USING GNU PROLOG
****************
Be sure that adequate environment variables are set (see INSTALL)
You can then invoke the top-level using:
	gprolog
and the compiler using:
	gplc FILE
The simpliest way to compile a Prolog file 'prog.pl' is then:
	gplc prog.pl
which will produce the executable called prog (use gplc --help to have a
brief overview of available options).
Refer to the documentation for more information (see below).
WINDOWS
*******
In Microsoft Windows if you intend to use the gplc compiler as described in
the documentation you need to ascertain the following conditions are
met:
 - for the port compiled with MS Visual C++ (tested with version
 6.0 and Visual C++ 2005 Express Edition) you'll need to have
 MinGW as.exe (renamed as mingw-as.exe) installed and the cl.exe
 compiler (used mainly as linker by GNU Prolog) available in 
 your session path (alternatively link.exe is used).
 - for the ports compiled either with MinGW or Cygwin, the gcc
 toolchain must be installed and available in your session
 path.
Observing these needs you'll also will be able to do the mixed
language programming, as the examples included in the ExamplesC
directory. However you'll need to write your own Makefile as the one
provided is for gplc calling 'gcc' and the options passed by GNU
Prolog will not work (see file ExamplesC/README).
DOCUMENTATION
*************
The directory doc contains various versions of the manual. Refer to the
file doc/README for more information.
An in-line HTML version can be accessed from the GNU Prolog web page.
WEB
***
The GNU Prolog web site is: http://www.gnu.org/software/prolog/
or also (primary web site): http://www.gprolog.org/
MAILING LIST
************
To communicate with other GNU Prolog users and/or implementors send a mail to
users-prolog@gnu.org. To (un)subscribe to this mailing list send a mail to
users-prolog-request@gnu.org with (un)subscribe in the subject line.
BUGS
****
Please report bugs to bug-prolog@gnu.org. To (un)subscribe to this mailing
list send a mail to bug-prolog-request@gnu.org with (un)subscribe in the
subject line.
COPYING
*******
GNU Prolog is free software. Since version 1.4.0, GNU Prolog distributed
under a dual license: LGPL or GPL. So, you can redistribute it and/or modify
it under the terms of either:
 * the GNU Lesser General Public License (LGPL) as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
or 
 * the GNU General Public License (GPL) as published by the Free Software
 Foundation; either version 2 of the License, or (at your option) any
 later version. 
or both in parallel (as here).
GNU Prolog 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 General Public License for more details.
You should have received copies of the GNU General Public License and the GNU
Lesser General Public License along with this program. If not, see
http://www.gnu.org/licenses/.
Remark: versions of GNU Prolog prior to 1.4.0 were entirely released under
the GNU General Public License (GPL).
Source: README, updated 2013年05月14日
You Might Also Like
無料プランが拡大! | Auth0 Icon
無料プランが拡大! | Auth0

無料プランのMAUは25,000まで、さらに、Okta Connectionsが無制限になり、開発者のみなさんがアプリの開発に注力することができるようになりました。

無料・有料プランを拡張してほしい!そのような声を開発者の方々からいただき、プランが大幅に変更されました。プランの制約とセキュリティーの悩みから解き放たれ、みなさんが開発に集中できるようになることを願っています。
無料で始める
Centralized Workload Automation and Job Scheduling Icon
Centralized Workload Automation and Job Scheduling

Orchestrate your entire tech stack with our no-code connectors and low-code REST API adapter

Orchestrates any process from a single point of control. Build reliable, low-code workflows in half the time. Develop end-to-end business and IT processes faster with hundreds of drag-and-drop actions. Coordinate enterprise-wide MFT processes using dozens of prebuilt actions for common file operations.
Learn More
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X

Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /