Shaper sentinels resolve before any engine is consulted
The rule
Normative: this is the rule
- A shaper source MUST be checked for sentinels before its engine is consulted.
_NOW_MUST yield the current timestamp in ISO 8601 form._NULL_MUST yield null._EMPTY_ARRAY_MUST yield the empty array._EMPTY_OBJECT_MUST yield the empty object.- A source prefixed
_LITERAL:MUST yield the rest of the string verbatim. - A source that does reach the engine and fails there MUST fail the node.
- The failure MUST name the source expression and the engine.
Why
Recorded under OPEN-25.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · LANG-25 · changed in spec 1.0