Changes/enhancements to non-kernel apps
Dave Cuthbert
dacut at neolinear.com
Wed Jan 21 10:45:53 PST 2004
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
More information about the Kernel
mailing list