Add alt code 1989/westley

Unfortunately the fix to let the main program compile with clang even
breaks some versions generated (see compile.sh) in syntax error so even
gcc cannot compile those. Therefore it's now alt code. The alt version
will compile with clang and the main feature of the program will work
but the program cannot generate every version of the program.

The bugs.md and thanks-for-fixes.md have been updated along with the
README.md.

In the README.md there is a different heading level for the alt code
sections to compare to another as we try and figure out what heading
levels to use.

I changed the delay to 0 in the compile.sh script but one can set it to
another value if they like.

This entry will have to be worked on more at another time.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-25 09:08:48 -07:00
1 parent 2469510d33
commit e51a012aa8
7 files changed
+92 -40

No files matched your search

+3 -5
View File
@@ -13,9 +13,7 @@
#
# CC=/opt/local/bin/gcc-mp-12 ./compile.sh
#
# We sleep (by default) for approximately 1 second after each command so that
# the you can read what is being done. If this is too fast you can change it in
# a similar way to the above but using the variable DELAY like so:
# If you wish to slow down the script you can use the DELAY variable like:
#
# DELAY=2 ./compile.sh
#
@@ -36,11 +34,11 @@ if [[ -z "$CC" ]]; then
fi
# get sleep duration
# we cannot use the form '${DELAY:=5}' because at least in some versions of bash
# we cannot use the form '${DELAY:=0}' because at least in some versions of bash
# it tries to invoke the command and obviously that won't work. Thus we check if
# it's empty before setting the default.
if [[ -z "$DELAY" ]]; then
DELAY=2
DELAY=0
fi
# make clobber to make the directory clean and then compile westley which we