Lisp HUG Maillist Archive

Lisp lint

Hi,

Is there anything like JavaScript’s eslint in the Common Lisp world? Would anyone recommend something specific?

Thanks
Erik



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

RE: Lisp lint

There's this one I tried a while ago. Works well. I don't know if this is the right kind of 'lint' though. 

https://www.cs.cmu.edu/Groups/AI/lang/lisp/code/tools/lint/0.html

-----Original Message-----
From: owner-lisp-hug@lispworks.com [mailto:owner-lisp-hug@lispworks.com] On Behalf Of Erik Ronström
Sent: 5 December, 2017 16:44
To: Lispworks HUG <lisp-hug@lispworks.com>
Subject: Lisp lint

Hi,

Is there anything like JavaScript’s eslint in the Common Lisp world? Would anyone recommend something specific?

Thanks
Erik



_______________________________________________
Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_support_lisp-2Dhug.html&d=DwIDaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=jU8OSD6fdTix4S_5C9kBOw&m=-kuKT6ggkvJl0dVNyR4xipFKfeMDn-UuVmfJomB8Zyw&s=CjmOjSj-dX6XvuVtLQpL0pm9ktSdNgjW0ze6Vljulqw&e=

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Lisp lint

Wow lisp-critic works well and available in quicklisp! It even have ability to lint the whole file
(critique-file "~/riesbeck/cs325/chap9-exs.lisp")
It would be fantastic to have something like this integrated with ASDF and possible with lispworks.
I imagine workflow like compile-defun will produce this analysis if appropriate option is turned on in settings, or do the background analysis like
 IDEs like IntelliJ IDEA or CLion do.

BR
/Alexey

On Tue, Dec 5, 2017 at 10:21 AM, Raymond Wiker <rwiker@gmail.com> wrote:
There's also this one: https://github.com/g000001/lisp-critic

First announced in 2005, but it was updated as recently as October 2016.

On Tue, Dec 5, 2017 at 9:59 AM, Steven Nunez <snunez@mapr.com> wrote:
There's this one I tried a while ago. Works well. I don't know if this is the right kind of 'lint' though.

https://www.cs.cmu.edu/Groups/AI/lang/lisp/code/tools/lint/0.html

-----Original Message-----
From: owner-lisp-hug@lispworks.com [mailto:owner-lisp-hug@lispworks.com] On Behalf Of Erik Ronström
Sent: 5 December, 2017 16:44
To: Lispworks HUG <lisp-hug@lispworks.com>
Subject: Lisp lint

Hi,

Is there anything like JavaScript’s eslint in the Common Lisp world? Would anyone recommend something specific?

Thanks
Erik



_______________________________________________
Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_support_lisp-2Dhug.html&d=DwIDaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=jU8OSD6fdTix4S_5C9kBOw&m=-kuKT6ggkvJl0dVNyR4xipFKfeMDn-UuVmfJomB8Zyw&s=CjmOjSj-dX6XvuVtLQpL0pm9ktSdNgjW0ze6Vljulqw&e=

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: Lisp lint

As the author of the Lisp Critic, be aware it's opinionated and designed for my beginner Lispers in EECS 325. If there are rules you don't like, you'll need to delete them from lisp-rules.lisp.

