I have a perl script that will create a c++ class from yacc or lex output. It is not yet entirely solid, but it does seem to work (I'll be working on it more when my project actually gets to the point at which the parser'll be used). It is available for anonymous ftp on a.cs.uiuc.edu in tmp/olson/gen.shar. --bob