• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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-lex
            • Defchar
            • Tokens
            • Lex-keywords
            • Lexstate
              • Vl-lexstate-p
              • Vl-plaintoken-alistp
              • *vl-2012-strict-lexstate*
              • Vl-lexstate->plainalist
              • Vl-lexstate-init
              • *vl-2005-strict-lexstate*
              • *vl-2012-lexstate*
              • *vl-2005-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

Lexstate

Low level, internal configuration for the lexer, which allows us to switch between supported Verilog editions.

You should typically never create a lexstate directly. Instead, see vl-lexstate-init, which creates an appropriate lexstate for a particular, high-level vl-loadconfig-p.

Subtopics

Vl-lexstate-p
Internal representation of the lexer's configuration.
Vl-plaintoken-alistp
Recognize alists binding strings to plaintoken types.
*vl-2012-strict-lexstate*
Configuration for strict SystemVerilog-2012 mode.
Vl-lexstate->plainalist
Just used for sanity checking.
Vl-lexstate-init
User-level constructor for internal lexer states.
*vl-2005-strict-lexstate*
Configuration for strict Verilog-2005 mode.
*vl-2012-lexstate*
Configuration for extended (non-strict) SystemVerilog-2012 mode.
*vl-2005-lexstate*
Configuration for extended (non-strict) Verilog-2005 mode.