Skip to contentSkip to conversation

Detailed categorisation for binary operators of SmPL

cocci Markus Elfring 1 participant 1 message Nov 3, 2021

lore
Share & tools
lore
#0 lore raw

Hello,

I dare to repeat one of my development ideas in the hope that it could influence another bit of software evolution.

2016-01-16 11:05
Fine-tuning around evaluation of binary operators with SmPL

I would like to clarify another aspect around the usage of binary operators in the semantic patch language.
A corresponding metavariable can manage also a constraint there. Each operator can be selected by a list. I imagine that it would be nice to express a special restriction on a specific property like "Distributivity" (non-commutative) for them directly.

See also:
Extend mapping of metavariable types for operators
https://github.com/coccinelle/coccinelle/issues/224

Regards,
Markus