lean4-htt/stage0/src
Sebastian Graf f8b9610b74
feat: add Lean.doRepeat elaborators for repeat/while loops (#13434)
This PR names the `repeat` syntax (`doRepeat`) and installs dedicated
elaborators for it in both the legacy and new do-elaborators. Both
currently expand to `for _ in Loop.mk do ...`, identical to the existing
fallback macro in `Init.While`.

The elaborators are dead code today because that fallback macro fires
first. A follow-up PR will drop the macro (after this PR's stage0 update
lands) and extend `elabDoRepeat` to choose between `Loop.mk` and a
well-founded `Repeat.mk` based on a `backward.do.while` option.
2026-04-17 07:17:57 +00:00
..
bin chore: update stage0 2026-02-26 08:58:17 +00:00
cmake chore: update stage0 2026-04-13 14:07:41 +00:00
include/lean chore: update stage0 2026-04-13 19:08:51 +00:00
initialize chore: update stage0 2025-10-23 08:03:18 +00:00
kernel chore: update stage0 2026-04-04 18:50:11 +00:00
lake chore: update stage0 2025-12-13 03:28:09 +00:00
Lean/Server chore: update stage0 2025-12-27 03:18:33 +00:00
library chore: update stage0 2026-03-27 11:03:27 +00:00
runtime chore: update stage0 2026-04-15 10:55:52 +00:00
shell chore: update stage0 2026-02-03 23:07:52 +00:00
util chore: update stage0 2026-04-04 18:50:11 +00:00
cadical.mk
CMakeLists.txt chore: update stage0 2026-04-15 10:55:52 +00:00
config.h.in
githash.h.in
lakefile.toml.in chore: update stage0 2026-04-09 15:26:42 +00:00
lean-toolchain chore: update stage0 2026-02-26 08:58:17 +00:00
lean.mk.in
out
stdlib.make.in chore: update stage0 2026-04-15 10:55:52 +00:00
stdlib_flags.h feat: add Lean.doRepeat elaborators for repeat/while loops (#13434) 2026-04-17 07:17:57 +00:00
version.h.in