Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Plugins with Vernac that supports backtracking & extra data

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Plugins with Vernac that supports backtracking & extra data


Chronological Thread 
  • From: Gregory Malecha <gmalecha AT cs.harvard.edu>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Plugins with Vernac that supports backtracking & extra data
  • Date: Sat, 23 Aug 2014 23:49:59 -0400

Hello --

I have two questions that are related to writing plugins. If anyone can point me to other plugins or appropriate places in the Coq sources I would greatly appreciate it.

1) Hooks into the backtracking machinery of Coq's toplevel? In particular, I have an imperative map that I want to be able to remove elements from when the "add new element" command is undone.

2) I would also like to store information (that imperative map) in .vo files so that it will be restored when I Require a file that builds one of these maps. Is there any convenient way to do this?

Many thanks.

--



Archive powered by MHonArc 2.6.18.

Top of Page