• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Lexer
            • Lex-strings
            • Lex-identifiers
            • Vl-typo-uppercase-p
            • Vl-typo-number-p
            • Vl-typo-lowercase-p
            • Lex-numbers
            • Chartypes
              • Vl-z-digit-p
              • Vl-x-digit-p
              • Vl-underscore-p
              • Vl-underscore-or-octal-digit-p
              • Vl-underscore-or-hex-digit-p
              • Vl-underscore-or-decimal-digit-p
              • Vl-underscore-or-binary-digit-p
              • Vl-simple-id-tail-p
              • Vl-simple-id-head-p
              • Vl-octal-digit-p
              • Vl-non-zero-decimal-digit-p
              • Vl-hex-digit-p
              • Vl-decimal-digit-p
              • Vl-binary-digit-p
              • Whitespace
              • Vl-underscore-or-octal-digit-list-p
              • Vl-underscore-or-hex-digit-list-p
              • Vl-underscore-or-decimal-digit-list-p
              • Vl-underscore-or-binary-digit-list-p
              • Vl-non-zero-decimal-digit-list-p
              • Vl-simple-id-tail-list-p
              • Vl-simple-id-head-list-p
              • Vl-decimal-digit-list-p
              • Vl-binary-digit-list-p
              • Vl-z-digit-list-p
              • Vl-x-digit-list-p
              • Vl-underscore-list-p
              • Vl-octal-digit-list-p
              • Vl-hex-digit-list-p
            • Vl-lex
            • Defchar
            • Tokens
            • Lex-keywords
            • Lexstate
            • Make-test-tokens
            • Lexer-utils
            • Lex-comments
            • Vl-typo-uppercase-list-p
            • Vl-typo-lowercase-list-p
            • Vl-typo-number-list-p
          • Vl-loadstate
          • Parser
          • Vl-load-merge-descriptions
          • Scope-of-defines
          • Vl-load-file
          • Vl-flush-out-descriptions
          • Vl-description
          • Vl-loadresult
          • Vl-read-file
          • Vl-find-basename/extension
          • Vl-find-file
          • Vl-read-files
          • Extended-characters
          • Vl-load
          • Vl-load-main
          • Vl-load-description
          • Vl-descriptions-left-to-load
          • Inject-warnings
          • Vl-load-descriptions
          • Vl-load-files
          • Vl-load-summary
          • Vl-collect-modules-from-descriptions
          • Vl-descriptionlist
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Lexer

Chartypes

Recognizers for basic character types (e.g., whitespace characters, alphabetic characters, etc.), typically introduced with defchar.

Subtopics

Vl-z-digit-p
z | Z | ?
Vl-x-digit-p
x | X
Vl-underscore-p
_
Vl-underscore-or-octal-digit-p
_ | octal_digit
Vl-underscore-or-hex-digit-p
_ | hex_digit
Vl-underscore-or-decimal-digit-p
_ | decimal_digit
Vl-underscore-or-binary-digit-p
_ | binary_digit
Vl-simple-id-tail-p
[a-zA-Z0-9_$]
Vl-simple-id-head-p
[a-zA-Z_]
Vl-octal-digit-p
x_digit | z_digit | [0-7]
Vl-non-zero-decimal-digit-p
[1-9]
Vl-hex-digit-p
x_digit | z_digit | [0-9a-fA-F]
Vl-decimal-digit-p
[0-9]
Vl-binary-digit-p
x_digit | z_digit | 0 | 1
Whitespace
We say whitespace includes spaces, tabs, newlines, carriage returns, form feeds, and vertical tabs.
Vl-underscore-or-octal-digit-list-p
(vl-underscore-or-octal-digit-list-p x) recognizes lists where every element satisfies vl-underscore-or-octal-digit-p.
Vl-underscore-or-hex-digit-list-p
(vl-underscore-or-hex-digit-list-p x) recognizes lists where every element satisfies vl-underscore-or-hex-digit-p.
Vl-underscore-or-decimal-digit-list-p
(vl-underscore-or-decimal-digit-list-p x) recognizes lists where every element satisfies vl-underscore-or-decimal-digit-p.
Vl-underscore-or-binary-digit-list-p
(vl-underscore-or-binary-digit-list-p x) recognizes lists where every element satisfies vl-underscore-or-binary-digit-p.
Vl-non-zero-decimal-digit-list-p
(vl-non-zero-decimal-digit-list-p x) recognizes lists where every element satisfies vl-non-zero-decimal-digit-p.
Vl-simple-id-tail-list-p
(vl-simple-id-tail-list-p x) recognizes lists where every element satisfies vl-simple-id-tail-p.
Vl-simple-id-head-list-p
(vl-simple-id-head-list-p x) recognizes lists where every element satisfies vl-simple-id-head-p.
Vl-decimal-digit-list-p
(vl-decimal-digit-list-p x) recognizes lists where every element satisfies vl-decimal-digit-p.
Vl-binary-digit-list-p
(vl-binary-digit-list-p x) recognizes lists where every element satisfies vl-binary-digit-p.
Vl-z-digit-list-p
(vl-z-digit-list-p x) recognizes lists where every element satisfies vl-z-digit-p.
Vl-x-digit-list-p
(vl-x-digit-list-p x) recognizes lists where every element satisfies vl-x-digit-p.
Vl-underscore-list-p
(vl-underscore-list-p x) recognizes lists where every element satisfies vl-underscore-p.
Vl-octal-digit-list-p
(vl-octal-digit-list-p x) recognizes lists where every element satisfies vl-octal-digit-p.
Vl-hex-digit-list-p
(vl-hex-digit-list-p x) recognizes lists where every element satisfies vl-hex-digit-p.