Sophie

Sophie

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

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               - tokeniser (library)</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_223.html">previous</A>, <A HREF="ciao_225.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="SEC871" HREF="ciao_toc.html#TOC871">tokeniser (library)</A></H1>
<P>
<A NAME="IDX9630"></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)


<P>
<STRONG>Version of last change:</STRONG> 1.9#178 (2003/12/4, 17:49:33 CET)



<UL>
<LI><A HREF="ciao_224.html#SEC872">Usage and interface (tokeniser)</A>
<LI><A HREF="ciao_224.html#SEC873">Documentation on exports (tokeniser)</A>
</UL>



<H2><A NAME="SEC872" HREF="ciao_toc.html#TOC872">Usage and interface (<CODE>tokeniser</CODE>)</A></H2>

<div class="cartouche">

<UL>

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

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

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


<UL>

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

<A NAME="IDX9631"></A>
<CODE>tokeniser/2</CODE>, 
<A NAME="IDX9632"></A>
<CODE>token_read/3</CODE>.

</UL>

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


<UL>

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

<A NAME="IDX9633"></A>
<CODE>iso_byte_char</CODE>, 
<A NAME="IDX9634"></A>
<CODE>lists</CODE>, 
<A NAME="IDX9635"></A>
<CODE>write</CODE>, 
<A NAME="IDX9636"></A>
<CODE>provrml/error</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC873" HREF="ciao_toc.html#TOC873">Documentation on exports (<CODE>tokeniser</CODE>)</A></H2>
<P>
<A NAME="IDX9637"></A>
<A NAME="IDX9638"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>tokeniser/2:</B>
<DD><A NAME="IDX9639"></A>


<P>
<STRONG>Usage:</STRONG> <CODE>tokeniser(+VRML, -Tokens)</CODE>

<UL>
<LI><EM>Description:</EM> This predicate will perform the parsing of the VRML code. The result will be tokens that will be the source for producing the Prolog terms of the VRML code. This is done in the parser module. From these terms analysis, changing, and any thing that you want to do with VRML code from Prolog programming language. We perform the predicate with a catch call to be able to output error messages if encountered.

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

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

<CODE>-Tokens</CODE> is a list of <CODE>term</CODE>s.
 (<CODE>basic_props:list/2</CODE>)
</UL>

</DL>

<P>
<A NAME="IDX9640"></A>
<A NAME="IDX9641"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>token_read/3:</B>
<DD><A NAME="IDX9642"></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_223.html">previous</A>, <A HREF="ciao_225.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>