Skip to content
HHackerTube.videoSurprise me

Parsing with Derivatives

Parsing with Derivatives on HackerTube: recommended by 1 Hacker News commenter across 1 month, 2016–2023.

Stanford

talk · advanced · evergreen

Open on YouTube

A Stanford talk by Matthew Might on parsing with derivatives, a new way to write parsers, and why better parsing tools are needed. It discusses language theory and criticizes ad-hoc hand-written parsers.

Why Hacker News recommends it

Mentioned as a great talk and related reading in threads on parsing techniques.

people recommended it
1
separate months
1
strong recommendations
0
discussed on HN
2016–2023
“he also gave a great talk on parsing with derivatives”
— cellularmitosis, Sep 2018, in “A Battle Plan for a War on Rare Diseases: Conversation with Matt Might”

What HN commenters said

3 Hacker News comments link this video. Each one links back to its thread.

cellularmitosisSep 2018Recommends

Off topic, but he also gave a great talk on parsing with derivatives ▶ this video which was used by the clojure team [link]

in “A Battle Plan for a War on Rare Diseases: Conversation with Matt Might” · View on HN

ThatGeoGuyMay 2023Cites it

In addition to this, I always think about Matt Might's "Parsing with Derivatives." [1] I'll have to read about flap, as it seems to utilize a lexer based on derivatives. [1]: ▶ this video

in “Why Split Lexing and Parsing into Two Separate Phases?” · View on HN

joe_the_userJun 2016Cites it

Yes, I'm scanning the original video introducing derivatives[1]. The need for parsing is ubiquitous yet, Never mind CS students, in my experiences a significant number of professional programmers cannot create a basic parser either from scratch or from a standard tool. Edit: The video picks on hand-written c parser. Such a thing isn't necessarily bad IF it's in a formally derived recursive descent parser. But just ad-hoc parsing without being informed by a grammar is pretty much waiting for disaster. [1] ▶ this video

in “On the Complexity and Performance of Parsing with Derivatives” · View on HN

Topics & tags

Compilers, interpreters & program analysisFunctional programmingparsinglanguage theorymatt mightparser combinatorsderivatives