Contains the beginnings of a standard basis library for CakeML, similar to the standard basis library of SML.
ArrayProgScript.sml: A module about Arrays for the CakeML standard basis library.
ArrayProofScript.sml: Proofs about the Array module.
CharProgScript.sml: A module about the char type for the CakeML standard basis library.
CommandLineProgScript.sml: A module about command-line arguments for the CakeML standard basis library.
CommandLineProofScript.sml: Proof about the command-line module of the CakeML standard basis library.
CompareProgScript.sml: Module with various comparison functions.
IntProgScript.sml: Module about the built-in integer tyoe. Note that CakeML uses arbitrary precision integers (the mathematical intergers).
ListProgScript.sml: Module about the built-in list tyoe.
ListProofScript.sml: Proofs about the module about the list tyoe.
MapProgScript.sml: This module contains CakeML code implementing a functional map type using a self-balancing binary tree.
MarshallingProgScript.sml: Module with functions that aid converting to and from the byte arrays that CakeML foreign-function interface (FFI) uses.
MarshallingScript.sml: HOL functions that aid converting to and from the byte arrays that CakeML foreign-function interface (FFI) uses.
NumProgScript.sml: Module containing functios for arithmetic over the natural numbers.
OptionProgScript.sml: Module about the option tyoe.
PrettyPrinterProgScript.sml: Module providing various functions that can be used to efficiently pretty-print values of different types.
RatProgScript.sml: Module for computing over the rational numbers.
RuntimeProgScript.sml: Module that contains a few special functions, e.g. a function for forcing a full GC to run, a function for producing debug output.
RuntimeProofScript.sml: Proof about the exit function in the Runtime module.
StringProgScript.sml: Module about the built-in string tyoe.
TextIOProgScript.sml: Module for text-based I/O with the underlying file system.
TextIOProofScript.sml: Proofs about the code in the TextIO module.
VectorProgScript.sml: Module about the built-in 'a vector.
Word64ProgScript.sml: Module about the built-in word64 type.
Word8ArrayProgScript.sml: Module about the built-in byte-array type.
Word8ArrayProofScript.sml: Proof about the code in the byte-array module Word8Array.
Word8ProgScript.sml: Module about the built-in word8 type.
basisFunctionsLib.sml: Functions that aid building the CakeML code for the basis library.
basisProgScript.sml: Contains the code for the entire CakeML basis library in basis_def.
basis_ffi.c: Implements the foreign function interface (FFI) used in the CakeML basis library, as a thin wrapper around the relevant system calls.
basis_ffiLib.sml: Automation for instantiating the FFI oracle with the basis library functions, and removing CF separation logic.
basis_ffiScript.sml: Instantiate the CakeML FFI oracle for the oracle of the basis library.
clFFIScript.sml: Logical model of the commandline state: simply a list of mlstrings
dependency-order: This file records the current, linear dependency order between the translation/CF theories making up the basis library verification.
fsFFIPropsScript.sml: Lemmas about the file system model used by the proof about TextIO.
fsFFIScript.sml: Logical model of filesystem and I/O streams
mlbasicsProgScript.sml: Bind various built-in functions to function names that the parser expects, e.g. the parser generates a call to a function called "+" when it parses 1+2.
pure: HOL definitions of the pure functions used in the CakeML basis.
runtimeFFIScript.sml: Logical model of the Runtime module's exit function calls.