• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
          • Syntax-for-tools
            • Disambiguator
            • Abstract-syntax
            • Parser
            • Validator
            • Printer
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Defpred
            • Output-files
            • Abstract-syntax-operations
              • Abstract-syntax-irrelevants
              • Expr-priority
                • Expr-priority-fix
                • Expr-priority-case
                • Expr-priorityp
                • Expr-priority-equiv
                • Expr-priority-kind
                • Expr-priority-xor
                • Expr-priority-unary
                • Expr-priority-sh
                • Expr-priority-rel
                • Expr-priority-primary
                • Expr-priority-postfix
                • Expr-priority-mul
                • Expr-priority-logor
                • Expr-priority-logand
                • Expr-priority-ior
                • Expr-priority-expr
                • Expr-priority-eq
                • Expr-priority-cond
                • Expr-priority-cast
                • Expr-priority-asg
                • Expr-priority-and
                • Expr-priority-add
              • Expr-priority-<=
              • Combine-dirabsdeclor-into-dirabsdeclor
              • Check-decl-spec-list-all-typespec/stoclass
              • Binop-expected-priorities
              • Expr->priority
              • Transunit-at-path
              • Check-expr-binary
              • Apply-pre-inc/dec-ops
              • Apply-post-inc/dec-ops
              • Check-spec/qual-list-all-typespec
              • Check-decl-spec-list-all-typespec
              • Check-expr-mul
              • Type-spec-list-signed-long-long-int-p
              • Expr-unary/postfix/primary-p
              • Expr-to-asg-expr-list
              • Transunit-ensemble-paths
              • Type-spec-list-signed-short-int-p
              • Type-spec-list-signed-long-long-p
              • Type-spec-list-signed-long-int-p
              • Expr-postfix/primary-p
              • Dirabsdeclor-declor?-nil-p
              • Check-strunispec-no-members
              • Type-spec-list-signed-short-p
              • Type-spec-list-signed-long-p
              • Type-spec-list-signed-int128-p
              • Type-spec-list-signed-char-p
              • Expr-zerop
              • Type-spec-list-unsigned-long-long-int-p
              • Type-spec-list-signed-int-p
              • Spec/qual-list-to-type-spec-list
              • Expr-priority->=
              • Expr-priority->
              • Expr-priority-<
              • Decl-spec-list-to-type-spec-list
              • Decl-spec-list-to-stor-spec-list
              • Check-enumspec-no-list
              • Type-spec-list-unsigned-short-int-p
              • Type-spec-list-unsigned-long-long-p
              • Type-spec-list-long-double-complex-p
              • Stor-spec-list-static-threadloc-p
              • Stor-spec-list-extern-threadloc-p
              • Binop->priority
              • Type-spec-list-unsigned-short-p
              • Type-spec-list-unsigned-long-int-p
              • Type-spec-list-unsigned-int128-p
              • Type-spec-list-signed-p
              • Type-spec-list-long-long-int-p
              • Type-spec-list-double-complex-p
              • Type-spec-list-unsigned-long-p
              • Type-spec-list-unsigned-int-p
              • Type-spec-list-unsigned-char-p
              • Type-spec-list-long-double-p
              • Type-spec-list-float-complex-p
              • Type-spec-list-short-int-p
              • Type-spec-list-long-long-p
              • Type-spec-list-long-int-p
              • Stringlit-list->prefix?-list
              • Stor-spec-list-typedef-p
              • Stor-spec-list-threadloc-p
              • Stor-spec-list-static-p
              • Stor-spec-list-register-p
              • Stor-spec-list-extern-p
              • Type-spec-list-unsigned-p
              • Type-spec-list-short-p
              • Type-spec-list-long-p
              • Type-spec-list-int128-p
              • Type-spec-list-float-p
              • Type-spec-list-double-p
              • Type-spec-list-char-p
              • Stor-spec-list-auto-p
              • Check-expr-iconst
              • Type-spec-list-int-p
              • Check-expr-ident
              • Declor->ident
              • Type-spec-list-permp
              • Initdeclor->ident
            • Validation-information
            • Implementation-environments
            • Concrete-syntax
            • Ascii-identifiers
            • Unambiguity
            • Preprocessing
            • Abstraction-mapping
          • Atc
          • Language
          • Representation
          • Transformation-tools
          • Insertion-sort
          • Pack
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Abstract-syntax-operations

Expr-priority

Fixtype of expression priorities.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:primary → expr-priority-primary
:postfix → expr-priority-postfix
:unary → expr-priority-unary
:cast → expr-priority-cast
:mul → expr-priority-mul
:add → expr-priority-add
:sh → expr-priority-sh
:rel → expr-priority-rel
:eq → expr-priority-eq
:and → expr-priority-and
:xor → expr-priority-xor
:ior → expr-priority-ior
:logand → expr-priority-logand
:logor → expr-priority-logor
:cond → expr-priority-cond
:asg → expr-priority-asg
:expr → expr-priority-expr

The grammar defines different kinds of expressions in order to specify their relative priorities. This fixtype corresponds to those kinds/priorities of expressions, straighforwardly derived from the grammar. The :expr case is for top-level expressions, i.e. the rule name expression in the ABNF grammar.

Subtopics

Expr-priority-fix
Fixing function for expr-priority structures.
Expr-priority-case
Case macro for the different kinds of expr-priority structures.
Expr-priorityp
Recognizer for expr-priority structures.
Expr-priority-equiv
Basic equivalence relation for expr-priority structures.
Expr-priority-kind
Get the kind (tag) of a expr-priority structure.
Expr-priority-xor
Expr-priority-unary
Expr-priority-sh
Expr-priority-rel
Expr-priority-primary
Expr-priority-postfix
Expr-priority-mul
Expr-priority-logor
Expr-priority-logand
Expr-priority-ior
Expr-priority-expr
Expr-priority-eq
Expr-priority-cond
Expr-priority-cast
Expr-priority-asg
Expr-priority-and
Expr-priority-add