-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathag.hint
executable file
·42 lines (30 loc) · 1.15 KB
/
ag.hint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# UNOFFICIAL RESULTS, PLEASE DO NOT DISTRIBUTE
#
Best Utility: <[email protected]> Anthony C Howe
Anthony Howe
Mortice Kern Systems, Inc.
Unit 1, 14 Weber Street North,
Waterloo, Ontario, N2J 3G4
Canada
Judges' comments:
To use:
make ant
./ant 'ERE' [file ...]
where:
ERE is an extended regular expression
file a file to process (default is stdin)
You may also want to try the author's test suite:
make -f ant.test.mk
See the author's Posix P1003.2-like documentation file ant.doc
for more information.
This program demonstrates that Posix doesn't guarantee readability. :-)
Selected notes from the author:
Some of the features of my entry are:
o "Lengthy" POSIX.2 style specification and manual :) :)
o Useful subset of POSIX.2 Extended Regular Expressions.
o Recursive ERE parser/compiler that generates an NFA railroad.
o Lazy NFA to DFA evaluation to improve performance speed.
o Code tested on a variety of platforms.
o Make driven test script.
o Can be compiled with ANSI or K&R C.
o Not a toy, but actually useful and usable on systems that use DOS.