Unless someone fixed it, the car/cdr recursive matcher will false alarm on some things, like thinking (coerce str 'list) has a call to (list) in it.


On 12/5/2017 1:33 PM, Alexey Veretennikov wrote:
Wow lisp-critic works well and available in quicklisp! It even have ability to lint the whole file
(critique-file "~/riesbeck/cs325/chap9-exs.lisp")
It would be fantastic to have something like this integrated with ASDF and possible with lispworks.
I imagine workflow like compile-defun will produce this analysis if appropriate option is turned on in settings, or do the background analysis like
 IDEs like IntelliJ IDEA or CLion do.

BR
/Alexey

On Tue, Dec 5, 2017 at 10:21 AM, Raymond Wiker <rwiker@gmail.com> wrote:
There's also this one: https://github.com/g000001/lisp-critic

First announced in 2005, but it was updated as recently as October 2016.

On Tue, Dec 5, 2017 at 9:59 AM, Steven Nunez <snunez@mapr.com> wrote:
There's this one I tried a while ago. Works well. I don't know if this is the right kind of 'lint' though.

https://www.cs.cmu.edu/Groups/AI/lang/lisp/code/tools/lint/0.html

-----Original Message-----
From: owner-lisp-hug@lispworks.com [mailto:owner-lisp-hug@lispworks.com] On Behalf Of Erik Ronström
Sent: 5 December, 2017 16:44
To: Lispworks HUG <lisp-hug@lispworks.com>
Subject: Lisp lint

Hi,

Is there anything like JavaScript’s eslint in the Common Lisp world? Would anyone recommend something specific?

Thanks
Erik



_______________________________________________
Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lispworks.com_support_lisp-2Dhug.html&d=DwIDaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=jU8OSD6fdTix4S_5C9kBOw&m=-kuKT6ggkvJl0dVNyR4xipFKfeMDn-UuVmfJomB8Zyw&s=CjmOjSj-dX6XvuVtLQpL0pm9ktSdNgjW0ze6Vljulqw&e=

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html



-- 
.................................................
Christopher Riesbeck
Associate Professor, Electrical Engineering and Computer Science
McCormick School of Engineering
Northwestern University

2145 Sheridan Rd., Evanston, IL 60208

Home page: http://www.cs.northwestern.edu/~riesbeck/
Calendar: http://www.cs.northwestern.edu/~riesbeck/calendar.html

Re: Lisp lint

It should be relatively easy to develop a critique-op for ASDF.  If you 
would like help with this, please contact me.

Best,
r


On 5 Dec 2017, at 13:33, Alexey Veretennikov wrote:

> Wow lisp-critic works well and available in quicklisp! It even have 
> ability
> to lint the whole file
>
> (critique-file "~/riesbeck/cs325/chap9-exs.lisp")
>
> It would be fantastic to have something like this integrated with ASDF
> and possible with lispworks.
>
> I imagine workflow like compile-defun will produce this analysis if
> appropriate option is turned on in settings, or do the background
> analysis like
>
>  IDEs like IntelliJ IDEA or CLion do.
>
> BR
>
> /Alexey
>
>
> On Tue, Dec 5, 2017 at 10:21 AM, Raymond Wiker <rwiker@gmail.com> 
> wrote:
>
>> There's also this one: https://github.com/g000001/lisp-critic
>>
>> First announced in 2005, but it was updated as recently as October 
>> 2016.
>>
>> On Tue, Dec 5, 2017 at 9:59 AM, Steven Nunez <snunez@mapr.com> wrote:
>>
>>> There's this one I tried a while ago. Works well. I don't know if 
>>> this is
>>> the right kind of 'lint' though.
>>>
>>> https://www.cs.cmu.edu/Groups/AI/lang/lisp/code/tools/lint/0.html
>>>
>>> -----Original Message-----
>>> From: owner-lisp-hug@lispworks.com 
>>> [mailto:owner-lisp-hug@lispworks.com]
>>> On Behalf Of Erik Ronström
>>> Sent: 5 December, 2017 16:44
>>> To: Lispworks HUG <lisp-hug@lispworks.com>
>>> Subject: Lisp lint
>>>
>>> Hi,
>>>
>>> Is there anything like JavaScript’s eslint in the Common Lisp 
>>> world?
>>> Would anyone recommend something specific?
>>>
>>> Thanks
>>> Erik
>>>
>>>
>>>
>>> _______________________________________________
>>> Lisp Hug - the mailing list for LispWorks users 
>>> lisp-hug@lispworks.com
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lisp
>>> works.com_support_lisp-2Dhug.html&d=DwIDaQ&c=cskdkSMqhcnjZx
>>> dQVpwTXg&r=jU8OSD6fdTix4S_5C9kBOw&m=-kuKT6ggkvJl0dVNyR4x
>>> ipFKfeMDn-UuVmfJomB8Zyw&s=CjmOjSj-dX6XvuVtLQpL0pm9ktSdNgjW0ze6Vljulqw&e=
>>>
>>> _______________________________________________
>>> Lisp Hug - the mailing list for LispWorks users
>>> lisp-hug@lispworks.com
>>> http://www.lispworks.com/support/lisp-hug.html
>>>
>>
>>

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:30 UTC