Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
035c87e
Sketch new mlsexp theory
dnezam Dec 5, 2025
16ac442
Tweak a few things
myreen Dec 5, 2025
514b3a7
Tweaks + add some tests
myreen Dec 5, 2025
3ad3541
Renaming + Fix typo
dnezam Dec 5, 2025
a1314c8
[mlsexp] Make lexer fail with an error message
dnezam Dec 5, 2025
fa69ec8
[mlsexp] Add unescaping in the lexer
dnezam Dec 5, 2025
022e8e5
[mlsexp] Syntactically clean up parse_aux_def
dnezam Dec 5, 2025
301992c
Tidy up read_string_aux
myreen Dec 6, 2025
8c5a12c
[mlsexp] Tidy up some comments
dnezam Dec 6, 2025
24e7942
[mlsexp] Use isSpace
dnezam Dec 6, 2025
a1ff5bd
[mlsexp] Sketch SexpProg
dnezam Dec 6, 2025
2e794c8
Minor fix to parse + start on pretty printing
myreen Dec 6, 2025
94a2043
[mlsexp] mlsexp: return rest of input even in case of failure
dnezam Dec 6, 2025
73c1851
Factor out get_exn_conv to basisFunctionsLib
dnezam Dec 6, 2025
603859e
Add Fail exception to mlbasicsProg
dnezam Dec 6, 2025
5ae1192
[mlsexp] Start sketching spec in SexpProg
dnezam Dec 6, 2025
89cca18
Move xlet_autop to cfLetAuto
dnezam Dec 7, 2025
b134d94
[mlsexp] Try to make progress in proofs
dnezam Dec 7, 2025
dd675e6
[mlsexp] Prove read_string_aux_spec
dnezam Dec 7, 2025
44bbeea
[mlsexp] Prove read_symbol_spec
dnezam Dec 7, 2025
dc5087a
[mlsexp] Make progress in lex_aux_spec
dnezam Dec 7, 2025
90c4b2d
[mlsexp] Prove lex_aux_spec
dnezam Dec 8, 2025
a396213
[mlsexp] Prove parse_spec
dnezam Dec 8, 2025
2b073b8
Use basis instead of dafny_sexp
dnezam Dec 9, 2025
1fdca7f
Sketch sexp pretty printing
myreen Dec 9, 2025
f57bcf9
Add REPL pretty-printing for s-expressions
dnezam Dec 9, 2025
1a21c5c
Merge branch 'master' into mlsexp
dnezam Dec 10, 2025
bc07c33
[mlsexp] Add fromString + Rename parse to b_inputSexp
dnezam Dec 11, 2025
00bee5e
Progress on parsing / pretty printing proof
myreen Dec 12, 2025
ea6496c
More proofs about parsing printing of sexp
myreen Dec 13, 2025
ed4bbe1
Finish sexp parsing printing proofs
myreen Dec 14, 2025
9c247f8
Rename v2strs to str_tree_to_strs
myreen Dec 14, 2025
1716e53
Fix SexpProg
dnezam Dec 14, 2025
faa9511
Prove lex_aux precondition in SexpProg
dnezam Dec 14, 2025
cc58ae2
Remove str_treeTheory
myreen Dec 15, 2025
562c19a
Minor fixes
myreen Dec 16, 2025
9e61978
Start using Sexp module for Candle print_thm
myreen Dec 16, 2025
8b8761e
Fixes for changes to Candle theorem printing
myreen Dec 16, 2025
cd277c4
Fix sexp_to_dafny
dnezam Dec 17, 2025
27abb4b
Remove mention of str_treeTheory
myreen Dec 17, 2025
caaa908
Remove a now dated example
myreen Dec 17, 2025
8c1133f
Fix stamp numbers
myreen Dec 17, 2025
475edaf
Revert "Remove a now dated example"
myreen Dec 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions basis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ Proof about the exit function in the Runtime module.
This module contains CakeML code implementing a functional set type
using a self-balancing binary tree.

[SexpProgScript.sml](SexpProgScript.sml):
Module for parsing and pretty-printing s-expressions.

[StringProgScript.sml](StringProgScript.sml):
Module about the built-in string tyoe.

Expand Down Expand Up @@ -144,9 +147,7 @@ Lemmas about the file system model used by the proof about TextIO.
Logical model of filesystem and I/O streams

[mlbasicsProgScript.sml](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.
Translates a variety of basic constructs.

[pure](pure):
HOL definitions of the pure functions used in the CakeML basis.
Expand Down
Loading