Missing file filters for data processing with SmPL scripts?
Hello,
The Coccinelle software checks if file filters can be applied by a tool (like “grep”) for the evaluation of scripts in the semantic patch language.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/docs/manual/spatch_options.tex#L24-25
Under which circumstances do you observe the information “No grep query”?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/testing.ml#L660-679
Regards,
Markus
Quoted 8 lines · Markus Elfring
Hello,
The Coccinelle software checks if file filters can be applied by a tool (like “grep”) for the evaluation of scripts in the semantic patch language.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/docs/manual/spatch_options.tex#L24-25Under which circumstances do you observe the information “No grep query”?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/testing.ml#L660-679
When it seems like the query is too complex, or when there is nothing useful to grep for.
julia
Quoted 4 lines
Regards,
Markus
Quoted 4 lines
Quoted 2 lines
Under which circumstances do you observe the information “No grep query”?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/testing.ml#L660-679When it seems like the query is too complex,
Can views be reconsidered for SmPL code complexity?
Quoted 2 lines
or when there is nothing
useful to grep for.
Occasionally, I got doubts on software support for selected SmPL script examples.
Regards,
Markus
Quoted 4 lines
Quoted 2 lines
Under which circumstances do you observe the information “No grep query”?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/testing.ml#L660-679When it seems like the query is too complex,
I doubt that such (grep) queries can become too challenging so far.
But I got another development idea which indicates concerns in the opposite direction. If a source code search term would be too simple or just very generic,
I imagine that it could exclude filter possibilities from other code parts.
Quoted 2 lines
or when there is nothing
useful to grep for.
Which implementation details would be treated as “uninteresting” so far?
Regards,
Markus
Quoted 2 lines
Under which circumstances do you observe the information “No grep query”?
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/e6f8731b851f5d76d2731a9d546dc4f0b181526e/testing.ml#L660-679
Would you like to point any more source code places out which are relevant for this data processing?
Regards,
Markus