Add helper scripts to 2018/endoh2 + formatting

The run.sh script was fixed to work. It did not work because it had a
command that does not even exist ('tempfile') and even after that was
resolved there was another problem to be resolved.

The Makefile rule make python runs the python.sh script but it sets a
trap so one can exit that script but not exit everything (see below).
The python3.sh script is what python.sh is but for the make rule python3
and it works in the same way. The try.sh script runs all of these
scripts as well as the commands suggested by the judges.

The README.md file has been format/typo checked. For the link (twice
referenced) that has flashing lights (and quite a few at that) I put a
warning in parentheses for those who are (like me) sensitive to it (more
important for some people with epilepsy, depending on how sensitive they
are, maybe, but I hate flashing text and lights and so do many other
people).
This commit is contained in:
Cody Boone Ferguson committed 2023-12-13 06:41:52 -08:00
1 parent 52ee9b9697
commit 30847d6aad
7 files changed
+146 -50

No files matched your search

+17 -26
View File
@@ -15,18 +15,10 @@ make
### Try:
```sh
./prog | tee prog_next.c
make prog_next
./prog_next | tee prog_next.c
make prog_next
./prog_next | tee prog_next.c
make python
make python3
./try.sh
```
NOTE: to interrupt the loop send intr (typically ctrl-C).
NOTE: to interrupt the loops send intr (typically ctrl-C).
## Judges' remarks:
@@ -41,31 +33,30 @@ This is an EX-tremely obfuscated program!
A high-context work that combines parrots that new hackers like and parrots that
old hackers like. One is an internet meme called [Party
Parrot](https://cultofthepartyparrot.com). The other is a
sketch (comte) called ["Dead
Parrot](https://cultofthepartyparrot.com) (WARNING: has flashing lights). The other is a
sketch [comté](https://en.wikipedia.org/wiki/Comté_cheese) called ["Dead
Parrot"](https://en.wikipedia.org/wiki/Dead_Parrot_sketch) from the British
comedy TV show ["Monty Python's Flying Circus"](https://en.wikipedia.org/wiki/Monty_Python%27s_Flying_Circus)
sitcom ["Monty Python's Flying Circus"](https://en.wikipedia.org/wiki/Monty_Python%27s_Flying_Circus)
The "_Python_" in the award name refers to Monty Python, **not** the
[programming language Python (the name of the programming language Python is
derived from Monty
Python)](https://en.wikipedia.org/wiki/Python_(programming_language).
[programming language Python](https://en.wikipedia.org/wiki/Python_(programming_language)
(the name of the programming language Python is derived from Monty Python).
The shape of prog.c is "Undead Parrot" based on "dead parrot". The message that
appears in the bottom line of the output source code is the subject of the
dialogue that appears in "Dead Parrot" and explains in various expressions that
the parrot died. Also, the second **__<-_Source_of_Parrots__** line from the bottom
<http://cultofthepartyparrot.com/> has a hidden URL (hidden by the parrot's body).
The shape of [prog.c](prog.c) is "Undead Parrot" based on "dead parrot". The
message that appears in the bottom line of the output source code is the subject
of the dialogue that appears in "Dead Parrot" and explains in various
expressions that the parrot died. Also, the second **__<-_Source_of_Parrots__**
line from the bottom of <http://cultofthepartyparrot.com/> (WARNING: has
flashing lights) has a hidden URL (hidden by the parrot's body).
Although it is a boring Quine story, it is quite difficult to have 10 parrot
pictures and 10 lines of data. Only the outline data of the parrot picture is
saved, and the body is filled in at runtime. These data are probably compressed
with [byte pair encoding](https://en.wikipedia.org/wiki/Byte_pair_encoding).
The parrot ASCII art below is the opening line of the Monty Python show. The judge's
comment ["And now for something completely
different"](https://en.wikipedia.org/wiki/And_Now_for_Something_Completely_Different) is also used in the
opening.
The parrot ASCII art below is the opening line of the Monty Python show. The
judge's comment ["And now for something completely
different"](https://en.wikipedia.org/wiki/And_Now_for_Something_Completely_Different)
is also used in the opening.
```
___-----__