Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Using SerAPI in a plugin

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Using SerAPI in a plugin


Chronological Thread 
  • From: Talia Ringer <tringer AT cs.washington.edu>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Using SerAPI in a plugin
  • Date: Tue, 7 Sep 2021 19:30:34 -0500
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=tringer AT cs.washington.edu; spf=Pass smtp.mailfrom=tringer AT cs.washington.edu; spf=None smtp.helo=postmaster AT mx7.cs.washington.edu
  • Ironport-hdrordr: A9a23:Uw1tgK2Bpq3XfSMrX5DIngqjBNUkLtp133Aq2lEZdPUzSK2lfqGV8sjzuiWE6wr5NEtQ++xoW5PufZqjz/5ICOAqVN/INjUO01HFEGgN1+bf/wE=
  • Ironport-phdr: A9a23:tef/dhKKF7pvMyfN09mcuJ9mWUAX0o4c3iYr45Yqw4hDbr6kt8y7ehCFvbM81RSUAs3y0LFts6LuqafuWGgNs96qkUspV9hybSIDktgchAc6AcSIWgXRJf/uaDEmTowZDAc2t360PlJIF8ngelbcvmO97SIIGhX4KAF5Ovn5FpTdgsipy+y+4ZnebxhHiDe9Y755MQm7oxjWusQKm4VpN7w/ygHOontGeuRWwX1nKFeOlBvi5cm+4YBu/T1It/0u68BPX6P6f78lTbNDFzQpL3o15MzwuhbdSwaE+2YRXX8XkhpMBAjF8Q36U5LsuSb0quZxxC+XNtDwQLspWzqt8r1rRQfnhykHOTA383zZhNJsg69Auh2tuwZyzpTIbI2JNvdzeL7Wc9MARWpGW8ZcTzJPDZm4b4sOFeUKIPpWr4j7p1sBsxS+HxSnCeTzyj9Sh3/226I63Po7EQzdwAMgBMgCsXrOo9XuNKcSUOa1zKbUzTXEafNawyny55XVch04p/yHQL1/f9bLx0Y1CwPFkkufqZbjPz6N2ekBr2yW4uRvW+yhhWAqrx19riayy8owhYfFm4YYx03E+ylkz4s4O9K1RVJ1bNOrEpZduSCXOohrT88/QWxluSA3waAFt56jZCUG1ZsqywLFZ/CafIWE/AjvWeiLLTtli39ofKqziwiu/UWk0OHxVcm53ExXoidEk9TArG0B2h7N5sWBV/Bz5F2u2SyV2ADW8uxEIV47la7cK5M5x74xmZgevV7fES/tgkn3grWZdl4k+uip7eTnbanmppiaN4NulA7xL7kultS+AeQ+LAcOQ3CW9fmz2bH/50H1XbpHguMsnqTXqpzWOMsWq6qhDw9QyIkj6hK/Dzm80NQfmHkKNE5FeAiGj4jvNFHBPur4AOyjjFS3ijtqyerJPqbhApXMKHjDn6vhfbF760JG1gU80M1f64pOCr4dOPLzRlPxtNvAAxAlNAy02v/rB8l51oMDQm2CGbSZMaPXsV+Q/O0jOeiMZIkPuDb8Mfcp/fDujWVq0WMaKKKuxN4cbG2yNvVgOUSQJ3T20fkbFmJfggM6TeWislyEXjNJLyKuRaM66TwhIIm9S5jKXYCshrOd2yH9E5FLMDMVQmuQGGvlIt3XE8wHbzifd5cJet0sUKj+DYQ6kw6nrw/7zbV7KeyS9yEF58qLPDdd7PaVihgp9T1yANia1SeAQ3wmxwvgohc9x+ZgqFd9y1GMza9+xfFUCI4Lj84=

Hi all,

Have any of you gotten plugins that call out to SerAPI working, especially on Coq 8.9 (I am bound to 8.9 because of a dependency)? If so, I'd really love to see some example plugins. This is a major blocker for me and a student on a project.

I'm open to any build system at this point, but I haven't managed to get Dune working even without SerAPI---it gives me a bunch of errors failing to find Constr, Environ, and so on. The Dune tutorial didn't seem to address those errors. I don't know where to find the list of Coq libraries I can try to depend on from within a Dune project.

Without using Dune, using the normal _CoqProject and so on, I can get it to build if I build from source, which is already hacky. But then it fails to load:

File "./theories/Plib.v", line 1, characters 0-25:
Error:
while loading /home/talia/coq-plugin-lib/src/plib.cmxs:
error loading shared library: /home/talia/coq-plugin-lib/src/plib.cmxs: undefined symbol: camlPlib__Serapi_goals__anon_fn$5bcoq$2dserapi$2fserapi$2fserapi_goals$2eml$3a66$2c31$2d$2d47$5d_175_closure

Help with either of these paths would be strongly appreciated. 

Talia 



Archive powered by MHonArc 2.6.19+.

Top of Page