Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7


Chronological Thread 
  • From: Hugo Herbelin <Hugo.Herbelin AT inria.fr>
  • To: Kenneth Roe <kendroe AT hotmail.com>
  • Cc: Coq-Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
  • Date: Sat, 4 Nov 2017 09:04:49 +0100

Hi, try adding an "open Stdarg". Best. Hugo

On Sat, Nov 04, 2017 at 03:57:20AM +0000, Kenneth Roe wrote:
> I am in the process of converting an ML plugin to Coq 8.7. I have the
> following construct to declare some commands (inside a .ml4 file):
>
>
> VERNAC COMMAND EXTEND AR
>
> | [ "printAST" constr(def) ] -> [ Stuff.print_ast 0 def ]
>
> | [ "printExp" constr(def) ] -> [ Stuff.print_exp 0 def ]
>
> | [ "printAST" constr(def) "with" "depth" integer(depth)] -> [
> Stuff.print_ast
> depth def ]
>
> END
>
>
> When I compile, I get the following error:
>
>
> File "src/plugin.ml4", line 1511, characters 2-57:
>
> Error: Unbound value wit_constr
>
>
> How do I correct this error?
>
> - Ken



Archive powered by MHonArc 2.6.18.

Top of Page