Closed billstclair closed 7 years ago
["/let",{"x":"@@x"},"@x"] -> <LookupPageAtom "x">
That happens because "@@x" becomes "@x" after parsing, which is then interpreted as a LookupPageAtom.
It should parse as "@@x", and the @@ changed to @ at rendering time.
Duh. This isn't a problem. The example should have been:
["/let",{"x":"@@x"},"$x"]
which properly evaluates to "@x", since "@@x" parses as a StringAtom, which does NOT get further evaluated.
["/let",{"x":"@@x"},"@x"] -> <LookupPageAtom "x">
That happens because "@@x" becomes "@x" after parsing, which is then interpreted as a LookupPageAtom.
It should parse as "@@x", and the @@ changed to @ at rendering time.