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-WA...
This is really
useful…
This is really
useful…
For human.
A few days ago
https://github.com/haya14busa/reviewdog
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
i...
Installation
ros install fukamachi/sblint
ros install fukamachi/sblint
Thanks to Roswell.
SBLinthttps://github.com/fukamachi/sblint
SBLint
Prochain SlideShare
Chargement dans…5
×

SBLint

744 vues

Publié le

Talk about SBLint, a linter for Common Lisp source code, at Lisp Meetup #45

Publié dans : Technologie
0 commentaire
1 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

Aucun téléchargement
Vues
Nombre de vues
744
Sur SlideShare
0
Issues des intégrations
0
Intégrations
132
Actions
Partages
0
Téléchargements
2
Commentaires
0
J’aime
1
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive

SBLint

  1. 1. SBLINT LISP MEETUP #45 Oct 25, 2016
  2. 2. I’m Eitaro Fukamachi @nitro_idiot fukamachi
  3. 3. Common way to get STYLE-WARNINGs in Common Lisp source code:
  4. 4. Common way to get STYLE-WARNINGs in Common Lisp source code: = Use SBCL
  5. 5. (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
  6. 6. This is really useful…
  7. 7. This is really useful… For human.
  8. 8. A few days ago
  9. 9. https://github.com/haya14busa/reviewdog
  10. 10. This looks great and wanna use with Common Lisp.
  11. 11. But the SBCL’s human readable error messages cannot be accepted by reviewdog.
  12. 12. SBLint
  13. 13. (let ((a 1)) (+ 1 2))
  14. 14. (let ((a 1)) (+ 1 2)) test.lisp:1:0: The variable A is defined but never used.
  15. 15. (let ((a 1)) (+ 1 ‘a))
  16. 16. (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.
  17. 17. Installation
  18. 18. ros install fukamachi/sblint
  19. 19. ros install fukamachi/sblint Thanks to Roswell.
  20. 20. SBLinthttps://github.com/fukamachi/sblint

×