Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse many literals along side idents in names #398

Merged
merged 7 commits into from
Jan 4, 2024

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    f1fe5f2 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Accept ints as literals

    We will not accept floats because `123.123` is a float literal,
    but `123 .123` is a int literal followed by a class called `123`.
    This could be confusing so it will not be accepted.
    
    Ints can have leading zeros, like `0123`, but this is not guarranteed by
    the rust compiler to always work, which could cause future errors.
    An example would be truncating `001` to `1`.
    RedPhoenixQ committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    f7b6250 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16c492f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb1f966 View commit details
    Browse the repository at this point in the history
  4. Test output of ints with specified type

    This outputs exactly what is written, which is the obvious behaviour
    RedPhoenixQ committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    241a206 View commit details
    Browse the repository at this point in the history
  5. Use nightly version to generate output

    Previous verison was not using nightly, causing errors in the automated
    test that are using nightly
    RedPhoenixQ committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    2d32f9d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    ab66965 View commit details
    Browse the repository at this point in the history