Opinions on lex and yacc thus far....

I've got 50nS memory. What did you say? kruger at 16bits.dec.com
Wed Mar 2 10:23:00 AEST 1988


So far, everyone agrees that:

1)	lex is slow because it is so general.
2)	compilers usually do not need such a slow lex and can do better using a
	hand coded scanner.

all but one person agreed that yacc is:

1)	poor at error handling
2)	somewhat inefficient (although not as extreme as lex). Some said the
	tables were larger than necessary.

one person claimed that yacc is a high-quality tool, efficient, and robust.

Does this sound religious to you? ;=)
dov



More information about the Comp.lang.c mailing list