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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
John Mettraux
October 06, 2012
Technology
580
2
Share
neg, a neg narser
presentation at Hiroshima.rb, 2012-10-06
John Mettraux
October 06, 2012
More Decks by John Mettraux
See All by John Mettraux
hiroshima.rb #70 pomodoro
jmettraux
0
450
tests and the database
jmettraux
0
400
OpenBSD and Ruby
jmettraux
1
820
Ruby and FFI
jmettraux
0
440
headless in Hiroshima.rb #061
jmettraux
0
400
Ruby methods in ect - Hiroshima.rb #058
jmettraux
0
1.7k
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.9k
Other Decks in Technology
See All in Technology
ChatworkとBPaaS 異なる特性で学んだAI機能開発の ベストプラクティス
kubell_hr
2
1.3k
APIテストとは?
nagix
0
170
Diagnosing performance problems without the guesswork
elenatanasoiu
0
150
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
2
730
GoとSIMDとWasmの今。
askua
3
460
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
Mastering Ruby Box
tagomoris
3
130
さきさん文庫の書籍ができるまで
sakiengineer
0
330
Java正規表現エンジン(NFA)の仕組みと パフォーマンスを維持するための最適化手法
takeuchi_132917
0
170
製造業のクラウド活用最適解〜AI,DXを加速するデータ基盤の作り方〜
hamadakoji
0
260
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
620
テストコードのないプロジェクトにテストを根付かせる
tttol
1
240
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
A designer walks into a library…
pauljervisheath
211
24k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Mobile First: as difficult as doing things right
swwweet
225
10k
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