jscl icon indicating copy to clipboard operation
jscl copied to clipboard

ANSI compliance issue: not numbers read as numbers.

Open Gleefre opened this issue 1 year ago • 0 comments

As per CLHS 2.3.1.1.1, any token that contains an escape character is not a potential number and should be interpreted as a symbol. Among the listed examples, 5|| is specifically said to be interpreted as a symbol. However, JSCL reads it as a number:

CL-USER> (type-of '5||)
; => INTEGER

Gleefre avatar Jul 08 '24 06:07 Gleefre