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
Parsers in JavaScript
Search
Leif Gensert
April 22, 2020
Technology
0
39
Parsers in JavaScript
This is an introduction to parsers in JavaScript with examples of PEG.js
Leif Gensert
April 22, 2020
Tweet
Share
More Decks by Leif Gensert
See All by Leif Gensert
Sorbet - Is it really that tasty?
leifg
0
17
state_of_functional_programming.pdf
leifg
0
30
Bugs - What are they good for
leifg
0
17
Building Event Sourced Apps
leifg
1
740
Unicode Spaß
leifg
0
33
Event Sourcing - The Story Telling of Processes
leifg
1
55
Elixir Releases
leifg
0
130
Introduction to Rails
leifg
0
43
JRuby - The enterprise view
leifg
1
87
Other Decks in Technology
See All in Technology
開発生産性をむしろ向上させる セキュリティパートナーの作り方 / Dev Productivity Con 2024
flatt_security
0
390
Luupの開発組織におけるインシデントマネジメントの変遷 ver.RoadtoSRENEXT2024
grimoh
1
270
データベース研修 DB基礎【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
220
ACRiルーム最新情報とAMD GPUサーバーのご紹介
anjn
0
160
頼られるのが大好きな 皆さんへ - 支援相手との期待の合わせ方、突き放し方 -/For_people_who_like_to_be_relied_on
naitosatoshi
1
290
Azure Pipelinesを使用したCICDベースラインアーキテクチャ実践
yuriemori
0
190
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
ペパボのオブザーバビリティ研修2024 説明資料
kesompochy
0
1.1k
コンテナ・K8s研修 - 前半 コンテナ基礎・ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
170
20240717_イケコパ代表Copilot_in_Teams会社でこう使ってます
ponponmikankan
2
430
プレイドにおけるDatadog APMの活用方法
plaidtech
PRO
2
120
初中級者用如何使用backlog -VALE TUDOEDITION-
in0u
0
140
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
The Invisible Side of Design
smashingmag
294
50k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
52k
StorybookのUI Testing Handbookを読んだ
zakiyama
15
4.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
229
130k
Unsuck your backbone
ammeep
666
57k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
248
20k
We Have a Design System, Now What?
morganepeng
46
7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Teambox: Starting and Learning
jrom
130
8.6k
BBQ
matthewcrist
82
9k
Transcript
Hello World Parsers with JavaScript
None
Programming === Hiking
Compilers Reverse Engineering Building Developer Tools
You don't Say
Every single program can be reduced to Input Transformation Output
* Former Boss
None
Human Readable Parsing Machine Readable Grammar
None
"in 11 seconds" 11 "11 seconds ago" -11 "in 5
minutes" 300 "in 1 minute and 30 seconds ago" 90 "now" 0
Leif Demo
// 1 + 2 add(1,2) // 1 + (5 -
3) add(1, subtract(5,3)) // 1 + 5 * 3 add(1, multiply(5,3)) // (1 + 5) * 3 multiply(add(1,5), 3)
Leif Demo
What else? Domain Specific NLP Config Files (Re)Implement Programming Languages
Abstract Syntax Tree add(1, multiply(5,3)) { type: "callExpression", name: "add",
arguments: [1 { type: "callExpression", name: "add", arguments: [5, 3] }] }
Why?
Focus!
None
Leif Demo
- Parsers seem intimidating - Helps you understand Recursion -
Try out formulon.io
Shopping List
Back
Back