@Hugo Herbelin I was hoping to start work today on a PR for adding Body
as a synonym for Proof
. How would you advise to begin that work? In ppvernac.ml
or somewhere else?
Already in g_vernac.mlg for the parsing.
Sorry, in plugins/ltac/g_ltac.mlg
.
Where you have the syntax for Proof
.
Then, if you want it to be printed Body
, you need to extend VernacProof
in vernacexpr.ml with an information telling if it is Body
or Proof
(a Boolean, or even an enumerated type type start_proof_style = Proof | Body
), and use this information in ppvernac.ml
indeed.
hmm, then maybe I'll try just allowing Body
as input as a first step
Yes, sure.
You might also need to tweak coqdoc so that it knows about this new command...
Especially given that this is done with documentation purpose in mind.
Last updated: Jun 11 2023 at 00:30 UTC