Skip to contentSkip to conversation

Data processing challenges with usage of not operators

cocci Markus Elfring 2 participants 6 messages Nov 17, 2025 – Nov 28, 2025

lore
Share & tools
lore
#0 lore raw

Hello,

I hope that the program interface “command-line semantic match” can help to clarify another recurring data processing challenge.

Questionable test result (according to the software combination “Coccinelle 1.3.0”):
Markus_Elfring@Sonne:~> /usr/bin/spatch --parse-cocci --sp '! 2' | grep -E '^\|' | wc -l
init_defs_builtins: /usr/lib64/coccinelle/standard.h
14

How reasonable do you find the conversion of such a simple test expression into an SmPL disjunction with 15 branches by isomorphism rules?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/standard.iso#L134-148

Will any adjustments become helpful here?

Regards,
Markus

#1 lore raw
Quoted 2 lines

How reasonable do you find the conversion of such a simple test expression into an SmPL disjunction with 15 branches by isomorphism rules?

How does the generated SmPL disjunction look after the software adjustment “avoid duplicates in disjunctions” (from 2025-11-23)?
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/5bf4aac3af21712638005c0f4e225fb37c2fd70f
https://github.com/coccinelle/coccinelle/commit/5bf4aac3af21712638005c0f4e225fb37c2fd70f

How long will I wait until I can see a corresponding data processing result myself?

Regards,
Markus

#2 lore raw
Quoted 9 lines · Markus Elfring
Quoted 2 lines

How reasonable do you find the conversion of such a simple test expression into an SmPL disjunction with 15 branches by isomorphism rules?

How does the generated SmPL disjunction look after the software adjustment “avoid duplicates in disjunctions” (from 2025-11-23)?
https://gitlab.inria.fr/coccinelle/coccinelle/-/commit/5bf4aac3af21712638005c0f4e225fb37c2fd70f
https://github.com/coccinelle/coccinelle/commit/5bf4aac3af21712638005c0f4e225fb37c2fd70f

How long will I wait until I can see a corresponding data processing result myself?

I have no idea what you are asking about. Can't you write --parse-cocci? Does it take too long to run? There is no way I can debug a problem with that without having your code.

julia

Quoted 4 lines

Regards,
Markus

#3 lore raw
Quoted 2 lines
Quoted 2 lines

How does the generated SmPL disjunction look after the software adjustment “avoid duplicates in disjunctions” (from 2025-11-23)?

…>> How long will I wait until I can see a corresponding data processing result myself?

Quoted 1 line

I have no idea what you are asking about.

I find such a feedback strange.

Quoted 1 line

Can't you write --parse-cocci?

I became curious about another recent software improvement. Some dependencies hinder me to build current software components myself.

Quoted 2 lines

Does it take too long to run? There is no way I can debug a problem with that without having your code.

Under which circumstances would you become interested to take another look at information from this clarification approach?
https://lore.kernel.org/cocci/[email protected]/
https://sympa.inria.fr/sympa/arc/cocci/2025-11/msg00056.html

Regards,
Markus

#4 lore raw
Quoted 5 lines · Markus Elfring
Quoted 2 lines
Quoted 2 lines

How does the generated SmPL disjunction look after the software adjustment “avoid duplicates in disjunctions” (from 2025-11-23)?

…>> How long will I wait until I can see a corresponding data processing result myself?

Quoted 1 line

I have no idea what you are asking about.

Quoted 7 lines

I find such a feedback strange.

Quoted 1 line

Can't you write --parse-cocci?

I became curious about another recent software improvement. Some dependencies hinder me to build current software components myself.

I don't know what depdencies have changed, but if somethign has changed that could be something to fix.

julia

Quoted 13 lines
Quoted 4 lines

Does it take too long to run? There is no way I can debug a problem with that without having your code.

Under which circumstances would you become interested to take another look at information from this clarification approach?
https://lore.kernel.org/cocci/[email protected]/
https://sympa.inria.fr/sympa/arc/cocci/2025-11/msg00056.html

Regards,
Markus

#5 lore raw
Quoted 4 lines
Quoted 2 lines

I became curious about another recent software improvement. Some dependencies hinder me to build current software components myself.

I don't know what depdencies have changed,

???

You published a few commits which are not connected with a corresponding official software revision (or release) so far.

Quoted 2 lines

but if somethign has changed
that could be something to fix.

Would any more developers become interested to clarify remaining challenges for the software build system?

How challenging can it be to keep involved software dependencies consistent and even up-to-date?

Quoted 2 lines
Quoted 2 lines

Under which circumstances would you become interested to take another look at information from this clarification approach?

Reminder:
Would you be so kind to share another test result for a command like the following according to the current development version?

/usr/bin/spatch --parse-cocci --sp '! 2' | grep -E '^\|' | wc -l

Regards,
Markus