.. index:: single: asp_symbols .. _asp_symbols/0: .. rst-class:: right **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_calls`` | **Uses:** | :ref:`asp_program ` | :ref:`type ` | **Remarks:** | (none) | **Inherited public predicates:** | (none) .. contents:: :local: :backlinks: top Public predicates ----------------- .. index:: parse/2 .. _asp_symbols/0::parse/2: ``parse/2`` ^^^^^^^^^^^ Parses one complete ground symbol into a canonical tagged term. | **Compilation flags:** | ``static`` | **Template:** | ``parse(Codes,Symbol)`` | **Mode and number of proofs:** | ``parse(+list(integer),-term)`` - ``one_or_error`` | **Exceptions:** | ``Codes`` is not a ground term: | ``instantiation_error`` | ``Codes`` 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)