• 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
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
          • Transformations
          • Language
            • Abstract-syntax
            • Dynamic-semantics
            • Concrete-syntax
              • Lexer
                • Lex-keyword
                • Lex-group-escape-sequence-single
                • Lex-symbol
                • Lex-rest-of-block-comment-fns
                • Lex-group-for-hex-string
                • Lex-hex-digit
                • Lex-group-escape-sequence-body
                • Lex-whitespace-char
                • Lex-string-literal
                • Lex-literal
                • Lex-identifier-start
                • Lex-hex-string
                • Lex-single-quoted-printable
                • Lex-double-quoted-printable
                • Lex-group-optional-underbar-and-two-hex-digits
                • Lex-escape-sequence
                • Lex-token
                • Lex-not-star-or-slash
                • Lex-not-lf-or-cr
                • Lex-group-squoted-or-escape
                • Lex-group-dquoted-or-escape
                • Lex-optional-sequence-of-2hex-digits
                • Lex-decimal-number
                • Lex-lexeme
                • Lex-identifier-rest
                • Lex-end-of-line-comment
                • Lex-nonzero-decimal-digit
                • Lex-repetition-*-optional-underbar-and-two-hex-digits
                • Lex-not-star
                • Lex-comment
                • Lex-boolean
                • Lex-block-comment
                • Lex-uppercase-letter
                • Lex-lowercase-letter
                • Lex-identifier
                • Lex-hex-number
                • Lex-decimal-digit
                • Lex-squote
                • Lex-repetition-4-hex-digits
                • Lex-optional-underbar
                • Lex-dquote
                • Lex-repetition-*-squoted-or-escape
                • Lex-repetition-*-dquoted-or-escape
                • Lex-repetition-*-whitespace-char
                • Lex-repetition-*-identifier-rest
                • Lex-repetition-2-hex-digits
                • Lex-lf
                • Lex-cr
                • Lex-repetition-*-not-lf-or-cr
                • Lex-repetition-*-decimal-digit
                • Lexemeize-yul
                • Lex-repetition-*-lexeme
                • Lex-repetition-*-hex-digit
                • *defparse-yul-group-table*
                • Lex-whitespace
                • Lexemeize-yul-bytes
                • *defparse-yul-repetition-table*
                  • *defparse-yul-option-table*
                • Parser
                • Grammar-old
                • Grammar
                • Tokenizer
              • Static-soundness
              • Static-semantics
              • Errors
            • Yul-json
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Lexer

    *defparse-yul-repetition-table*

    Table of repetition parsing functions.

    Definition: *defparse-yul-repetition-table*

    (defconst *defparse-yul-repetition-table*
     '(((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "decimal-digit")))
        . lex-repetition-*-decimal-digit)
       ((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "hex-digit")))
        . lex-repetition-*-hex-digit)
       ((:repetition (:repeat 2 (:finite 2))
                     (:rulename (:rulename "hex-digit")))
        . lex-repetition-2-hex-digits)
       ((:repetition
         (:repeat 0 (:infinity))
         (:group
          (((:repetition
             (:repeat 1 (:finite 1))
             (:option
                  (((:repetition (:repeat 1 (:finite 1))
                                 (:char-val (:insensitive nil "_")))))))
            (:repetition (:repeat 2 (:finite 2))
                         (:rulename (:rulename "hex-digit")))))))
        .
        lex-repetition-*-optional-underbar-and-two-hex-digits)
       ((:repetition (:repeat 4 (:finite 4))
                     (:rulename (:rulename "hex-digit")))
        . lex-repetition-4-hex-digits)
       ((:repetition
         (:repeat 0 (:infinity))
         (:group
           (((:repetition
                  (:repeat 1 (:finite 1))
                  (:rulename (:rulename "double-quoted-printable"))))
            ((:repetition (:repeat 1 (:finite 1))
                          (:rulename (:rulename "escape-sequence")))))))
        . lex-repetition-*-dquoted-or-escape)
       ((:repetition
         (:repeat 0 (:infinity))
         (:group
           (((:repetition
                  (:repeat 1 (:finite 1))
                  (:rulename (:rulename "single-quoted-printable"))))
            ((:repetition (:repeat 1 (:finite 1))
                          (:rulename (:rulename "escape-sequence")))))))
        . lex-repetition-*-squoted-or-escape)
       ((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "identifier-rest")))
        . lex-repetition-*-identifier-rest)
       ((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "whitespace-char")))
        . lex-repetition-*-whitespace-char)
       ((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "not-lf-or-cr")))
        . lex-repetition-*-not-lf-or-cr)
       ((:repetition (:repeat 0 (:infinity))
                     (:rulename (:rulename "lexeme")))
        . lex-repetition-*-lexeme)))