Quoting skaller <[EMAIL PROTECTED]>:
> [..]
>
> Now, this is using a new rule 'int x'. However, once any ambiguity
> in the 'argument' nonterminal is resolved, the age of the argument
> productions shouldn't have any influence.
>
> The 'counter-example' to this is something like this:
>
>
>       ite := if ( e ) s ep
>       ep := else e
>
> Now, we extend:
>
>       ep := elif ( e) ep
>
> In this case one might consider
>
>       if .. then .. elif .. else ..
>
> an instance of a 'new rule'.


To handle this kind of cases it may be relevant to mix the 'flat' and
'max' approach of merge functions. For instance only some rules
would be able to transmit their age to upper levels of the AST, while
by default a rule wouldn't.


Emmanuel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to