Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANSI compliance issue: not numbers read as numbers. #495

Open
Gleefre opened this issue Jul 8, 2024 · 0 comments
Open

ANSI compliance issue: not numbers read as numbers. #495

Gleefre opened this issue Jul 8, 2024 · 0 comments
Labels

Comments

@Gleefre
Copy link
Contributor

Gleefre commented Jul 8, 2024

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
@davazp davazp added the bug label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants