Skip to content

Commit 858c771

Browse files
committed
Update README: GOTO elimination now 100% complete
All 8,296 GOTOs have been eliminated from the codebase. The previous claim of "27 remaining in MINPACK" was outdated - those files (dnsq.inc, snls1.inc, etc.) were already modernized using DO/EXIT/CYCLE constructs with logical flags. Verified by searching all .inc files for executable GO TO statements.
1 parent 9870f1f commit 858c771

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The grand cleanup:
8181

8282
- [x] Convert to free-form Fortran 2018
8383
- [x] Create proper modules with explicit interfaces
84-
- [x] **Eliminate GOTOs with structured control flow** (8,269 of 8,296 removed — 99.7%. The remaining 27 are in MINPACK and looked at me funny, so I left them for now.)
84+
- [x] **Eliminate GOTOs with structured control flow** (8,296 of 8,296 removed — 100%. Every last one.)
8585
- [x] Replace arithmetic IF statements (remember those? No? Good.)
8686
- [x] Replace DATA statements with parameter constants
8787
- [x] Add `intent` attributes to all procedure arguments
@@ -209,7 +209,7 @@ Jacob's work on eliminating GOTOs through structured `DO`/`EXIT` constructs with
209209

210210
### Current Development
211211

212-
**Zane Hambly**Ongoing GOTO elimination, control flow modernisation, IBM 360 verification testing, and general acts of code archaeology.
212+
**Zane Hambly**Complete GOTO elimination (8,296 of 8,296!), control flow modernisation, IBM 360 verification testing, and general acts of code archaeology.
213213

214214
---
215215

@@ -291,7 +291,7 @@ Apologies for the NZ English throughout. Colour has a 'u' in it and that's simpl
291291

292292
## Contributing
293293

294-
Found something that needs sorting? Spotted one of the 27 remaining GOTOs I tactically ignored? PRs welcome.
294+
Found something that needs sorting? Spotted an issue or want to help with the remaining modernisation tasks? PRs welcome.
295295

296296
If you're feeling particularly brave, the differential equation solvers in `diff_integ_eq/` still have some rather creative control flow that could use attention. I recommend a stiff drink beforehand. Or several. I'm not here to judge.
297297

0 commit comments

Comments
 (0)