To build:
make all
NOTE: there is an alternate version which will only work if
you have an old enough compiler or a compiler that supports -traditional-cpp.
The original code was fixed in 2023 to not require this.
Bugs and (Mis)features:
The current status of this entry is:
STATUS: INABIAF - please **DO NOT** fix
For more detailed information see 1984 decot bugs.
To use:
./decot
Alternate code:
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 version.
Alternate build:
make alt
Alternate use:
./decot.alt
Judges' remarks:
This program prints out what looks like a fragment of C code.
Is this a bug or is this a feature? To help choose the judges offer this one comment: understand remarks!
Historical remarks:
Some new (in 1984) compilers disliked line 15 of the original source, so we changed it from:
for(signal=0;*k * x * __FILE__ *i;) do {
to:
for(signal=0;*k *x * __FILE__ *i;) do {
To see what we mean look at the original source file. The alternate code is the version that has this modification. The fixed version has instead:
for(signal=0;*k *= * __FILE__ *i;) do {
Author's remarks:
No remarks were provided by the author.