[comp.lang.c] YACC/LEX Combo for large textual input

ddickey@aspen04.cray.com (Dan A. Dickey) (01/26/91)

Hi, I'm working on a yacc/lex parser pair that parses a wide variety
of output.  The problem I have is that the output contains a rather
large set of words in it, english language words.  I'm wondering if
there is an easy way of parsing these words with yacc/lex that I'm
not aware of.  Currently I define tokens for each and every word,
and return these token in the lex part.  It is very messy; I have had
to increase the table sizes in my lex input file quite substantially.
The yacc input doesn't even make it through a standard yacc.  I
have had to increase several table sizes in the yacc source code
in order to get it to process my yacc input file.  As I said, this
is very messy.  Currently, I would guess that there are about 300 words
or so that I'm parsing, along with the normal things like integers,
floating point output, strings, etc.

If you think you can help me out, please email.  If you think you
can help, but I have explained myself poorly, email with your questions
and I'll send a sample of what I'm doing.  The address is:
	ddickey@fizban.cray.com

	-Dan

--
---------
Dan A. Dickey      ddickey@fizban.cray.com, or ddickey@aspen.cray.com