Ana Borges
2018-09-11 10:11:28 UTC
Dear Coq useres,
My goal is to use Coq to extract formalized code in OCaml. This code would
start by parsing a json file (or xml), then it would do some computations,
and finally it would output a json / xml file.
Ideally, I would like to have every part of the process formalized. In
particular, I would like to have proof that the parsing process didn't
introduce any bugs.
I tried searching for existing Coq libraries to do something of this sort,
but didn't find any. I know there are OCaml libraries, and in the worst
case I would formalize only the "middle" part of the program in Coq, and
write the rest directly in OCaml.
Do you know if this or something similar has been done before? Do you have
an idea of how hard / time consuming it would be?
Thank you very much,
Ana Borges
My goal is to use Coq to extract formalized code in OCaml. This code would
start by parsing a json file (or xml), then it would do some computations,
and finally it would output a json / xml file.
Ideally, I would like to have every part of the process formalized. In
particular, I would like to have proof that the parsing process didn't
introduce any bugs.
I tried searching for existing Coq libraries to do something of this sort,
but didn't find any. I know there are OCaml libraries, and in the worst
case I would formalize only the "middle" part of the program in Coq, and
write the rest directly in OCaml.
Do you know if this or something similar has been done before? Do you have
an idea of how hard / time consuming it would be?
Thank you very much,
Ana Borges