OVERVIEW The cfg program will parse an input using a context free grammar. INSTALLATION The cfg program is a perl script. It assumes that perl is located in /usr/local/bin/perl. If that is not true, you need to change the first line of the cfg program. Otherwise, just put cfg where you want it. OTHER INFO Run "cfg -h" to get help. Some cfg files are included. They correspond to examples from Section 5.1 of the Linz book. g1: Example 5.1. Generates wx, where x is the reverse of w. g2: Example 5.2. Generates ab(bbaa)*bba(ba)*, where the number of bbaa's equals the number of ba's. g3: Example 5.3. Generates a*b*, where the number of a's is different from the number of b's. S1 is replaced with T. g4: Example 5.4. Generates balanced parentheses. a and b are replaced with ( and ), respectively.