Author(s): Göran Smedbäck, (Some changes by Manuel Carro), clip@dia.fi.upm.es, http://www.clip.dia.fi.upm.es/, The CLIP Group, Facultad de Informática, Universidad Politécnica de Madrid.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 0.1#1 (1998/12/10, 16:19:45 MET)
ProVRML is Prolog library to handle VRML code. The library consists of modules to handle the tokenising, that is breaking the VRML code into smaller parts that can be analysed further. The further analysis will be the parsing. This is a complex part of the library and consists of several modules to handle errors and value check. When the parsing is done we have the Prolog terms of the VRML code. The terms are quite similar to the origin VRML code and can easily be read if you recognise that syntax.
This Prolog terms of the VRML code is then possible to use for analysis, reconstruction, reverse enginering, building blocks for automatic generation of VRML code. There are several possibilities and these are only some of them.
When you are done with the Prolog terms for the code, you would probably want to reverse the action and return to VRML code. This is done with the code generation modules. These are built up in more or less the same manner as the parser modules.
provrml):- use_module(library(provrml)).
provrml)
Usage: vrml_web_to_terms(WEBAddress, Terms)
WEBAddress is an atom.
(basic_props:atm/1)
Terms is a string (a list of character codes).
(basic_props:string/1)
WEBAddress is currently a term which is not a free variable.
(term_typing:nonvar/1)
Terms is a free variable.
(term_typing:var/1)
Usage 1: vrml_file_to_terms(FileName, Term)
FileName is an atom.
(basic_props:atm/1)
Term is an atom.
(basic_props:atm/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
Term is a free variable.
(term_typing:var/1)
Usage 2: vrml_file_to_terms(FileName, Terms)
FileName is an atom.
(basic_props:atm/1)
Terms is an atom.
(basic_props:atm/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
Terms is currently a term which is not a free variable.
(term_typing:nonvar/1)
Usage: vrml_web_to_terms_file(WEBAddress, FileName)
WEBAddress is an atom.
(basic_props:atm/1)
FileName is an atom.
(basic_props:atm/1)
WEBAddress is currently a term which is not a free variable.
(term_typing:nonvar/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
No further documentation available for this predicate.
Usage: terms_file_to_vrml(FileName, List)
FileName is an atom.
(basic_props:atm/1)
List is a string (a list of character codes).
(basic_props:string/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
List is a free variable.
(term_typing:var/1)
Usage: terms_file_to_vrml_file(Atom, Atom)
Atom is an atom.
(basic_props:atm/1)
Atom is an atom.
(basic_props:atm/1)
Atom is currently a term which is not a free variable.
(term_typing:nonvar/1)
Atom is currently a term which is not a free variable.
(term_typing:nonvar/1)
Usage: terms_to_vrml_file(Term, FileName)
Term is an atom.
(basic_props:atm/1)
FileName is an atom.
(basic_props:atm/1)
Term is currently a term which is not a free variable.
(term_typing:nonvar/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
Usage: terms_to_vrml(Term, VRMLCode)
Term is an atom.
(basic_props:atm/1)
VRMLCode is a string (a list of character codes).
(basic_props:string/1)
Term is currently a term which is not a free variable.
(term_typing:nonvar/1)
VRMLCode is a free variable.
(term_typing:var/1)
Usage: vrml_to_terms(VRMLCode, Terms)
VRMLCode is a string (a list of character codes).
(basic_props:string/1)
Terms is an atom.
(basic_props:atm/1)
VRMLCode is currently a term which is not a free variable.
(term_typing:nonvar/1)
Terms is a free variable.
(term_typing:var/1)
Usage: vrml_in_out(FileName, FileName)
FileName is an atom.
(basic_props:atm/1)
FileName is an atom.
(basic_props:atm/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
FileName is currently a term which is not a free variable.
(term_typing:nonvar/1)
Usage: vrml_http_access(ReadFilename, BaseFilename)
ReadFilename is an atom.
(basic_props:atm/1)
BaseFilename is an atom.
(basic_props:atm/1)
ReadFilename is currently a term which is not a free variable.
(term_typing:nonvar/1)
BaseFilename is currently a term which is not a free variable.
(term_typing:nonvar/1)
provrml)
Usage: read_page(WEBAddress, Data)
WEBAddress is an atom.
(basic_props:atm/1)
Data is a string (a list of character codes).
(basic_props:string/1)
WEBAddress is currently a term which is not a free variable.
(term_typing:nonvar/1)
Data is a free variable.
(term_typing:var/1)
Go to the first, previous, next, last section, table of contents.