hermann on Sat, 19 Aug 2023 19:10:25 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

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


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.