At least one entry was missing (1984/anonymous). Some entries were removed. One such entry was not ever broken but instead when I had renamed a file (to markdown) I forgot to update the DATA variable in the Makefile which then broke compilation. This was seen in the log and mistakenly believed that there was something wrong with the entry when there wasn't. Other entries removed were not fixes but notes. Various README.md files have been updated for this sometimes just formatting merely because I opened the file because for instance there is an alternate version (many by me) that is referred to. I'd not be surprised if more README.md files have to be updated for this much better system but these will be found in time when I do another pass (and some years I have not checked at all yet).
Best layout
Merlyn LeRoy (Brian Westley)
US
http://www.westley.org
To build:
make all
NOTE: this version is a fixed version for modern C compilers. See the Alternate code section below for how to use the original.
Try:
./westley
Judges' remarks:
Your compiler must parse
#define _ -a
-_
as --a and not -(-a) or some other tokenized form. Some strictly
conforming ANSI C Preprocessors may object to this: for such
compilers, you can elide the non-standard token-pasting requirement
by changing the #define line to:
#define _ F-->00||F-OO--;
This is what the modified code in westley.c does whereas the alt code is the original.
You might enjoy looking at the output of:
cc -E westley.alt.c
Alternate code:
To see if your compiler has the problem described above try:
make alt
./westley.alt
Does it show the same output as westley?
Author's remarks:
No remarks were provided by the author.
Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
For more information, see: https://creativecommons.org/licenses/by-sa/4.0/