Skip to content

Reconcile numeric expression parsing with measured GitHub behavior #175

Description

@kjanat

Follow-up from #47. Its original lexer inventory predates subsequent changes and must be rechecked.

The register identified rejected forms accepted by GitHub, including hexadecimal literals with leading zeros and integers above int32, and pointed to 32-bit parsing in expr_parser.go. #29 addressed part of the original inventory.

  • Compare the current lexer/parser and tests with the preserved expression reference and probes.
  • Identify remaining mismatches, separating literal parsing from string-to-number coercion and intentional restrictions from defects.
  • Fix confirmed parser defects with focused regression tests; document any deliberately retained restrictions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions