Improve slightly on Peje's L12 patch, changing documentation to match.
This commit is contained in:
parent
804e60ccff
commit
3bdab31a0d
3 changed files with 100 additions and 90 deletions
10
notes.adoc
10
notes.adoc
|
@ -81,7 +81,7 @@ against a comprehesive test suite that we built first and verified with
|
|||
coverage tools. This is what you are running when you do "make check".
|
||||
|
||||
This move entailed some structural changes. The most important was
|
||||
the refactoring of 354 gotos into if/loop/break structures. We
|
||||
the refactoring of 355 gotos into if/loop/break structures. We
|
||||
also abolished almost all shared globals; the main one left is a
|
||||
struct holding the game's saveable/restorable state.
|
||||
|
||||
|
@ -108,10 +108,10 @@ ways:
|
|||
and the choice to refrain will make forward translation into future
|
||||
languages easier.
|
||||
|
||||
* There are 20 gotos left that resist restructuring; all but one of
|
||||
these are in the principal command interpreter function implementing
|
||||
its state machine. A 21st, a two-level loop breakout, is not reducible
|
||||
even in principle.
|
||||
* There are 19 gotos left that resist restructuring; all of these are
|
||||
in the principal command interpreter function implementing its state
|
||||
machine. A 21st, a two-level loop breakout, is not reducible even
|
||||
in principle.
|
||||
|
||||
* Linked lists (for objects at a location) are implemented using an array
|
||||
of link indices. This is a surviving FORTRANism that is quite unlike
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue