On Tue, 23 Feb 2010, SF Markus Elfring wrote:

> > I can see no elegant way to express it within the language.
> 
> I see more possibilities here. I guess that we have got different opinions 
> about
> elegance and usability.
> How do you think about syntax extensions for SmPL?

The patterns should be as close to C as possible.  Thus, in general syntax 
extensions are unacceptable.  Ideally, the user should be able to do 
everything he wants from knowing the patch format and from an example that 
shows how to declare some metavariables.  I realize that the current state 
of the language might not meet up to that ideal :)

It would certainly be possible to make a language that has a lot more 
kinds of different decorations, but that is not the goal of this 
particular project, and that might not meet the needs of quite the same 
user community.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to