TigerPython-Parser icon indicating copy to clipboard operation
TigerPython-Parser copied to clipboard

Accept `_` in number litterals

Open donnerc opened this issue 1 year ago • 1 comments

The Python grammar allows underscores in the number litterals to increase readability. For instance, Python accepts litterals like 1_000_000 for 1 million. It would be great if the parser would accept that syntax.

donnerc avatar Nov 29 '23 13:11 donnerc

You are right; this should have been included already a while back. I will fix this as soon as possible.

Tobias-Kohn avatar Dec 04 '23 21:12 Tobias-Kohn