Open hendriktews opened 7 years ago
Thanks for the nice easycrypt support! It works very well. However, there are a few glitches in the indentation support. Here is an example:
lemma test: true.
proof.
trivial.
qed.
There should be no indentation before proof. There are more indentation glitches and I think they are easy to find with some basic editing. Please let me know if you need more info.
Hi, Indentation is not generically supported by proofgeneral. You need to implement it by yourself.
If the syntax is simple I may try to provide a starting point using the smie library like for coq.
Can you provide a informal grammar and/or some file with samples covering the whole syntax?
P.
@strub or @fdupress would be the ones most knowledgeable I guess. Meanwhile I was happy to find out that M-x electric-indent-mode disables it :-)
Thanks for the PG, in any case.
I can provide a file with all the idiomatic construction. I think that Coq already have isomorphic constructions :)
Hopefully easycrypt is not isomorphic to the terrible overloading of tenth of symbols of coq...
Think about what indentation in coq has to do when meeting a line starting with "with" for instance. Even "." is overloaded.
@strub Could you add a little easycrypt example, such that one could try your easycrypt mode?