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
2.5k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
170
Perl Quiz
skaji
0
130
cpm at PerlCon 2019
skaji
0
110
Perl5 Package Manager
skaji
0
660
Internal of cpm
skaji
0
570
How to execute external programs in Perl
skaji
3
570
nginx unit
skaji
0
44
Perl6 ecosystem
skaji
1
1.4k
Other Decks in Programming
See All in Programming
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
距離関数を極める! / SESSIONS 2024
gam0022
0
280
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
Arm移行タイムアタック
qnighy
0
330
Outline View in SwiftUI
1024jp
1
330
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
The Invisible Side of Design
smashingmag
298
50k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Agile that works and the tools we love
rasmusluckow
327
21k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Facilitating Awesome Meetings
lara
50
6.1k
Documentation Writing (for coders)
carmenintech
65
4.4k
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