j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

Exponent leading-zeros should be distinct from overall literal leading zeros #211

Open j-mie6 opened 1 year ago

j-mie6 commented 1 year ago

Some languages do not allow leading zeros on the numeric literals, but do within the exponents of scientific notation. Currently, disabling the leading zero also disables it for the exponents: this should be configurable separately. This is a major addition, as it involves changing the description objects.