• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Bv
        • Imp-language
        • Event-macros
        • Java
          • Atj
          • Aij
          • Language
            • Syntax
              • Grammar
              • Unicode-escapes
              • Unicode-input-char
              • Escape-sequence
              • Identifiers
              • Primitive-types
              • Reference-types
              • Keywords
                • Keywords-grammar-validation
                • Jkeywordp
                • Restricted-jkeywordp
                • *jkeywords*
                • *restricted-jkeywords*
              • Unicode-characters
              • Integer-literals
              • String-literals
              • Octal-digits
              • Hexadecimal-digits
              • Decimal-digits
              • Binary-digits
              • Character-literals
              • Null-literal
              • Floating-point-literals
              • Boolean-literals
              • Package-names
              • Literals
            • Semantics
        • 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
  • Syntax

Keywords

The Java keywords [JLS14:3.9].

Some character sequences are Java keywords in all contexts, namely the ones listed in the grammar production in [JLS14:3.9]. Other character sequences are Java keywords only in certain module-related contexts, as described in [JLS14:3.9] in prose (i.e. without grammar productions); these are called `restricted keywords'.

To avoid conflict or confusion with ACL2 keywords, we prefix keyword with j in ACL2 function and constant names that pertain to Java keywords.

Subtopics

Keywords-grammar-validation
Validation of the definition of jkeywordp with respect to the ABNF grammar of Java.
Jkeywordp
Recognize (non-restricted) Java keywords.
Restricted-jkeywordp
Recognize restricted Java keywords.
*jkeywords*
The (non-restricted) Java keywords, as ACL2 strings.
*restricted-jkeywords*
The restricted Java keywords, as ACL2 strings.