Re: Are there lint and/or formatter for PARI/GP?

Charles Greathouse <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <CANXmBjxtzUq4bvMTOZ+D0RG_2=EhV=1GJ0L-rgtGRRsAfH=j0g@mail.gmail.com>
I think gp2c has an option -G to output GP, which would presumably handle
formatting. I’m not aware of a GP linter.

On Sat, Aug 19, 2023 at 1:05 PM <[email protected]> wrote:

> I am working with PARI/GP scripts a lot, sometimes because they are even
> faster than C++ with libgmpxx ("halfgcd()" vs. "halfgcdii()"), mostly
> because everything can be done very compact and fast, and because
> PariDroid is with me on sartphone on hikes with dog.
>
> For C++ I use cpplint and cppcheck for linting, and they provide
> warnings about missing spaces, ... which I modify source manually until
> clean.
>
> For Python I use "pylint", and "black" for formatting (cool software).
>
> I really would like to lint or format PARI/GP scripts, but understand if
> those are not available.
>
>
> Regards,
>
> Hermann.
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.