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

Gdamore/int parser #45

Closed
wants to merge 3 commits into from
Closed

Gdamore/int parser #45

wants to merge 3 commits into from

Conversation

gdamore
Copy link
Owner

@gdamore gdamore commented Sep 20, 2024

No description provided.

This includes the following "breaking" changes to be aware of:

- The syntax '5.' (a lone trailing decimal point) is no longer
  supported for floating points.  Use '5.0' instead. (It is not
  deemed worth it to carry the lexer just for this!)
- The "int_literal" and "float_literal" node types are collapsed
  into just "num_literal". (Due to LR grammar in TS, we have to
  collapse to avoid false early matches for integer.)
- The "i" suffix for imaginaries is not supported (it is deprecated
  in D since at least 2.101, and its not worth it to carry that baggage.)
@gdamore
Copy link
Owner Author

gdamore commented Sep 21, 2024

I'm declining this, as I don't want to do it right now. If we get an official statement that 5. and similar are deprecated, then I'll make this change, but right now I don't have to do that.

@gdamore gdamore closed this Sep 21, 2024
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.

1 participant