• 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
          • Syntax-for-tools
          • Atc
            • Atc-implementation
            • Atc-tutorial
              • Atc-tutorial-int-representation
              • Atc-tutorial-int-programs
              • Atc-tutorial-events
              • Atc-tutorial-conditionals-nonconcluding
              • Atc-tutorial-identifiers
              • Atc-tutorial-assignments
              • Atc-tutorial-multiple-functions
              • Atc-tutorial-conditionals-with-mbt
              • Atc-tutorial-local-variables
              • Atc-tutorial-conditional-statements
              • Atc-tutorial-conditional-expressions
              • Atc-tutorial-atj-comparison
              • Atc-tutorial-proofs
              • Atc-tutorial-approach
              • Atc-tutorial-motivation
            • Language
            • Representation
            • Transformation-tools
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • 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
    • Atc-tutorial

    Atc-tutorial-motivation

    ATC tutorial: Motivation for Generating C Code from ACL2.

    (This page may be skipped at first reading.)

    The motivation for generating C code from ACL2 is analogous to the motivation for generating Java code from ACL2, or for generating code in other programming language from ACL2. The java::atj-tutorial-motivation page provides the general motivation, in the context of Java: it is recommended to read that page.

    In addition, as a specific motivation for generating C code, it should be noted that C is widely used in certain domains, such as embedded systems and device drivers. Some of these C applications are relatively small in size and have strong safety and security requirements, making them an attractive target for (ACL2-based) formal methods.

    Next: Comparison with ATJ's Java code generation from ACL2