lean4-htt/src/Lean/Parser
Kyle Miller 7557542bc2
feat: make structure parent projections nameable (#7100)
This PR modifies the `structure` syntax so that parents can be named,
like in
```lean
structure S extends toParent : P
```
**Breaking change:** The syntax is also modified so that the resultant
type comes *before* the `extends` clause, for example `structure S :
Prop extends P`. This is necessary to prevent a parsing ambiguity, but
also this is the natural place for the resultant type. Implements RFC
#7099.

Will need followup PRs for cleanup after a stage0 update.
2025-02-18 07:38:13 +00:00
..
Tactic feat: more infrastructure for tactic documentation (#4490) 2024-06-21 12:49:30 +00:00
Term feat: recommended_spelling command (#6869) 2025-02-03 11:15:52 +00:00
Attr.lean feat: more infrastructure for tactic documentation (#4490) 2024-06-21 12:49:30 +00:00
Basic.lean feat: async modes for environment access (#6852) 2025-01-31 16:35:50 +00:00
Command.lean feat: make structure parent projections nameable (#7100) 2025-02-18 07:38:13 +00:00
Do.lean feat: @[builtin_doc] attribute (part 2) (#3918) 2024-09-13 08:05:10 +00:00
Extension.lean feat: quotations for parser aliases (#4307) 2024-05-30 09:22:22 +00:00
Extra.lean chore: simplify signature of Array.mapIdx (#5749) 2024-10-21 05:48:42 +00:00
Level.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Module.lean feat: incremental elaboration of definition headers, bodies, and tactics (#3940) 2024-05-22 13:23:30 +00:00
StrInterpolation.lean feat: @[builtin_doc] attribute (part 2) (#3918) 2024-09-13 08:05:10 +00:00
Syntax.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Tactic.lean feat: decide +revert and improvements to native_decide (#5999) 2024-11-08 18:17:46 +00:00
Term.lean doc: mention Props are equal to True or False (#6998) 2025-02-08 18:11:26 +00:00
Types.lean feat: cleanup of get and back functions on List/Array (#7059) 2025-02-17 01:43:45 +00:00