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: Kenneth Roe <kendroe AT hotmail.com>
  • To: Hugo Herbelin <Hugo.Herbelin AT inria.fr>
  • 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 13:10:58 +0000
  • Accept-language: en-US
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=kendroe AT hotmail.com; spf=Pass smtp.mailfrom=kendroe AT hotmail.com; spf=None smtp.helo=postmaster AT NAM04-SN1-obe.outbound.protection.outlook.com
  • Ironport-phdr: 9a23:EDyx0hPI7+/aS32Z2Rkl6mtUPXoX/o7sNwtQ0KIMzox0K/X8rarrMEGX3/hxlliBBdydsK0UzbeO+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6aijSI4DUTAhTyMxZubqSwQ9aKzpf/6+fn24DcZE1oiSC3bLdzKl3ijRjesY82jJFoJ6IwzDPIpGFJcqJY3zU7C0iUmkPf68G28YJjux5Xtrp19MNGXb/9cow4SqBdBTUidWsy4Zu45lH4UQKT6y5EAS0tmR1SDl2AtUmiUw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Didn't work.

Does someone have a sample project that uses "VERNAC COMMAND EXTEND" (and also "TACTIC EXTEND" or what ever it became) for Coq 8.7?

            - Ken

From: Hugo Herbelin <Hugo.Herbelin AT inria.fr>
Sent: Saturday, November 4, 2017 1:04 AM
To: Kenneth Roe
Cc: Coq-Club
Subject: Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
 
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