際際滷

際際滷Share a Scribd company logo
SBLINT
LISP MEETUP #45 Oct 25, 2016
I¨m Eitaro Fukamachi
@nitro_idiot fukamachi
Common way to get
STYLE-WARNINGs
in Common Lisp source code:
Common way to get
STYLE-WARNINGs
in Common Lisp source code:
= Use SBCL
(let ((a 1))
(+ 1 2))
; file: /Users/nitro_idiot/test.lisp
; in: LET ((A 1))
; (LET ((A 1))
; (+ 1 2))
;
; caught STYLE-WARNING:
; The variable A is defined but never used.
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
This is really
useful´
This is really
useful´
For human.
A few days ago
https://github.com/haya14busa/reviewdog
SBLint
This looks great
and wanna use with Common Lisp.
But the SBCL¨s
human readable error messages cannot be
accepted by reviewdog.
SBLint
(let ((a 1))
(+ 1 2))
(let ((a 1))
(+ 1 2))
test.lisp:1:0: The variable A is defined
but never used.
(let ((a 1))
(+ 1 `a))
(let ((a 1))
(+ 1 `a))
test.lisp:1:0: The variable A is defined
but never used.
test.lisp:2:2: Constant A conflicts with
its asserted type NUMBER.
Installation
ros install fukamachi/sblint
ros install fukamachi/sblint
Thanks to Roswell.
SBLinthttps://github.com/fukamachi/sblint

More Related Content

SBLint