From ccfafbb2a2ff4ec674404781cf0a3c5f2951cacc Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 22 Oct 2023 08:34:32 -0700 Subject: [PATCH] Updates to 1984/decot wrt alt/orig code Update formatting of the alt code (heading levels) and added subsections for how to build and run (rather than having it all together). Updated the historical remarks as well. It's important in this case to refer to decot.orig.c and not decot.alt.c because the orig code is the one that was submitted whereas the alt code is the modification the judges made. --- 1984/decot/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/1984/decot/README.md b/1984/decot/README.md index e5d5514d6..f97928731 100644 --- a/1984/decot/README.md +++ b/1984/decot/README.md @@ -16,10 +16,19 @@ make all ### Alternate code: -To try the original code that requires `-traditional-cpp`: +This alternate code, the original, requires a compiler that supports +`-traditional-cpp` or an old enough compiler. If you have such a compiler you +can use this entry. + +#### To build: ```sh make alt +``` + +#### To run: + +```sh ./decot.alt ``` @@ -45,7 +54,8 @@ to: for(signal=0;*k *x * __FILE__ *i;) do { ``` -To see what we mean look at the [original source file](decot.orig.c). +To see what we mean look at the [original source file](decot.orig.c). The +[alternate code](decot.alt.c) is the version that we modified. ## Author's remarks: