linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [Linux-kernel-mentees] [Cocci] [RFC PATCH 00/25] cocci: Improve C parsing of attributes
@ 2020-04-24 12:02 Markus Elfring
  2020-04-25 13:15 ` Jaskaran Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Elfring @ 2020-04-24 12:02 UTC (permalink / raw)
  To: Jaskaran Singh; +Cc: linux-kernel-mentees, cocci

> This patch series aims to improve parsing of attributes in C by
> Coccinelle's C parser.

How do you think about to use the wording “in C source code by”?


> These parsing errors were discovered by running a build of Coccinelle's

Would you like to omit the word “These”?


> Coccinelle currently manages attributes similar to comments,

Will this aspect trigger further software development considerations?


> so to explicity state what the attributes are to the C parser,
> a MACROANNOTATION hint was used in Coccinelle's standard.h file.

I find such information suspicious at first glance.
Additional background information from an update step like
“[RFC PATCH 12/25] parsing_c: cpp_token_c: Introduce MACROANNOTATION hint”
might make the proposed data processing approach more reasonable.
https://lore.kernel.org/cocci/20200424091801.13871-13-jaskaransingh7654321@gmail.com/
https://systeme.lip6.fr/pipermail/cocci/2020-April/007217.html


> Separate patches will be sent for the above.

I am curious how the software evolution will be continued here.

Regards,
Markus
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-kernel-mentees] [Cocci] [RFC PATCH 00/25] cocci: Improve C parsing of attributes
  2020-04-24 12:02 [Linux-kernel-mentees] [Cocci] [RFC PATCH 00/25] cocci: Improve C parsing of attributes Markus Elfring
@ 2020-04-25 13:15 ` Jaskaran Singh
  2020-04-25 13:42   ` [Linux-kernel-mentees] [Cocci] [RFC " Markus Elfring
  0 siblings, 1 reply; 3+ messages in thread
From: Jaskaran Singh @ 2020-04-25 13:15 UTC (permalink / raw)
  To: Markus Elfring; +Cc: Julia Lawall, linux-kernel-mentees, cocci

On Fri, 2020-04-24 at 14:02 +0200, Markus Elfring wrote:
> > This patch series aims to improve parsing of attributes in C by
> > Coccinelle's C parser.
> 
> How do you think about to use the wording “in C source code by”?
> 
> 
> > These parsing errors were discovered by running a build of
> > Coccinelle's
> 
> Would you like to omit the word “These”?
> 

Hi Markus,

Could you please keep your feedback relevant to the actual patch itself
(or the commit messages)? Maybe pull the patches, apply them, run them
yourself, see if something breaks? Feedback like this really isn't
relevant, unless these minor typos/grammartical errors cause a _lot_
of confusion.

> 
> > Coccinelle currently manages attributes similar to comments,
> 
> Will this aspect trigger further software development considerations?
> 

I don't know.

> 
> > so to explicity state what the attributes are to the C parser,
> > a MACROANNOTATION hint was used in Coccinelle's standard.h file.
> 
> I find such information suspicious at first glance.
> Additional background information from an update step like
> “[RFC PATCH 12/25] parsing_c: cpp_token_c: Introduce MACROANNOTATION
> hint”
> might make the proposed data processing approach more reasonable.
> https://lore.kernel.org/cocci/20200424091801.13871-13-jaskaransingh7654321@gmail.com/
> https://systeme.lip6.fr/pipermail/cocci/2020-April/007217.html
> 
> 
> > Separate patches will be sent for the above.
> 
> I am curious how the software evolution will be continued here.
> 

Good to know.

Cheers,
Jaskaran.

> Regards,
> Markus

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Linux-kernel-mentees] [Cocci] [RFC 00/25] cocci: Improve C parsing of attributes
  2020-04-25 13:15 ` Jaskaran Singh
@ 2020-04-25 13:42   ` Markus Elfring
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Elfring @ 2020-04-25 13:42 UTC (permalink / raw)
  To: Jaskaran Singh; +Cc: linux-kernel-mentees, cocci

>>> These parsing errors were discovered by running a build of
>>> Coccinelle's
>>
>> Would you like to omit the word “These”?
> Could you please keep your feedback relevant to the actual patch itself
> (or the commit messages)?

I contributed another review comment also at this place.


> Feedback like this really isn't relevant, unless these minor typos/
> grammartical errors cause a _lot_ of confusion.

I occasionally dare to suggest corresponding wording fine-tuning
so that the chances might increase to publish improved commits.

Regards,
Markus
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-25 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 12:02 [Linux-kernel-mentees] [Cocci] [RFC PATCH 00/25] cocci: Improve C parsing of attributes Markus Elfring
2020-04-25 13:15 ` Jaskaran Singh
2020-04-25 13:42   ` [Linux-kernel-mentees] [Cocci] [RFC " Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).