Add support for pure names in intro patterns
Notably this support relies on string to identifier conversion, which works natively using Ltac2 in Coq 8.11+ and with a plugin (https://github.com/ppedrot/coq-string-ident) in Coq 8.10. To use it, you must replace intro_patterns.string_to_ident_hook with a real implementation; see https://gitlab.mpi-sws.org/iris/string-ident for a working implementation that works with Coq 8.11 (using Ltac2). The syntax is %H (within a string intro pattern). This is technically backwards-incompatible, because this was previously supported and parsed as % and H separately. To restore the old behavior, separate with a space, eg [% H].
Showing
- CHANGELOG.md 4 additions, 0 deletionsCHANGELOG.md
- tests/proofmode.ref 18 additions, 0 deletionstests/proofmode.ref
- tests/proofmode.v 39 additions, 0 deletionstests/proofmode.v
- theories/proofmode/intro_patterns.v 10 additions, 5 deletionstheories/proofmode/intro_patterns.v
- theories/proofmode/ltac_tactics.v 27 additions, 1 deletiontheories/proofmode/ltac_tactics.v
- theories/proofmode/sel_patterns.v 1 addition, 1 deletiontheories/proofmode/sel_patterns.v
- theories/proofmode/spec_patterns.v 2 additions, 2 deletionstheories/proofmode/spec_patterns.v
- theories/proofmode/tokens.v 5 additions, 2 deletionstheories/proofmode/tokens.v
Loading
Please register or sign in to comment