Make progress in 1989/westley - alt code now main

The code that was the alt code now works entirely with gcc! The ver2 and
ver3 do not yet work with clang but the other versions do so it seems
appropriate to make this the main version and remove the alt code and
alt scripts.

I will continue to work on this in between the README.md files but this
feels like great progress and as it was all I felt up to at this time it
is definitely worth the effort and time.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-28 05:32:19 -07:00
1 parent f04b9b695d
commit eb9e69fde6
6 files changed
+40 -120

No files matched your search

+1 -28
View File
@@ -40,7 +40,7 @@ CC=/opt/local/bin/gcc-mp-12 ./compile.sh
If you wish to delay the script or remove the delay you can do so like:
```sh
DELAY=0 ./compile.sh
DELAY=2 ./compile.sh
```
Finally try:
@@ -52,33 +52,6 @@ Finally try:
./try.sh # demo of some input
```
## Alternate code:
The alternate code allows SOME of the features to work with clang but some of
the code it generates (see [compile.alt.sh](compile.alt.sh) is not compilable
even in gcc let alone clang. Nevertheless the main feature should work and the
same goes for the `alt.ver0` and `alt.ver1`; currently `alt.ver2` and `alt.ver3`
will not compile even with gcc but it is nonetheless generated for when it is
(hopefully) fixed.
### Alternate build:
```sh
make alt
```
### Alternate try:
```sh
./westley.alt
# input some text
# generate alt code versions:
./compile.alt.sh
./try.alt.sh # demo of some input
```
## Judges' remarks: