• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • 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
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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