6095e9ecb2
In order to compare ASTs for appearance/disappearance/modification of declarations, it is easier to have the annotations obvious to any external tool for ease of parsing. Annotations take the form: "##<decl_type>: <name>", e.g. "##Function: ctzl" Signed-off-by: Rafal Kolanski <rafal.kolanski@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 |
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.