Author(s): Göran Smedbäck.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.9#173 (2003/12/4, 17:47:16 CET)
This module offers a dynamic tree structured dictionary a bit combined with predicates that gives it the useability to be the dictionary for the parser.
dictionary_tree
):- use_module(library(dictionary_tree)).
dictionary_tree
)
Usage: create_dictionaries(Dictionary)
Dictionary
is a dictionary.
(internal_types:dictionary/1
)
Dictionary
is a free variable.
(term_typing:var/1
)
Usage: is_dictionaries(Dictionary)
Dictionary
is a dictionary.
(internal_types:dictionary/1
)
Usage: get_definition_dictionary(Dictionary, Tree)
Dictionary
is a dictionary.
(internal_types:dictionary/1
)
Tree
is a tree structure.
(internal_types:tree/1
)
Dictionary
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Tree
is a free variable.
(term_typing:var/1
)
Usage: get_prototype_dictionary(Dictionary, Tree)
Dictionary
is a dictionary.
(internal_types:dictionary/1
)
Tree
is a tree structure.
(internal_types:tree/1
)
Dictionary
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Tree
is a free variable.
(term_typing:var/1
)
Usage: dictionary_insert(Key, Type, Field, Dictionary, Info)
Key
is an atom.
(basic_props:atm/1
)
Type
is an atom.
(basic_props:atm/1
)
Field
is any term.
(basic_props:term/1
)
Dictionary
is a tree structure.
(internal_types:tree/1
)
Info
is an atom.
(basic_props:atm/1
)
Key
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Type
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Field
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Dictionary
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Usage: dictionary_lookup(Key, Type, Field, Dictionary, Info)
Key
is an atom.
(basic_props:atm/1
)
Type
is an atom.
(basic_props:atm/1
)
Field
is any term.
(basic_props:term/1
)
Dictionary
is a dictionary.
(internal_types:dictionary/1
)
Info
is an atom.
(basic_props:atm/1
)
Key
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Dictionary
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Info
is a free variable.
(term_typing:var/1
)
Usage: merge_tree(Tree, Tree)
Tree
is a tree structure.
(internal_types:tree/1
)
Tree
is a tree structure.
(internal_types:tree/1
)
Tree
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Tree
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Go to the first, previous, next, last section, table of contents.