• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • 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
            • Validation-information
            • Implementation-environments
            • Concrete-syntax
              • Grammar
              • Files
              • Keywords
              • File-paths
              • Grammar-characters
                • Grammar-character-p
                • Grammar-character-listp
            • Ascii-identifiers
            • Unambiguity
            • Preprocessing
            • Abstraction-mapping
            • Standard
            • Purity
          • Atc
          • Language
          • Transformation-tools
          • Representation
          • Insertion-sort
          • Pack
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Riscv
        • 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
  • Concrete-syntax

Grammar-characters

Characters allowed by the grammar.

We introduce predicates to check whether character codes correspond to characters allowed by the grammar. Recall that we commit to Unicode characters, so these are Unicode scalar values.

Subtopics

Grammar-character-p
Check if a character (code) is valid according to the ABNF grammar.
Grammar-character-listp
Check if all the characters (codes) in a list are valid according to the ABNF grammar.