> No interest in supporting either.

This is a pity at the moment.

Are there any other software development concerns involved which result
into such a rejection?


> How are these so vastly better than:
> 
> @initialize:python@
> @@
> def is_watched(id):
>     return id in ['a', 'c']
> 
> @structured_replacement@
> identifier ID: script:python()


> { is_watched(ID) };

I find this notation improvable. Can a few characters be omitted
for the data processing of a named predicate to make it a bit more succinct?

I find that curly brackets would only be useful there if a function body
would be directly passed instead of a function name.
Is the suggested usage of ad hoc (unnamed) predicates occasionally
more convenient?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to