bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: default %destructor/%printer for error, $undefined, $accept


From: Akim Demaille
Subject: Re: FYI: default %destructor/%printer for error, $undefined, $accept
Date: Thu, 14 Sep 2006 10:05:57 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Paul" == Paul Eggert <address@hidden> writes:

 >> Can you give me an example of how error token values would be useful?

 > Well, I dunno.  Suppose you're parsing HTML and have as a semantic
 > value a list of all the href= values in that subtree.  And when you
 > parse a busted subtree you still want its href= values.

 > Again, just thinking out loud.

I'm afraid that making "error" more powerful will also make its use
more complex.  More declarative approaches, like Burke-Fisher [1],
seem more tractable for the user.

[1] 
http://portal.acm.org/citation.cfm?id=806981&dl=acm&coll=&CFID=15151515&CFTOKEN=6184618





reply via email to

[Prev in Thread] Current Thread [Next in Thread]