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

Enhance integer literals #77

Open
Gusarich opened this issue Jul 25, 2024 · 0 comments
Open

Enhance integer literals #77

Gusarich opened this issue Jul 25, 2024 · 0 comments
Labels
feature Some new useful feature
Milestone

Comments

@Gusarich
Copy link
Owner

Gusarich commented Jul 25, 2024

We can allow underscores in them for better readability (e.g. 1_000_000 - 1 million), as well as bin, oct and hex literals (e.g. 0b01110, 0o12345 and 0xabcd). Another suggestion is to allow leading zeros.

@Gusarich Gusarich added the feature Some new useful feature label Jul 25, 2024
@Gusarich Gusarich added this to the 0.5.0 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Some new useful feature
Projects
None yet
Development

No branches or pull requests

1 participant