You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm intrigued by the solid work here! But as someone who never used MetaCoq and ocaml before, reading it is a bit difficult. I feel that the entry point of the core logic is really in the Rust Extract keyword extension in g_rust_extraction.ml, from which the pipeline runs.
It would be of great help if someone can teach me how to
Setup the proper linting for the files in plugin/src. Although make succeeds, there are Unbound module errors everywhere in the .ml files. Claude tried setting up dune for me to no avail.
Setup a debugger for the pipeline to see the input/output data shape at each step. Where would this debugger start at? Presumably it can't start from the .v files that use Rust Extract. But if it starts in g_rust_extraction.ml, then I would need to somehow inject coq for the pipeline to run from.
The text was updated successfully, but these errors were encountered:
I wouldn't recommend reading the OCaml code, g_rust_extraction.mlg is just a small wrapper that registers the Rust Extract command in Coq. Most of the code is written in Coq.
The Rust Extract command is one of two entrypoints that you can use, it is also possible to use the extraction directly in Coq without the OCaml plugin. You can see here how this is done.
It is probably easier to understand and debug that code.
I'm intrigued by the solid work here! But as someone who never used MetaCoq and ocaml before, reading it is a bit difficult. I feel that the entry point of the core logic is really in the
Rust Extract
keyword extension ing_rust_extraction.ml
, from which the pipeline runs.It would be of great help if someone can teach me how to
plugin/src
. Althoughmake
succeeds, there areUnbound module
errors everywhere in the.ml
files. Claude tried setting up dune for me to no avail..v
files that useRust Extract
. But if it starts ing_rust_extraction.ml
, then I would need to somehow inject coq for the pipeline to run from.The text was updated successfully, but these errors were encountered: