Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can a tree parser inherit from another tree parser?

inherit parser tree
0
Posted

Can a tree parser inherit from another tree parser?

0

Location: http://www.jguru.com/faq/view.jsp?EID=68257 Created: Jun 7, 2000 Modified: 2000-06-07 17:48:11.575 Author: Terence Parr (http://www.jguru.com/guru/viewbio.jsp?EID=1) Question originally posed by Frederic Fondement PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=62613 Sure. In fact, this is a great way to do multiple-phase tree transformations. Have the super grammar contain all common rules and the complete set of token types used by your system so that the token types can be shared amongst all phases. (usually, the grammar of your phases changes but some of the token types need to overlap so phase n can create the input for phase n+1).

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123