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

Allow starting a number with a decimal point #221

Closed
chriscraws opened this issue Feb 28, 2020 · 1 comment · Fixed by #296
Closed

Allow starting a number with a decimal point #221

chriscraws opened this issue Feb 28, 2020 · 1 comment · Fixed by #296

Comments

@chriscraws
Copy link

≫ 0.5
= 0.5

≫ .5
Parse error at position 1: Expected identifier

Is there possibility for supporting numbers starting with a decimal point?

@sharkdp
Copy link
Owner

sharkdp commented Feb 28, 2020

It's certainly possible. The parser would have to be changed.

I'm not really sure why I decided against implementing in the past. I think I'd be in favor if someone wants to work on this.

triallax added a commit to triallax/insect that referenced this issue May 13, 2022
triallax added a commit to triallax/insect that referenced this issue May 13, 2022
triallax added a commit to triallax/insect that referenced this issue May 18, 2022
sharkdp pushed a commit that referenced this issue May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants