@ciao-lang/ts-ciao-interface
Version:
Simple Ciao interface for node.
6 lines • 6.46 kB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#273f79"/><link rel="stylesheet" href="lpdoc.css" type="text/css"/><script type="text/javascript" src="lpdoc.js"></script><title>Classic Prolog — The Ciao System v1.22</title></head><body><div class="lpdoc-page fixleftbar"><a href="#" id="sidebar-toggle-button" class="lpdoc-navbutton"><span id="sidebar-button-arrow">☰</span></a><div id="sidebar" class="lpdoc-sidebar"><div style="height: 40px; margin-left: auto; margin-right: auto"><img src="ciao-logo_autofig.png" width=auto height=100%></div><div class="lpdoc-nav"><span class="lpdoc-on-right"><a class="lpdoc-navbutton" href="CompatProlog.html">↑</a><a class="lpdoc-navbutton" href="CompatProlog.html">←</a><a class="lpdoc-navbutton" href="classic_predicates.html">→</a><a class="lpdoc-navbutton" href="ciaosearch.html">🔍</a></span><span><a href="ciaofulltoc.html">TOC</a></span></div><hr></hr><ul class="lpdoc-itemize-sectpath"><li><a href="ciao.html">The Ciao System</a> »<br/> </li><li><a href="CompatProlog.html">PART V - Compatibility</a> »<br/> </li><li><a href=""><strong>Classic Prolog</strong></a> ▾<ul><li><a href="classic_predicates.html">Classic Prolog predicates</a></li></ul></li></ul><hr></hr><em>ON THIS PAGE</em><ul><li><a href="#Usage and interface">Usage and interface</a></li></ul></div><div class="lpdoc-main"><div id=""><h1>Classic Prolog</h1><a class="lpdoc-idx-anchor" href="ciaosearch.html#classic"></a>
<strong>Author(s):</strong> <a class="lpdoc-idx-anchor" id="Daniel Cabeza" href="ciaosearch.html#Daniel Cabeza">Daniel Cabeza</a>, <a class="lpdoc-idx-anchor" id="Jose F. Morales" href="ciaosearch.html#Jose F. Morales">Jose F. Morales</a>, <a class="lpdoc-idx-anchor" id="Manuel Hermenegildo" href="ciaosearch.html#Manuel Hermenegildo">Manuel Hermenegildo</a>.<p>
This package loads the predicates and features that <a class="lpdoc-idx-anchor" id="0" href="ciaosearch.html#classical Prolog">classical Prolog</a> implementations provide by default (the 'built-ins'). This includes the ISO-Prolog predicates and features as well as others that are de-facto standard built-ins in most Prolog implementations. Consult the <a class="lpdoc-idx-anchor" id="1" href="classic_predicates.html"><tt>classic_predicates</tt></a> module for the listing of the concrete predicates that are available and the Ciao libraries they come from (see pointer below). Apart from these, the features defined in <a href="dcg_doc.html">Definite Clause Grammars</a> and <a href="runtime_ops_doc.html">Enabling operators at run-time</a> are also activated.<p>The loading of this package can be controlled as described in the <em>Library usage</em> below and in <a href="modules.html">The module system</a>.<p><br/><div id="Usage and interface"><h2>Usage and interface</h2><div class="lpdoc-cartouche"><ul><li><strong>Library usage:</strong><br/>All these modules, packages, and predicates are included by default in modules starting with a <a class="lpdoc-idx-anchor" id="2" href="modules.html#module/2"><tt>module/2</tt></a> declaration or user files without a starting <a class="lpdoc-idx-anchor" id="3" href="toplevel_doc.html#use_package/1"><tt>use_package/1</tt></a> declaration. In the Ciao shell, they are loaded by default when no <a class="lpdoc-idx-anchor" id="4" href="ciaosearch.html#~/.ciaorc"><tt>~/.ciaorc</tt></a> exists.<p>Note that <tt>:- module(<em>modulename</em>,<em>exports</em>)</tt> is equivalent to <tt>:- module(<em>modulename</em>,<em>exports</em>,[default])</tt>.<p>If you do not want these predicates/features loaded for a given file (e.g., for purity considerations, to aid analysis, to help making the executable smaller, etc.) you can ask for this explicitly using <tt>:- module(<em>modulename</em>,<em>exports</em>,[])</tt>. The same can be achieved in a user file using <tt>:- use_package([])</tt> and in the top level by defining <a class="lpdoc-idx-anchor" id="5" href="ciaosearch.html#~/.ciaorc"><tt>~/.ciaorc</tt></a> (which can then include whatever alternative prelude is preferred).<li><strong>New operators defined:</strong><br/><a class="lpdoc-idx-anchor" id="6" href="ciaosearch.html#-->/2"><tt>-->/2</tt></a> [1200,xfx], <a class="lpdoc-idx-anchor" id="7" href="ciaosearch.html#|/2"><tt>|/2</tt></a> [1105,xfy], <a class="lpdoc-idx-anchor" id="8" href="datafacts_rt.html#concurrent/1"><tt>concurrent/1</tt></a> [1150,fx], <a class="lpdoc-idx-anchor" id="9" href="datafacts_rt.html#data/1"><tt>data/1</tt></a> [1150,fx], <a class="lpdoc-idx-anchor" id="10" href="dynamic_rt.html#dynamic/1"><tt>dynamic/1</tt></a> [1150,fx].
<li><strong>Implicit imports:</strong><br/><ul class="lpdoc-itemize-minus"><li><em>System library modules:</em><br/><a class="lpdoc-idx-anchor" id="11" href="operators.html"><tt>operators</tt></a>, <a class="lpdoc-idx-anchor" id="12" href="ciaosearch.html#dcg_phrase_rt"><tt>dcg_phrase_rt</tt></a>, <a class="lpdoc-idx-anchor" id="13" href="datafacts_rt.html"><tt>datafacts_rt</tt></a>, <a class="lpdoc-idx-anchor" id="14" href="dynamic_rt.html"><tt>dynamic_rt</tt></a>, <a class="lpdoc-idx-anchor" id="15" href="classic_predicates.html"><tt>classic_predicates</tt></a>.
<li><em>Packages:</em><br/><a class="lpdoc-idx-anchor" id="16" href="ciaosearch.html#prelude"><tt>prelude</tt></a>, <a class="lpdoc-idx-anchor" id="17" href="ciaosearch.html#initial"><tt>initial</tt></a>, <a class="lpdoc-idx-anchor" id="18" href="condcomp_doc.html"><tt>condcomp</tt></a>, <a class="lpdoc-idx-anchor" id="19" href="assertions_doc.html"><tt>assertions</tt></a>, <a class="lpdoc-idx-anchor" id="20" href="ciaosearch.html#assertions/assertions_basic"><tt>assertions/assertions_basic</tt></a>, <a class="lpdoc-idx-anchor" id="21" href="runtime_ops_doc.html"><tt>runtime_ops</tt></a>, <a class="lpdoc-idx-anchor" id="22" href="dcg_doc.html"><tt>dcg</tt></a>, <a class="lpdoc-idx-anchor" id="23" href="ciaosearch.html#dcg/dcg_phrase"><tt>dcg/dcg_phrase</tt></a>, <a class="lpdoc-idx-anchor" id="24" href="dynamic_doc.html"><tt>dynamic</tt></a>, <a class="lpdoc-idx-anchor" id="25" href="datafacts_doc.html"><tt>datafacts</tt></a>.
</ul></ul></div></div></div><div class="lpdoc-footer">Generated with LPdoc using Ciao</div></div><div class="lpdoc-clearer"></div></div></body></html>