-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I'd like to be able to write prose inside of record and inductive definitions for the purposes of discussing individual fields or constructors. When I tried to do this, I got an error because alectryon submitted each snippet between the (*| |*)
to coq separately as if it were a complete sentence.
Processing
Inductive foo :=
(*| For `foo`, `bar`, means ... |*)
bar : nat -> foo.
with alectryon yields
ex.v:1: (ERROR/3) Coq raised an exception:
> Syntax error: '.' expected after [gallina] (in [vernac_aux]).
The offending chunk is delimited by >>>…<<< below:
> Inductive foo :=>>><<<
Results past this point may be unreliable.
ex.v:1: (ERROR/3) Coq raised an exception:
> Syntax error: illegal begin of vernac.
The offending chunk is delimited by >>>…<<< below:
> >>>bar<<< : nat -> foo.
Results past this point may be unreliable.
I tried to see what it would take to fix this, but I started to get the impression that content between prose are complete Coq sentences might be a core assumption of alectryon's processing model.
This is also mentioned in #75 as a feature of coqdoc that is not supported by alectryon's coqdoc frontend.
Metadata
Metadata
Assignees
Labels
No labels