Skip to content

Dune + Coq + Menhir #10941

Open
Open
@liyishuai

Description

@liyishuai

Desired Behavior

Allow generating Parser.v from Parser.vy, and using it in the (coq.theory) stanza.

Example

(coq.theory
 (name JSON)
 (package coq-json)
 (synopsis "JSON in Coq"))

(menhir
 (modules Parser)
 (flags --coq)
)

Currently:

Error: I can't determine what library/executable the files produced by this stanza are part of.

File "./theories/Lexer.v", line 1, characters 0-37:
Error: Cannot find a physical path bound to logical path
Parser with prefix JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coqmenhirRelated to the internal menhir plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions