From d0177f717235a9e3dfb91c3263361fbbd7021576 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 16 Mar 2023 10:25:16 -0700 Subject: [PATCH] Minor updates to 1989 files Mostly this involves README.md files in some entries but the 1989/robinson/Makefile was updated. Force -include option in CINCLUDE variable not CDEFINE. --- 1989/fubar/README.md | 13 ++++++++++--- 1989/jar.2/README.md | 9 +++++++++ 1989/paul/README.md | 6 +++++- 1989/robison/Makefile | 2 +- 1989/robison/README.md | 1 + 1989/roemer/README.md | 4 ++++ 6 files changed, 30 insertions(+), 5 deletions(-) diff --git a/1989/fubar/README.md b/1989/fubar/README.md index 0a91dfe05..0b17c2eb8 100644 --- a/1989/fubar/README.md +++ b/1989/fubar/README.md @@ -11,10 +11,20 @@ make all +NOTE: With a bit of tinkering [Cody Boone +Ferguson](/winners.html#Cody_Boone_Ferguson) got this to work in modern systems. Thank you Cody for +your assistance! + + ### To run + ./fubar number> + +### Try: + ./fubar 2 + ## Judges' comments Run this with a single digit argument (or wait a long time). @@ -22,9 +32,6 @@ Run this with a single digit argument (or wait a long time). The blank line at the beginning of the source is mandatory. Do you know why? -With a bit of tinkering Cody Boone Ferguson got this to work on modern systems. -We thank him for his assistance! - NOTE: don't try running `ouroboros.c` directly with an arg as it'll turn into an infinite loop. The same will happen with larger numbers. diff --git a/1989/jar.2/README.md b/1989/jar.2/README.md index d2bda580e..71f2fce49 100644 --- a/1989/jar.2/README.md +++ b/1989/jar.2/README.md @@ -14,6 +14,15 @@ NOTE: To have a chance to compile under a modern CPP, we had to replace `#D` with `#define` and `#a` with `#include`. + +### To run: + + + ./jar.2 + [enter some lisp] + +NOTE: this entry will likely segfault on invalid input. + ## Judges' comments: This is the most useful program entered this year. It is a diff --git a/1989/paul/README.md b/1989/paul/README.md index 5c4408ef9..e3e0541ce 100644 --- a/1989/paul/README.md +++ b/1989/paul/README.md @@ -12,9 +12,13 @@ make all NOTE: this entry will likely dump core with arm64 chips. We could get it to work -with modern systems with x86_64 but systems but we at least with macOS arm64 +with modern systems with x86_64 but systems but at least with macOS arm64 this program dumps core. We could not test Intel Macs. +## Try: + + ./paul + ## Judges' comments: diff --git a/1989/robison/Makefile b/1989/robison/Makefile index 8f16c9b99..abd78e3ed 100644 --- a/1989/robison/Makefile +++ b/1989/robison/Makefile @@ -123,7 +123,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT} # FORCE use of -include stdlib.h # -CFLAGS+= -include stdlib.h +CINCLUDE+= -include stdlib.h ## FORCE diff --git a/1989/robison/README.md b/1989/robison/README.md index 7f085447c..269e92524 100644 --- a/1989/robison/README.md +++ b/1989/robison/README.md @@ -55,6 +55,7 @@ To obtain a C-- reference, simply rip out the irrelevant pages from your K&R C manual. To obtain a C-- compiler, simply rip out the irrelevant bytes from your cc compiler. + Copyright (c) 1989, Landon Curt Noll & Larry Bassel. All Rights Reserved. Permission for personal, educational or non-profit use is granted provided this this copyright and notice are included in its entirety diff --git a/1989/roemer/README.md b/1989/roemer/README.md index 9d1bf0d8c..ce1515ff8 100644 --- a/1989/roemer/README.md +++ b/1989/roemer/README.md @@ -10,6 +10,10 @@ make all +## Try: + + ./roemer + ## Judges' comments: Do you know what this program does? If you do, look again,