coq-serapi
coq-serapi copied to clipboard
Coq Protocol Playground with Se(xp)rialization of Internal Structures.
We perform a very large refactoring of `serlib`, moving all the `Obj.magic` hacks to a more principled solution based on interfaces, mainly exported by `SerType`. Moreover, we use a similar...
I was trying to traverse the s-expressions that coq-serapi gives me. But sometimes there are more arguments than expect. e.g. `GenArg` should have 2 but coq-serapi gives me 3: ```...
I want to get the human string after I extract valid sub trees from a coq-serapi ast. e.g. I have ``` (GenArg raw (ExtraArg tactic) (TacArg ((v (TacCall ((v (((v...
See the argument for TacArg: https://github.com/ejgallego/coq-serapi/blob/b222c1f821694175273d3a295a04abf9454f6727/serlib/plugins/ltac/ser_tacexpr.ml#L232 but the reply has a type CAst.t as an argument for TacArg: ``` (Parse () "(___hole O).") (Answer 24 Ack) (Answer 24 (ObjList ((CoqAst...
I tried this interaction: ``` (Add () "Lemma addn0 n : 0 + n = n. Proof. intros. simpl.") (Exec 5) (Query ((pp ((pp_format PpStr)))) Proof) ``` but I don't...
I want to get the "coq ast" for lambda functions in coq. e.g. I did the following but all fail: ``` rlwrap sertop --printer=human (Add () " Theorem add_easy_0: forall...
This could be useful to some users, as opposed to the previous implementation which was never finished. Closes #270
I wanted to be able to get the entire current proof state (local context and goals) with all the individual terms separated, e.g. each term in a lists/arrays. Pseduocode: ```...
Fixes ejgallego/coq-serapi#20 This is still experimental, in particular we should maybe provide a better support for handling ejgallego/coq-lsp#332.
Currently, [these notes](https://github.com/ejgallego/coq-serapi/blob/v8.12/notes/ser-control-protocol.md#interrupting) appear to be the most detailed documentation on interrupting sertop: > ### Interrupting > > 1. The IDE must send an interrupt signal to sertop. > 2....