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

Feat/unify bool #908

Merged
merged 5 commits into from
Nov 23, 2024
Merged

Feat/unify bool #908

merged 5 commits into from
Nov 23, 2024

Commits on Nov 23, 2024

  1. refact: show more human readable help for format options

    Even using StrEnum, while it worked, when showing the help for this
    option it was showing the repr() of the instances, not the value.
    boriel committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    04405b4 View commit details
    Browse the repository at this point in the history
  2. refact: improve typing

    boriel committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    43efd57 View commit details
    Browse the repository at this point in the history
  3. refact: use enum constants for u8, i8, u16, i16, etc...

    Also added "bool" (not used yet) for future bool management.
    boriel committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    ab9d43f View commit details
    Browse the repository at this point in the history
  4. refact: improve typing and fix signatures

    Unbelievably, most of the binary functions where incorrect
    (and never used indeed). Fixed the signature of all of them,
    and make usage from the translator_inst_visitor.py module.
    
    This allows safe type-checking during editing time!
    boriel committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    6dc075d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    445d4cc View commit details
    Browse the repository at this point in the history