Author:
- Name: Anthony C. Howe
Location: CA - Canada
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.
Inventory for 1993/ant
Primary files
- ant.c - entry source code
- Makefile - entry Makefile
- ant.orig.c - original source code
- ant.txt - ag man page in text format
- try.sh - script to try entry
- ant.alt.c - author provided unobfuscated code
- try.alt.sh - script to try unobfuscated code
- test.alt.mk - author provided test suite Makefile for unobfuscated code
- ants.txt - lyrics of the Ants Go Marching song
- ant.test.mk - test suite Makefile
- ant.alt.test.mk - test suite Makefile for unobfuscated code
Secondary files
- 1993_ant.tar.bz2 - download entry tarball
- README.md - markdown source for this web page
- .entry.json - entry summary and manifest in JSON
- .gitignore - list of files that should not be committed under git
- .path - directory path from top level directory
- index.html - this web page