Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jasmin-lang/jasmin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9a3e4a8
Choose a base ref
...
head repository: jasmin-lang/jasmin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe90131
Choose a head ref
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Sep 16, 2024

  1. Add support for binary, octal, and underscores in integer notation

    At the source level, integer literal can now be written in
    
      - binary with a 0b or 0B prefix: 0b10001111
      - octal with a 0o or 0O prefix: 0o7722
      - decimal without any explicit prefix: 42
      - hexadecimal with a 0x or 0X prefix: 0xabcd
    
    All these notations may contain underscores (except at the beginning),
    e.g., 0b1111_0000 or 10_854_736. Caveat _1234 is an indentifier, not a
    number.
    
    Co-authored-by: Vincent Laporte <Vincent.Laporte@inria.fr>
    MrDaiki and vbgl committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    fe90131 View commit details
    Browse the repository at this point in the history
Loading