coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Vilius Naudziunas <vn229 AT cam.ac.uk>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] Loading coq code libraries into ocaml
- Date: Fri, 10 Jul 2009 19:00:49 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi,
I am trying to load the source code of coq compiled into libraries
(usually placed at /usr/local/lib/coq) into my own ocaml project for my
research. I would like to use coq as a separate part of my project
rather than building a plugin to /contrib directory. I couldn't find any
documentation of coq code libraries. From other parts of coq code I
assume that starting steps would be to do
let _ = Lib.init()
let _ = Coqinit.init_load_path ()
to initialise coq. However I get an exception
Fatal error: exception Util.Anomaly("Genarg.create: already declared generic argument tactic0", _)
Could you tell me what functions and in what sequence should I call to
initialise and use coq?
The main things I need are to execute Venacular commands and to
observe state of environment (get definitions and their bodies).
Many thanks,
Vilius
- [Coq-Club] Loading coq code libraries into ocaml, Vilius Naudziunas
Archive powered by MhonArc 2.6.16.