Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2170

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - generator (library)</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_215.html">previous</A>, <A HREF="ciao_217.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC847" HREF="ciao_toc.html#TOC847">generator (library)</A></H1>
<P>
<A NAME="IDX9155"></A>


<P>
<STRONG>Author(s):</STRONG> G&ouml;ran Smedb&auml;ck.


<P>
<STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST)



<UL>
<LI><A HREF="ciao_216.html#SEC848">Usage and interface (generator)</A>
<LI><A HREF="ciao_216.html#SEC849">Documentation on exports (generator)</A>
</UL>



<H2><A NAME="SEC848" HREF="ciao_toc.html#TOC848">Usage and interface (<CODE>generator</CODE>)</A></H2>

<div class="cartouche">

<UL>

<LI><STRONG>Library usage:</STRONG>

<CODE>:- use_module(library(generator)).</CODE>

<LI><STRONG>Exports:</STRONG>


<UL>

<LI><EM>Predicates:</EM>

<A NAME="IDX9156"></A>
<CODE>generator/2</CODE>, 
<A NAME="IDX9157"></A>
<CODE>nodeDeclaration/4</CODE>.

</UL>

<LI><STRONG>Other modules used:</STRONG>


<UL>

<LI><EM>System library modules:</EM>

<A NAME="IDX9158"></A>
<CODE>aggregates</CODE>, 
<A NAME="IDX9159"></A>
<CODE>dynamic</CODE>, 
<A NAME="IDX9160"></A>
<CODE>iso_misc</CODE>, 
<A NAME="IDX9161"></A>
<CODE>iso_byte_char</CODE>, 
<A NAME="IDX9162"></A>
<CODE>iso_incomplete</CODE>, 
<A NAME="IDX9163"></A>
<CODE>operators</CODE>, 
<A NAME="IDX9164"></A>
<CODE>read</CODE>, 
<A NAME="IDX9165"></A>
<CODE>write</CODE>, 
<A NAME="IDX9166"></A>
<CODE>provrml/lookup</CODE>, 
<A NAME="IDX9167"></A>
<CODE>provrml/io</CODE>, 
<A NAME="IDX9168"></A>
<CODE>provrml/generator_util</CODE>, 
<A NAME="IDX9169"></A>
<CODE>provrml/parser_util</CODE>, 
<A NAME="IDX9170"></A>
<CODE>provrml/error</CODE>, 
<A NAME="IDX9171"></A>
<CODE>provrml/internal_types</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC849" HREF="ciao_toc.html#TOC849">Documentation on exports (<CODE>generator</CODE>)</A></H2>
<P>
<A NAME="IDX9172"></A>
<A NAME="IDX9173"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>generator/2:</B>
<DD><A NAME="IDX9174"></A>


<P>
<STRONG>Usage:</STRONG> <CODE>generator(+Terms, -VRML)</CODE>

<UL>
<LI><EM>Description:</EM> This predicate is the generator of VRML code. It accepts a list of terms that is correct VRML code, other kind of terms will be rejected will errormessage accordingly. The output is a string of correct VRML code, acceptable for VRML browsers.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>+Terms</CODE> is a list of <CODE>terms</CODE>s.
 (<CODE>basic_props:list/2</CODE>)

<CODE>-VRML</CODE> is a string (a list of character codes).
 (<CODE>basic_props:string/1</CODE>)
</UL>

</DL>

<P>
<A NAME="IDX9175"></A>
<A NAME="IDX9176"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>nodeDeclaration/4:</B>
<DD><A NAME="IDX9177"></A>


<P>
No further documentation available for this predicate.


</DL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_215.html">previous</A>, <A HREF="ciao_217.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>