aboutsummaryrefslogtreecommitdiff
path: root/coq/ex
AgeCommit message (Collapse)Author
2020-10-16Fix #514 + support for named goal selector.Pierre Courtieu
It was hard to separate this too fixes (same regexps).
2020-03-12moving tests for monadic notations and Equations in separate files.Pierre Courtieu
2020-03-12Fix #465: Indentation of Equations (plugin).Pierre Courtieu
2020-03-02Adding Tests for indentation related to plugins.Pierre Courtieu
Namely monadic notations and Equations (the latter is bugged currently).
2020-01-19Generic monadic indentation + specifically ext-lib / Compcert + doc.Pierre Courtieu
This a generalization of PR#451 proposed by @Chobbes. Since these syntax are not completely universal (and not builtin in coq), the idea is to make the syntax customizable, especially to make it possible to disable it. NOTE: to make the Compcert syntax supported I had to refine the smie lexer so that the ";" token was emitted as a fllback instead of "; tactic". NOTE2: I had to make the coq-user-token and coq-monadic-tokens be tested ON THE RESULT of smie-coq-backward-token.
2019-06-17fixing with inductive indentation.Pierre Courtieu
2017-05-23Fixing #183.Pierre Courtieu
2017-03-03Merge pull request #163 from ProofGeneral/fix_indentationPierre Courtieu
Fix indentation
2017-03-02use Utf8 from Coq libraryPaul Steckler
2017-01-26Fixing #147 and #91 + others indentation bugs.Pierre Courtieu
While fixing these I discovered several flaws in indentation (what a suprise). The probem is the following: since we don't have a precise grammar of tactics, smie often decides that the parent of a sub-part of a tactic is the previous command instead of the current tacic. Typical example (fixed now but in general): foo. apply bar with bar'. Since "apply ... bar'" is considered as one leaf of the grammar, it is considered to be a child of the previous dot. . /\ / \ foo apply...bar' Therefore indentation of "with" wants to align with parent "." and hence with "foo". Basically we should try to define a much more precise grammar of complex tactics (with with, as, using etc) in order to fix the problem. Of course this has the drawback of making impossible to support user tactic notations.
2015-03-23Fixed lazymatch and multimatch indentation/highlighting.Pierre Courtieu
2015-01-05Fixing indentation of pending curly braces.Pierre Courtieu
2015-01-05trying to indent pending forall in the expected wayPierre Courtieu
2014-12-30fixed indentation (lexing of 'with') + made local coq-load-path.Pierre Courtieu
2014-12-24fixed a bug in command parsing for coq, due to recent changes.Pierre Courtieu
2014-06-06* coq/coq-smie.el: Fix precedence of 'else'.Stefan Monnier
2014-06-04* coq-smie.el (coq-smie-.-deambiguate): Proofs don't start with a definition.Stefan Monnier
(coq-smie-backward-token): Don't burp at EOB. (coq-smie-rules): Indent top-level ":" like ":=".
2014-06-03Rename coq-smie-lexer.el to coq-smie.el.Stefan Monnier
2013-07-11Fixing another bug in indentation concerning "where". Actually therePierre Courtieu
are other uses of "where (declaring notation for records that I did no test).
2012-11-13- first version of parallel asynchronous compilation for coq inHendrik Tews
coq-par-compile.el (must be activated via coq-compile-parallel-in-background) - items in the queue region are not necessarily in proof-action-list any more! Require commands and the following items are stored elsewhere until the compilation finishes. Variable proof-second-action-list-active notifies the generic machinery if queue items are stored elsewhere. In this case, Proof General must neither release the proof shell lock nor delete the queue span when proof-action-list is empty. - to kill background processes as early as possible, the new hook proof-shell-signal-interrupt-hook is used
2012-07-10Fixed incorrect syntax of previous commit.Pierre Courtieu
2012-06-08Indentation is a bit more accurate.Pierre Courtieu
2012-06-07Fix indentation of dependent match clauses (as ... in ... return ...).Pierre Courtieu
+ bug fixes.
2012-06-04One more fix for indentation.Pierre Courtieu
2012-06-03Fix a bug of indentation.Pierre Courtieu
2012-05-09fix typo + add one missing cvsignoreHendrik Tews
2012-02-10Fixed an ineficiency in comment detection.Pierre Courtieu
2011-12-27TypoDavid Aspinall
2011-07-08Fixing the scripting of new subproof script parenthesizing ({ and }).Pierre Courtieu
2011-07-01Some more sample indentation patterns added.Pierre Courtieu
2011-06-17oops, undo last commit.Pierre Courtieu
2011-06-10Fix trac #410.Pierre Courtieu
2011-06-08Added one indentation example.Pierre Courtieu
2011-06-04Updated the old code for indentation, in case Stefan cannot finish thePierre Courtieu
new one for the release. Added also support for an experimental syntax modification: { .. } is a new syntax for Beginsubproof. ... EndSubproof. There a also few minor behavior changes. The code has changed a lot though.
2011-05-20- minor changes: clean personal todo list + adjust test case descriptionHendrik Tews
2011-05-12- add test coq/ex/test-cases/change-ancestor for theHendrik Tews
change-ancestor bug
2011-02-28- adjust coq-ask-insert-coq-prog-name and doc in coq-local-vars-docHendrik Tews
2011-01-26- fix problem descriptionHendrik Tews
2011-01-21- use time-less-pHendrik Tews
- delete previous-head, simplify loop - coq 8.2 compatibility - describe bug for killing completely asserted active buffers in coq/ex/test-cases/retract-completely-asserted
2011-01-18- fixed stale load path problem with killing the proof shell inHendrik Tews
the deactivation-hook
2011-01-17fix problems in test casesHendrik Tews
coq/ex/test-cases/multiple-files-single-dir and multiple-files-multiple-dir
2011-01-14- more coq test cases (some with surprising and embarrassing bugs)Hendrik Tews
2011-01-14- move proof-no-fully-processed-buffer to generic/proof-configHendrik Tews
- add documentation for it - add a test case demonstrating it in coq/ex/test-cases/retract-completely-asserted
2010-09-09Fixed small bugs in indentation.Pierre Courtieu
2010-09-08illustrating the wrongness of the current multifile processing for coq.Pierre Courtieu
2010-09-08Added three files for testing multi file scripting.Pierre Courtieu
2010-08-15Moved filesDavid Aspinall
2010-08-13Renamed fileDavid Aspinall