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
680
Internal of cpm
skaji
0
590
How to execute external programs in Perl
skaji
3
610
nginx unit
skaji
0
45
Perl6 ecosystem
skaji
1
1.4k
Other Decks in Programming
See All in Programming
Learning Kotlin with detekt
inouehi
1
150
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
110
もう僕は OpenAPI を書きたくない
sgash708
6
1.9k
Swift Testingのモチベを上げたい
stoticdev
2
140
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.4k
推しメソッドsource_locationのしくみを探る - はじめてRubyのコードを読んでみた
nobu09
2
340
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.4k
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
160
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.1k
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
270
自力でTTSモデルを作った話
zgock999
0
110
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
GraphQLとの向き合い方2022年版
quramy
44
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Facilitating Awesome Meetings
lara
53
6.2k
Gamification - CAS2011
davidbonilla
80
5.2k
BBQ
matthewcrist
87
9.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
260
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
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