On Tue, 12 Jun 2001, Wayne Blair wrote: > It looks like, given these goals, that the schema would be ideally generated > by the compiler compiler of choice as the parser is generated. With the > meta-generator for the schema definition file built into the grammar > definitions, it could potentially be maintained in one place. (I say > potentially, because in all likelyhood, the class definitions for both > parser and schema nodes would probably need to be maintained by hand outside > of the grammar files.) RubyAST aims to be a spec for an interchange format between Ruby-processing tools. Getting anything to be generated magically from a grammar/parser file is either pure delusion or PROLOG code. Most likely it will be the reverse, as a callback in a parser will need some class to instantiate. (see node.h) On Tue, 12 Jun 2001, Robert Feldt wrote: > I heartily agree with all of this. In Rockit:examples/ruby there is a > start at a grammar+ast spec that will fulfill these needs. I'll look > into your RubyAST (which seems to be more complete) and try to add to > /comply with that. I'll be back... Cool. Send me a list of errata when you've got about 14 of them. ;-) matju