Prolog Atoms¶
Symbols and associated propeeties.
Prolog interns symbols, called atoms in a Hash table, usually called the atom table_. Each entry in this table stores the atom's name, but also may have a linked list of properties We use properties to represent all kinds of data including. data-base tecords, predicates. operators, and more.
In a nutshell:
-
YAPAtom serves as the gateway to the data-base;
-
YAProp abstracts most data-base objects.
-
PropTag allows distinguishing the different classes of YAPProp.
- YAPProp
- YAPAtom