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

TLAPM fails to parse decimal numbers of form .12345 without leading zero #173

Open
ahelwer opened this issue Oct 29, 2024 · 0 comments
Open
Labels
bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser

Comments

@ahelwer
Copy link
Collaborator

ahelwer commented Oct 29, 2024

Identical to SANY issue tlaplus/tlaplus#596; this should be accepted per the language spec:

---- MODULE Test ----
op == .5
====

However, this is more likely to be resolved by just changing the language spec. People are more used to the 0.12345 syntax from other languages.

Ref #159

@ahelwer ahelwer added bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, usually in the code. syntax parser Issues relating to TLAPM's syntax parser
Development

No branches or pull requests

1 participant