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
neg, a neg narser
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
John Mettraux
October 06, 2012
Technology
2
560
neg, a neg narser
presentation at Hiroshima.rb, 2012-10-06
John Mettraux
October 06, 2012
Tweet
Share
More Decks by John Mettraux
See All by John Mettraux
hiroshima.rb #70 pomodoro
jmettraux
0
430
tests and the database
jmettraux
0
370
OpenBSD and Ruby
jmettraux
1
780
Ruby and FFI
jmettraux
0
420
headless in Hiroshima.rb #061
jmettraux
0
390
Ruby methods in ect - Hiroshima.rb #058
jmettraux
0
1.6k
flor - hubristic interpreter - RubyKaigi 2017
jmettraux
1
1.9k
deli @ Hiroshima.rb #057
jmettraux
0
1.6k
suhi215 yahoo proxy in python
jmettraux
0
1.8k
Other Decks in Technology
See All in Technology
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
480
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
150
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
今こそ学びたいKubernetesネットワーク ~CNIが繋ぐNWとプラットフォームの「フラッと」な対話
logica0419
2
130
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
230
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3k
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
120
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
250
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
160
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
510
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
162
24k
Building Applications with DynamoDB
mza
96
6.9k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
76
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Building an army of robots
kneath
306
46k
Documentation Writing (for coders)
carmenintech
77
5.3k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Thoughts on Productivity
jonyablonski
74
5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
BBQ
matthewcrist
89
10k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Transcript
2012-10-06
neg
neg a neg narser
neg a leg larser a peg parser
ղੳදݱจ๏ʢ͔͍͖ͤͻΐ͏͛ΜͿΜΆ͏ɺӳ1BSTJOHFYQSFTTJPOHSBNNBS 1&(ʣɺੳతܗࣜจ๏ͷҰछͰ͋ΓɺܗࣜݴޠΛͦͷݴޠʹؚ·ΕΔจࣈྻ Λೝࣝ͢ΔͨΊͷҰ࿈ͷنଇΛͬͯදͨ͠ͷͰ͋Δɻ1&(࠶ؼԼ߱ߏจղ ੳΛจ๏Λࣔͨ͢Ί͚ͩʹ७ਮʹਤࣜతʹදݱͨ͠ͷͱݟΔ͜ͱͰ͖ɺ۩ମత ͳߏจղੳثͷ࣮ͦͷ༻్ͱಠཱ͍ͯ͠Δɻ 1&(ʹ͓͚Δߏจʢจ๏ʣͷఆٛจ຺ࣗ༝จ๏ͷόοΧεɾφΞه๏ʹΑΔͦ Εʹࣅ͍ͯΔ͕ɺจ຺ࣗ༝จ๏ͰҰൠʹʮʛʯʢॎɺόʔςΟΧϧόʔʣͰද͞ ΕΔʮ͜ΕΒͷ͏ͪͲΕ͔ʯͰͳ͘ɺʮ࠷ॳͷղੳ͕͏·͍ͬͨ͘ΒͦΕΛɺࣦഊͳΒ ࣍Λॱʹࢼͯ͠Ώ͖ɺޭͨ͠ͷΛ࠾༻ʯʢʮʯͰ͋ΒΘ͢ʣͱ͍͏ҙຯΛ͏ɻ
͜ͷͨΊɺจ຺ࣗ༝จ๏ͱҟͳΓɺ1&(ʹᐆດ͞ଘࡏ͠ͳ͍ɻจࣈྻΛߏจ ղੳ͢Δ߹ɺਖ਼͍͠ߏจৗʹ͔ͭ͠ͳ͍ɻ͜ͷͨΊ1&(ίϯϐϡʔλݴ ޠͷߏจղੳʹ͍͍ͯΔ͕ɺࣗવݴޠͷଟٛੑΛɺͦͷ··ෳͷߏจ͕Մ ೳͰ͋Δɺͱ͍͏ܗͰܗࣜԽ͢Δͷʹ͔ͳ͍ɻ IUUQKBXJLJQFEJBPSHXJLJղੳදݱจ๏
grammar
treetop - http://treetop.rubyforge.org citrus - http://mjijackson.com/citrus/ parslet - http://kschiess.github.com/parslet
citrus - http://mjijackson.com/citrus/
treetop - http://treetop.rubyforge.org
parslet - http://kschiess.github.com/parslet
parslet - http://kschiess.github.com/parslet
neg - http://git.io/neg
implementation
None
None
None
None
None
output
None
None
None
@jmettraux http://git.io/neg http://lambda.io/jmettraux