Changes/enhancements to non-kernel apps

Dave Cuthbert dacut at neolinear.com
Tue Jan 20 10:40:19 PST 2004


Just curious as to what people think about changing/enhancing apps in
(e.g.) /usr/bin that aren't critical to the kernel.
In particular, I'm working on some enhancements to yacc to allow
multiple copies of the same parser to coexist.  This is quite different
from the usual hack of allowing different parsers to coexist (changing
the yy- prefix to something else); basically, it entails wrapping the
various globals holding parser state into a struct.
I'm doing this in such a way that the modified yacc is backwards
compatible -- i.e., you have to #define YYPARSERCLASS with the name
of the struct in order to get the modified behavior.
Is this stuff appropriate for Dragonfly, or should I try putting it
elsewhere (FreeBSD, separate subfork, ...)?





More information about the Kernel mailing list