@tabnas/expr 0.5.18 → 0.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/translate.ts CHANGED
@@ -55,7 +55,8 @@ const TRANSLATION: TranslationParts = Object.freeze({
55
55
  "A list whose first element is an object whose src member is a default operator's source text, as the reader's own value describes an operator, is written with that text in the object's place, as an operation where its count makes one: only the src member is read, and the object's other members, the token the operator was read from among them, are not kept. A list whose first element is an object with any other src that is not empty, zero, false or null, as a C syntax tree's token has, is refused with TARGET_VALUE_UNREPRESENTABLE, since the reader would read that src alone as the list's operator.",
56
56
  "A negative number is written with its sign, which reads back as the operator - applied to the number's magnitude.",
57
57
  "A number that is not finite is written as the string Infinity, -Infinity or NaN."
58
- ]
58
+ ],
59
+ "whole": "A binary operator follows its left term, and a later operator can take a finished operation as its own term, as the - in 1*2-3 takes 1*2, so an expression's tree is complete only at its end: a document is read whole before anything is written."
59
60
  }
60
61
  }
61
62
  `,