The code draws in table.ML from the Isabelle source, which changed in the 2023 release. This commit adds further library functions from Isabelle library.ML and extracts the parts of unsynchronized.ML that work with mlton. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems> |
||
---|---|---|
.. | ||
GetOpt.sig | ||
GetOpt.sml | ||
Makefile | ||
README.md | ||
basics.sml | ||
c-parser | ||
c-parser.mlb | ||
library.ML | ||
main.sml | ||
mlton-cparser.sml | ||
mlton-tokenizer.sml | ||
poly-cparser.ML | ||
poly-tokenizer.ML | ||
tokenizer | ||
tokenizer.mlb | ||
tokenizer.sml | ||
unsynchronized.ML |
README.md
Standalone Isabelle/C Parser
This directory contains a standalone executable build of the Isabelle/C parser for lightweight testing whether a C program falls into the verification C subset.
Note that this is only the parser, not the Isabelle translation. Programs that pass the parse may still fail in translation.
Dependencies
This build works best with the mlton
compiler, available from
PolyML has worked as well in the past, but may require some additional setup for 64bit platforms.