I know that one can extract Coq programs into Haskell and OCaml programs. Is there a way to do this with C?
I am imagining a library that models the C language. Maybe such a library would contain a collection of axioms about how C constructs interact with process memory, and axioms and theorems about IEEE floating point numbers. Then it would be able to build a C program within Coq along with theorems about the program.
I would use such a library, say, to build a C quicksort algorithm that works on arrays of floats that would be compilable by GCC.