Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
compilation
Holmakefile
README.md
array_searchProgScript.sml
catProgScript.sml
diffProgScript.sml
diffScript.sml
doubleProgScript.sml
echoProgScript.sml
grepProgScript.sml
helloErrProgScript.sml
helloProgScript.sml
insertSortProgScript.sml
iocatProgScript.sml
lcsScript.sml
patchProgScript.sml
queueProgScript.sml
quicksortProgScript.sml
readmePrefix
sortProgScript.sml
splitwordsScript.sml
stackProgScript.sml
wordcountProgScript.sml

README.md

Examples of verified programs built using CakeML infrastructure.

Larger examples (like the CakeML compiler and Candle theorem prover) can be found in their own top-level directories.

array_searchProgScript.sml: An example based on searching an array.

catProgScript.sml: cat program example: concatenate and print lines from files.

compilation: Compilation of the CakeML examples to different architectures.

diffProgScript.sml: diff example: find a patch representing the difference between two files.

diffScript.sml: Implementation and verification of diff and patch algorithms

doubleProgScript.sml: Examples on the topic of doubling a number.

echoProgScript.sml: echo program example: print the command line arguments.

grepProgScript.sml: grep example: search for file lines matching a regular expression.

helloErrProgScript.sml: Hello World on standard error.

helloProgScript.sml: Hello World example, printing to standard output.

insertSortProgScript.sml: In-place insertion sort on a polymorphic array.

iocatProgScript.sml: Faster cat: process 2048 chars at a time.

lcsScript.sml: Verification of longest common subsequence algorithms.

patchProgScript.sml: patch example: apply a patch to a file.

queueProgScript.sml: An example of a queue data structure implemented using CakeML arrays, verified using CF.

quicksortProgScript.sml: In-place quick sort on a polymorphic array.

sortProgScript.sml: Program to sort the lines in a file, built on top of the quick sort example.

splitwordsScript.sml: A high-level specification of words and frequencies

stackProgScript.sml: An example of a stack data structure implemented using CakeML arrays, verified using CF.

wordcountProgScript.sml: Simple wordcount program, to demonstrate use of CF.