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

Floats don't work in the python implementation. #646

Open
vipenzo opened this issue Sep 22, 2023 · 0 comments
Open

Floats don't work in the python implementation. #646

vipenzo opened this issue Sep 22, 2023 · 0 comments

Comments

@vipenzo
Copy link

vipenzo commented Sep 22, 2023

In the python implementation float numbers are not accepted by the reader.
There is a bug in reader.py at line 34 (read_atom function)

It is now:
elif re.match(float_re, token): return int(token)
should be:
elif re.match(float_re, token): return float(token)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant