This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/docs/md/yap.md

108 lines
3.3 KiB
Markdown
Raw Normal View History

2017-04-08 11:29:29 +01:00
YAP 6-3.5 Manual {#mainpage}
2016-12-10 09:13:43 +00:00
====================
2017-04-13 21:42:34 +01:00
<center>
![The YAP Logo](docs/icons/yap_128x128x32.png)
</center>
2016-12-10 09:13:43 +00:00
2017-04-13 21:42:34 +01:00
NOTE: this version of YAP is still experimental, documentation may be out of date.
## Introduction
2016-12-10 09:13:43 +00:00
2017-04-13 21:42:34 +01:00
This document provides User information on version 6.3.4 of
YAP (<em>Yet Another Prolog</em>). The YAP Prolog System is a
high-performance Prolog compiler developed at Universidade do
Porto.
The manual is organised as follows:
2016-12-10 09:13:43 +00:00
+ @subpage install
+ @subpage run
2017-04-13 21:42:34 +01:00
+ @subpage load_files
2016-12-10 09:13:43 +00:00
2017-05-08 18:55:34 +01:00
+ @subpage builtins
2016-12-10 09:13:43 +00:00
2017-05-08 18:55:34 +01:00
+ @subpage Extensions
2016-12-10 09:13:43 +00:00
2017-05-08 18:55:34 +01:00
+ @subpage library
2016-12-10 09:13:43 +00:00
+ @subpage packages
+ @subpage YAPProgramming
+ @subpage fli_c_cxx
\author Vitor Santos Costa,
\author Luís Damas,
\author Rogério Reis
\author Rúben Azevedo
© 1989-201 L. Damas, V. Santos Costa and Universidade
do Porto.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
This manual was written by Vítor Santos Costa,
Luís Damas, Rogério Reis, and Rúben Azevedo. The
manual is largely based on the DECsystem-10 Prolog User's Manual by
D.L. Bowen, L. Byrd, F. C. N. Pereira, L. M. Pereira, and
D. H. D. Warren. We have used comments from the Edinburgh Prolog
library written by R. O'Keefe. Documentation from many built-ins is
originally from the SWI-Prolog manual, with the gracious authorization
from
Jan Wielemaker. We would also like to gratefully
acknowledge the contributions from Ashwin Srinivasian.
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00
@page builtins YAP Core Built-ins
2017-05-02 07:42:21 +01:00
This chapter describes the core predicates that control the execution of
Prolog programs, provide fundamental functionality such as termm manipulation or arithmetic, and support interaction with external
resources, Many of the predicates described here have been standardised by the ISO. The standartised subset of Prolog also known as ISO-Prolog.
In the description of the arguments of predicates the following
notation will be used:
+ a preceding plus sign will denote an argument as an "input
argument" - it cannot be a free variable at the time of the call;
+ a preceding minus sign will denote an "output argument";
+ an argument with no preceding symbol can be used in both ways.
2017-05-08 18:55:34 +01:00
@page Library YAP Library
2017-05-02 07:42:21 +01:00
the library_directory path (set by the
`LIBDIR` variable in the Makefile for YAP). Several files in the
library are originally from the public-domain Edinburgh Prolog library.
2017-05-08 18:55:34 +01:00
@page Extensions YAP Extensions
YAP includes a number of extensions over the original Prolog
language.
2017-05-02 07:42:21 +01:00
2017-05-14 11:36:09 +01:00
@subpage atts
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00
@page YAPProgramming Programming in YAP
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00
@subpage yapsyntax.md
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00
@page packages Packages for YAP
YAP includes a number of packages.
@subpage real.md
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00
@subpage chr.md
2017-05-02 07:42:21 +01:00
2017-05-08 18:55:34 +01:00