YAP User's Manual
Version 4.5.5
V'{@dotless{i}}tor Santos Costa,
Lu'{@dotless{i}}s Damas,
Rog'erio Reis, and
R'uben Azevedo
Introduction
Installing YAP
Tuning the Functionality of YAP
Tuning YAP for a Particular Machine and Compiler
Tuning YAP for
GCC
.
Compiling Under Visual C++
Compiling Under SGI's cc
Running YAP
Running Yap Interactively
Running Prolog Files
Syntax
Syntax of Terms
Prolog Tokens
Numbers
Integers
Floating-point Numbers
Character Strings
Atoms
Variables
Punctuation Tokens
Layout
Loading Programs
Program loading and updating
Changing the Compiler's Behavior
Saving and Loading Prolog States
The Module System
Module Concepts
Defining a New Module
Using Modules
Meta-Predicates in Modules
Built-In Predicates
Control Predicates
Handling Undefined Procedures
Predicates on terms
Comparing Terms
Arithmetic
I/O Predicates
Handling Streams and Files
Handling Streams and Files
Handling Input/Output of Terms
Handling Input/Output of Characters
Input/Output Predicates applied to Streams
Compatible C-Prolog predicates for Terminal I/O
Controlling Input/Output
Using Sockets From Yap
Using the Clausal Data Base
Modification of the Data Base
Looking at the Data Base
Using Data Base References
Internal Data Base
The Blackboard
Collecting Solutions to a Goal
Grammar Rules
Access to Operating System Functionality
Term Modification
Profiling Prolog Programs
Counting Calls
Arrays
Predicate Information
Miscellaneous
Library Predicates
Apply Macros
Association Lists
AVL Trees
Heaps
List Manipulation
Ordered Sets
Pseudo Random Number Integer Generator
Queues
Random Number Generator
Red-Black Trees
Regular Expressions
Splay Trees
Reading From and Writing To Strings
Calling The Operating System from YAP
Utilities On Terms
Call With registered Cleanup Calls
Calls With Timeout
Updatable Binary Trees
Unweighted Graphs
Extensions
Rational Trees
Coroutining
Attributed Variables
Attribute Declarations
Attribute Manipulation
Attributed Unification
Displaying Attributes
Projecting Attributes
Attribute Examples
CLP(Q,R) Manual
Introduction to CLP(Q,R)
Referencing CLP(Q,R)
CLP(QR) Acknowledgments
Solver Interface
Notational Conventions
Solver Predicates
Unification
Feedback and Bindings
Linearity and Nonlinear Residues
How Nonlinear Residues are made to disappear
Isolation Axioms
Numerical Precision and Rationals
Projection and Redundancy Elimination
Variable Ordering
Turning Answers into Terms
Projecting Inequalities
Why Disequations
Syntactic Sugar
Monash Examples
Compatibility Notes
A Mixed Integer Linear Optimization Example
Implementation Architecture
Fragments and Bits
CLPQR bugs
CLPQR References
Constraint Handling Rules
Copyright
Introduction
Introductory Examples
CHR Library
Loading the Library
Declarations
Constraint Handling Rules, Syntax
How CHR work
Pragmas
Options
Built-In Predicates
Consulting and Compiling Constraint Handlers
Compiler-generated Predicates
Operator Declarations
Exceptions
Debugging CHR Programs
Control Flow Model
CHR Debugging Predicates
CHR Spy-points
CHR Debugging Messages
CHR Debugging Options
Programming Hints
Constraint Handlers
Backward Compatibility
Logtalk
Threads
Creating and Destroying Prolog Threads
Monitoring Threads
Thread communication
Message Queues
Signalling Threads
Threads and Dynamic Predicates
Thread Synchronisation
Parallelism
Tabling
Tracing at Low Level
Profiling the Abstract Machine
Debugging
Debugging Predicates
Interacting with the debugger
Indexing
C Language interface to YAP
Terms
Unification
Strings
Memory Allocation
Controlling Yap Streams from
C
From
C
back to Prolog
Writing predicates in C
Loading Object Files
Saving and Restoring
Changes to the C-Interface in Yap4
Using YAP as a Library
Compatibility with Other Prolog systems
Compatibility with the C-Prolog interpreter
Major Differences between YAP and C-Prolog.
Yap predicates fully compatible with C-Prolog
Yap predicates not strictly compatible with C-Prolog
Yap predicates not available in C-Prolog
Yap predicates not available in C-Prolog
Compatibility with the Quintus and SICStus Prolog systems
Major Differences between YAP and SICStus Prolog.
Yap predicates fully compatible with SICStus Prolog
Yap predicates not strictly compatible with SICStus Prolog
Yap predicates not available in SICStus Prolog
Compatibility with the ISO Prolog standard
Summary of Yap Predefined Operators
Predicate Index
Concept Index
This document was generated on 21 December 2004 using
texi2html
1.56k.