XGP is an integrated development environment the extends gprolog to work with Cocoa under Macintosh OS X (10.3 through 10.5). It extends gprolog with builtins predicates for dialog, menu, and graphics facilities.
gprolog (GNU Prolog) is primarily the work of Daniel Diaz, It is a largely ISO standard-compliant Prolog, extended with constraint logic programming. It runs on many platforms. The Mac OS X port of gprolog was created as the first step toward
XGP (including creating a fink package for this port).
XGP relies on patching version 1.2.19 for the PowerPC CPU and version 1.3.0 for the Intel CPU, which are only available from the main site (http://gnu-prolog.inria.fr). The SourceForge site (https://sourceforge.net/projects/gprolog/) does not carry the most recent Versions.
Features
- Executes GProlog from a Cocoa Mac OS X application.
- Compatible with Mac OS X 10.3 ("Panther"), 10.4 ("Tiger"), and 10.5 ("Leopard").
- Program editing support
- Connects GProlog input and output to document windows within the
XGP application.
- Collections of Prolog predicates built in to
XGP/GProlog
- The IDE supports a Scripts menu for easy extension with simple operations.
- The menus and dialogs of the IDE are implemented in prolog using the above builtins. This implementation can be changed by editing a single file ('initialize_environment.pl') without modifying or re-compiling
XGP. This allows the
XGP user to extensively tailor the environment (while working completely in prolog). Also, this is the Foundation of
XGP-based "double-clickable" applications.
- Automatic consulting of source file after opening and automatic consulting of changed open source file documents before evaluating a query.
- Standard Prolog debugger (trace, spy, etc.), as implemented by gprolog.