Skip to content

Fix lexing of number literals #5

Closed
@matklad

Description

@matklad
  • make sure that lexer itself works reasonably (note: it's ok to parse more stuff as numbers)
  • create a validator that converts literals to their values, and which checks that all digits are in range, and that there are not too many digits.
  • bazillion of tests: float literals are hard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions