DragonFly BSD
DragonFly kernel List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Changes/enhancements to non-kernel apps


From: Dave Cuthbert <dacut@xxxxxxxxxxxxx>
Date: Wed, 21 Jan 2004 13:45:53 -0500

Matthew Dillon wrote:
Hmm. The issue with yacc is that you wouldn't really be able to base any projects on the modified behavior and still have them be
portable to other platforms. It's such an old program, the behavior
is pretty well set in stone from the point of view of 99.99% of the
programmers who use it.

Heh... yacc? portable? :-)


I just see so much hackery with sed/awk applied to yacc, requiring special versions of yacc or bison (because the sed script expects the output to look like such-and-such), etc., that we might as well attack the root cause of most of these problems: yacc keeps a lot of state in global variables.

The same argument could've been made for a number of features that are commonplace today (ANSI C prototypes come to mind).

Dave




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]