]> Repositorios git - scryer-prolog.git/commitdiff
clarify meaning of AssertItems and QueryItems in BiMetaTrans source-level documentation
authorMark Thom <[email protected]>
Fri, 19 Jun 2020 05:47:54 +0000 (23:47 -0600)
committerMark Thom <[email protected]>
Fri, 19 Jun 2020 05:47:54 +0000 (23:47 -0600)
src/examples/bimetatrans/bimetatrans.pl

index 0f71bdcafae107015dc854372900fad6ea83d399..d652d651560d90a0db893acb0906f4fdc12da776 100644 (file)
  * inputs are expected to be ground, meaning they should not contain
  * free variables.
  *
+ * A RuleML/XML document is assumed to contain an optional Assert
+ * element (with zero or more children) and zero or more Query
+ * elements. The children of the Assert element are the Items of
+ * AssertItems, while the Items of QueryItems each correspond to a
+ * single Query element.
+ *
  * parse_ruleml/3 is meant to subsume an invertible function in the
  * sense that the top-level query
  *
  * ?- parse_ruleml(AssertItems, QueryItems, XML0),    % Prolog->RuleML
  *    parse_ruleml(AssertItems0, QueryItems0, XML),   % RuleML->Prolog
- *    AssertItems0 == AssertItems,                     % Test for expected round-trip results.
+ *    AssertItems0 == AssertItems,                    % Test for expected round-trip results.
  *    QueryItems0 == QueryItems,
  *    XML0 == XML.
  *