mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 22:44:47 +03:00
7e930d8670
This removes the rule for `integer` and uses `natural` for all numeric literals. Otherwise, lexing would be context-dependent for no good reason. This is consistent with the lexer and parser of the Leo compiler. Note that, for instance, `-1field` is not a literal, but rather a unary expression where `-` is applied to the literal `1field`. This is consistent with other languages too. |
||
---|---|---|
.. | ||
error-guides | ||
grammar | ||
rfc | ||
compiler-phases.pdf |