Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Writing Perl with w0rp/ale
Search
Shoichi Kaji
March 30, 2018
Programming
0
2.2k
Writing Perl with w0rp/ale
2018/03/30 Gotanda.pm Perl Technology Conference #16 LT
Shoichi Kaji
March 30, 2018
Tweet
Share
More Decks by Shoichi Kaji
See All by Shoichi Kaji
宿泊予約サイトにおける検索と料金計算の両立
skaji
2
3.7k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
200
Perl Quiz
skaji
0
130
cpm at PerlCon 2019
skaji
0
110
Perl5 Package Manager
skaji
0
670
Internal of cpm
skaji
0
580
How to execute external programs in Perl
skaji
3
590
nginx unit
skaji
0
44
Perl6 ecosystem
skaji
1
1.4k
Other Decks in Programming
See All in Programming
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.3k
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
950
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
1.2k
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
450
Azure AI Foundryのご紹介
qt_luigi
1
210
Beyond ORM
77web
11
1.6k
DMMオンラインサロンアプリのSwift化
hayatan
0
190
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
133
9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Statistics for Hackers
jakevdp
797
220k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
The Language of Interfaces
destraynor
155
24k
The Pragmatic Product Professional
lauravandoore
32
6.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Transcript
Writing Perl with w0rp/ale Shoichi Kaji
Are you using vim?
What plugin do you use?
w0rp/ale
w0rp/ale • Asynchronous Lint Engine for vim 8 • It
comes with 2 perl linters • › perl -c —Mwarnings -Ilib filename › perlcritic --verbose '%l:%c %m\n' --nocolor filename
w0rp/ale • It’s nice • OTOH, experienced Perl hackers may
have their own linters for Perl. • Can we customize it easily? • Yes, but limited. • So I wrote a simple syntax checker in Perl.
skaji/syntax-check-perl • It checks syntax by: • It is written
in plain Perl, so you will easily tweak it as much as you want :) › perl -Ilib -Ilocal/lib/perl5 -Mwarnings -c filename
skaji/syntax-check-perl call plug#begin('~/.vim/plugged') Plug 'w0rp/ale' Plug 'skaji/syntax-check-perl' call plug#end() let
g:ale_linters = { 'perl': ['perl'] } let g:ale_perl_perl_executable = \ g:plug_home . '/syntax-check-perl/syntax-check' let g:ale_perl_perl_options = '%s' SYNOPSIS: ~/.vimrc
Conclusion • w0rp/ale is an asynchronous lint engine for vim
8 • skaji/syntax-check-perl is a simple syntax checker written in plain Perl • ale + syntax-check-perl may help you write Perl with vim 8