Format fix 2005/chia/README.md

This commit is contained in:
Cody Boone Ferguson committed 2023-04-28 06:40:02 -07:00
1 parent 382cc698ec
commit 5dc92c162d
1 file changed
+23 -14
+23 -14
View File
@@ -1,8 +1,8 @@
# Most ambiguous language # Most ambiguous language
V. Chia V. Chia
Singapore Singapore
bi@mncw.tk <bi@mncw.tk>
## To build: ## To build:
@@ -32,29 +32,38 @@ for "stringification".
## Author's remarks: ## Author's remarks:
Two things inspired this entry. First, there were the C programs which were Two things inspired this entry. First, there were the C programs which were
`#define`'d to look like Pascal or Visual Basic: the /bin/sh code from V7 Unix `#define`'d to look like [Pascal][] or [Visual Basic][]: the
(which reportedly was the motivation behind this contest!), the VAL Linker by [/bin/sh](https://en.wikipedia.org/wiki/Bourne_shell) code from [V7
David Troendle, the 2000/primenum entry, ... Looking at these programs, I Unix](https://en.wikipedia.org/wiki/Version_7_Unix) (which reportedly was the
thought, "hmm... if it's possible to make C code look like some weird cross motivation behind this contest!), the [VAL
between Pascal, VB, and COBOL, then how about making C code look like some Linker](http://dunfield.classiccmp.org/dos/val_src.zip) by David Troendle, the
other language?" [2000/primenum](/2000/primenum/primenum.c) IOCCC entry, ... Looking at these
programs, I thought, "hmm... if it's possible to make C code look like some
weird cross between Pascal, VB, and COBOL, then how about making C code look
like some other language?"
As chance would have it, I was writing some Java code at that time, and one of As chance would have it, I was writing some [Java][] code at that time, and one of
my net.friends was also working on someone else's Java code. We both hated my net friends was also working on someone else's Java code. We both hated
Java; indeed, I hated Java so much that I was tired of hating it. Then I Java; indeed, I hated Java so much that I was tired of hating it. Then I
remembered my earlier idea: "Of course! Why not write C code that looks like remembered my earlier idea: "Of course! Why not write C code that looks like
Java? And poke fun at Java while I'm at it? All ye behold, as I turn anger Java? And poke fun at Java while I'm at it? All ye behold, as I turn anger
into action! PH34R MII!!!!!!!" And so, this entry was born. :-) into action! PH34R MII!!!!!!!" And so, this entry was born. :-)
Besides carrying a revolutionary message in the comments, this entry also Besides carrying a revolutionary message in the comments, this entry also
draws a spiffy little Koch snowflake fractal on the screen, with the help of draws a spiffy little [Koch snowflake
ANSI escape sequences. fractal](https://en.wikipedia.org/wiki/Koch_snowflake) on the screen, with the help of
[ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code).
The code requires a preprocessor that can stomach all kinds of nonsense that The code requires a preprocessor that can stomach all kinds of nonsense that
are passed as parameters to macros for stringification. GNU cpp handles such are passed as parameters to macros for stringification. GNU
[cpp](https://en.wikipedia.org/wiki/C_preprocessor) handles such
things just fine, but certain broken preprocessors may decide to freak out things just fine, but certain broken preprocessors may decide to freak out
when they see macro parameters that don't look like C tokens. when they see macro parameters that don't look like C tokens.
[Pascal]: https://en.wikipedia.org/wiki/Pascal_(programming_language)
[Visual Basic]: https://en.wikipedia.org/wiki/Visual_Basic_(classic)
[Java]: https://en.wikipedia.org/wiki/Java_(programming_language)
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License:
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.