Files
ioccc/1993/ant
Landon Curt Noll 0fa01fd744 add title and abstract to .entry.json and index.html files
We add an initial "_title_" and "_abstract_" to all entry `.entry.json` files.

The `bin/csv2entry.sh` tool reads the `summary.csv` file and
loads the "_title_" and "_abstract_" to entry `.entry.json` files.

Changed `bin/csv2entry.sh` VERSION from "1.3 2024-09-23"
to "1.4 2024-09-27".

Perform `make csv2entry` to perform the above and test under macOS.

The `bin/cvt-submission.sh` tool adds "_title_" and "_abstract_" to the
.entry.json based on the `.info.json` file.

Changed `bin/cvt-submission.sh` VERSION from "1.2 2024-09-23"
to "1.3 2024-09-27".

The `bin/entry2csv.sh` tool forms the `summary.csv` file
based on the "_title_" and "_abstract_" fields found in .entry.json files.

Changed `bin/entry2csv.sh` VERSION from "1.3 2024-09-23"
to "1.4 2024-09-27".

Perform `make entry2csv` to perform the above and test under macOS.

Added `-H` and `header=with-header-3` to the `bin/md2html.cfg`
for the configuration entry for `[12][0-9][0-9][0-9]/*/README.md`.

Changed `bin/md2html.sh` VERSION from "1.6 2024-08-17"
to "1.7 2024-09-27".

All entry `index.html` files now list the "_abstract_" in a new
`<h3>abstract</h3>` header.

Changed `bin/subst.entry-index.sh` VERSION from "1.6 2024-09-23"
to "1.7 2024-09-27".

Removed `summary.csv`.

Added `summary.csv` and `summary.numbers` to `.gitignore`.
Sorted the result with `bin/sgi.sh`.

Perform `make quick_www` to perform the above and test under macOS.

Perform `make www` to perform the above and test under macOS.
2024-09-27 23:40:45 -07:00
..
2023-03-17 08:27:55 -07:00
2023-07-06 21:49:38 -07:00
2023-11-09 11:47:24 -08:00
2024-01-14 10:50:02 -08:00

To build:

    make all

The author provided an unobfuscated version. See Alternate code below.

Bugs and (Mis)features:

The current status of this entry is:

STATUS: INABIAF - please DO NOT fix

For more detailed information see 1993/ant in bugs.html.

To use:

    ./ant 'ERE' [file ...]

Try:

    ./try.sh

Alternate code:

The ant.alt.c is an unobfuscated version provided by the author. You can look at this code if you want some clues in how it works.

Alternate build:

If you wish to build this deobfuscated version, you can do so like:

    make alt

Alternate use:

Use ant.alt like you would ant above.

Alternate try:

    ./try.alt.sh

Judges' remarks:

See the author's POSIX P1003.2-like documentation file ant.txt for more information.

This program demonstrates that POSIX doesn't guarantee readability. :-)

Author's remarks:

Some of the features of my entry are:

  • "Lengthy" POSIX.2 style specification and manual :) :)
  • Useful subset of POSIX.2 Extended Regular Expressions.
  • Recursive ERE parser/compiler that generates an NFA railroad.
  • Lazy NFA to DFA evaluation to improve performance speed.
  • Code tested on a variety of platforms.
  • Make driven test script.
  • Can be compiled with ANSI or K&R C.
  • Not a toy, but actually useful and usable on systems that use DOS.
  • See also ant.txt.