Re: [PATCH v2 09/39] scripts/kernel-doc.py: add a Python parser

2025-02-25 Thread Mauro Carvalho Chehab
Em Tue, 25 Feb 2025 13:10:19 -0700 Jonathan Corbet escreveu: > Mauro Carvalho Chehab writes: > > > Em Mon, 24 Feb 2025 16:38:58 -0700 > > Jonathan Corbet escreveu: > > > >> Mauro Carvalho Chehab writes: > >> > >> > >> I also think you should give consideration to preserving the other > >>

Re: [PATCH v2 09/39] scripts/kernel-doc.py: add a Python parser

2025-02-25 Thread Jonathan Corbet
Mauro Carvalho Chehab writes: > Em Mon, 24 Feb 2025 16:38:58 -0700 > Jonathan Corbet escreveu: > >> Mauro Carvalho Chehab writes: >> >> >> I also think you should give consideration to preserving the other >> copyright notices in the Perl version. A language translation doesn't >> remove exi

Re: [PATCH v2 09/39] scripts/kernel-doc.py: add a Python parser

2025-02-24 Thread Mauro Carvalho Chehab
Em Mon, 24 Feb 2025 16:38:58 -0700 Jonathan Corbet escreveu: > Mauro Carvalho Chehab writes: > > > Maintaining kernel-doc has been a challenge, as there aren't many > > perl developers among maintainers. Also, the logic there is too > > complex. Having lots of global variables and using pure fu

Re: [PATCH v2 09/39] scripts/kernel-doc.py: add a Python parser

2025-02-24 Thread Jonathan Corbet
Mauro Carvalho Chehab writes: > Maintaining kernel-doc has been a challenge, as there aren't many > perl developers among maintainers. Also, the logic there is too > complex. Having lots of global variables and using pure functions > doesn't help. > > Rewrite the script in Python, placing most gl

[PATCH v2 09/39] scripts/kernel-doc.py: add a Python parser

2025-02-24 Thread Mauro Carvalho Chehab
Maintaining kernel-doc has been a challenge, as there aren't many perl developers among maintainers. Also, the logic there is too complex. Having lots of global variables and using pure functions doesn't help. Rewrite the script in Python, placing most global variables inside classes. This should