Skip to content

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

Open
taku0 wants to merge 2 commits into
abo-abo:masterfrom
taku0:add-reader-syntax
Open

lispy.el (lispy--read): Support INF, NaN and non-decimal numbers#594
taku0 wants to merge 2 commits into
abo-abo:masterfrom
taku0:add-reader-syntax

Conversation

@taku0
Copy link
Copy Markdown

@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
Copy Markdown

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