Go to the first, previous, next, last section, table of contents.
Author(s): Göran Smedbäck.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.9#178 (2003/12/4, 17:49:33 CET)
- Library usage:
:- use_module(library(tokeniser)).
- Exports:
- Predicates:
tokeniser/2
,
token_read/3
.
- Other modules used:
- System library modules:
iso_byte_char
,
lists
,
write
,
provrml/error
.
- PREDICATE: tokeniser/2:
-
Usage: tokeniser(VRML, Tokens)
- Description: 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.
- Call and exit should be compatible with:
VRML
is a list of atm
s.
(basic_props:list/2
)
Tokens
is a list of term
s.
(basic_props:list/2
)
- The following properties should hold at call time:
VRML
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Tokens
is a free variable.
(term_typing:var/1
)
- PREDICATE: token_read/3:
-
No further documentation available for this predicate.
Go to the first, previous, next, last section, table of contents.