aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/addendum/extended-pattern-matching.rst
AgeCommit message (Collapse)Author
2020-05-16Add redirects for HTML pages that were moved.Théo Zimmermann
2020-05-14Move extended pattern matching to new location.Théo Zimmermann
2020-03-12Update doc/sphinx/addendum/extended-pattern-matching.rstlarsr
Co-Authored-By: Théo Zimmermann <theo.zimmi@gmail.com>
2020-03-12Fixed link to "match" syntax. larsr
and removed the now incorrect "section 8.2.3" reference, as it is the same as the "refine" link.
2019-12-28Convert productionlists to prodnsJim Fehrle
2019-11-20Update grammar in the Terms section of Gallina chapterJim Fehrle
Update doc_grammar tool The grammar in the doc is generated semi-automatically with doc_grammar: - the grammar is automatically extracted from the mlg files - developer-prepared editing scripts *.mlg_edit modify the extracted grammar for clarity, simplicity and ordering of productions - chunks of the resulting grammar are automatically inserted into the rsts using instructions embedded in the rsts Running doc_grammar is currently a manual step. The grammar updates in the rst files have been manually reviewed.
2019-05-23do not parse `|` as infix in patterns; parse `|}` as `|` `}`Georges Gonthier
* use mixfix `(p1 | … | pn)` notation for nested disjunctive patterns, rather than infix `|`, making pattern syntax consistent with term syntax. * disable extending `pattern` grammar with notation incompatible with the nested disjunctive pattern syntax `(p1 | … | pn)`, such as the `(p | q)` divisibility notation used by `Numbers`. * emit a (disabled by default) `disj-pattern-notation` warning when such `Notation` is attempted. * update documentation accordingly; document incompatibilities in `changelog`. * comment special treatment of `(num)` in grammar. * update file extensions in `Pcoq` header comment. * correct the keyword declarations to reflect the contents of the grammar files; perhaps there should be an option to disable implicit keyword extension in a `.mlg` file, so that these lists could actually be checked. * parse the `|}` manifest record terminator as `|` followed by `}`, eliminating the `|}` token which conflicts with notations that use `|` as a terminator (such as, absolute value, norm, or cardinal in MathComp). Since `|` is now an `operconstr` _and_ `pattern` terminator, `bar_cbrace` rule checks for contiguous symbols, this change entails no visible behaviour change.
2019-03-13[refman] Fix other newly emitted warnings.Théo Zimmermann
2019-02-14[Manual] Fix a referenceVincent Laporte
2019-02-12Fix failing coqtops in extended-pattern-matching.rstGaëtan Gilbert
2018-12-03A few fixes of unexisting tokens.Théo Zimmermann
2018-09-20Rewrite "Flags, Options and Tables" section.Jim Fehrle
Mark boolean-valued options with :flag: Adjust tactic and command names so parameters aren't shown in the index unless they're needed for disambiguation. Remove references to synchronous options. Revise doc for tables. Correct indentation for text below :flag:
2018-09-20[doc] Include the rst and LaTeX preambles automatically in all filesClément Pit-Claudel
2018-09-07Recover lost snippetMatěj G
This snippet on pattern matching got lost in the process of migrating to Sphynx.
2018-08-01Improved grammar and spelling in chapter 'Extended pattern matching' of the ↵Zeimer
Reference Manual.
2018-05-05Two more uses of verbatim in doc.Théo Zimmermann
2018-05-05Fix error messages and make them consistent.Théo Zimmermann
All the error messages start with a capitalized letter and end with a dot.
2018-05-05Clean-up around options.Théo Zimmermann
- Remove all trailing dots. - There is only one Bullet Behavior option. - Replaces `@natural` and `@integer` by `@num`.
2018-05-05Fix failing example in refman.Théo Zimmermann
2018-04-14[Sphinx] Fix all remaining warnings.Maxime Dénès
2018-03-22[Sphinx] Add chapter 17Maxime Dénès
Thanks to Clément Pit-Claudel for porting this chapter.
2018-03-22[Sphinx] Move chapter 17 to new infrastructureMaxime Dénès