object
asp_symbols
Parser for shown Clingo ground symbols.
Availability:
logtalk_load(asp(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-11-11
Compilation flags:
static, context_switching_callsUses:
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
parse/2
Parses one complete ground symbol into a canonical tagged term.
Compilation flags:
staticTemplate:
parse(Codes,Symbol)Mode and number of proofs:
parse(+list(integer),-term) - one_or_errorExceptions:
Codes is not a ground term:instantiation_errorCodes is ground but not a list of character codes:type_error(codes,Codes)Codes does not represent a supported ground symbol:domain_error(asp_symbol,Codes)A numeric symbol cannot be represented as an integer:
representation_error(asp_integer)Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)