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

lispy.el (lispy--read): Support INF, NaN and non-decimal numbers #594

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

taku0
Copy link

@taku0 taku0 commented May 16, 2021

This PR adds the following syntax to lispy--read.

  • Infinity: 1.0e+INF
  • Not a number: 0.0e+NaN
  • Hexadecimal: #x00ff
  • Binary: #b0101
  • Octal: #o777

taku0 added 2 commits May 16, 2021 21:02
1.0e+INF and 0.0+NaN are valid float number of Elisp.
- Hex: #xff00
- Binary: #b0101
- Octal: #o777
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 62.74% when pulling 85dbee5 on taku0:add-reader-syntax into 38a7df4 on abo-abo:master.

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

Successfully merging this pull request may close these issues.

2 participants