Saša Jurić - Parsing from first principles - WebCamp Zagreb 2019

WebCamp Zagreb3 HN recommenders · 2019–2021
6K views · talk · evergreen · Uploaded 2019-11-09

Sasa Juric explains how to parse a language from first principles without regexes, live-coding a simple parser combinator library in Elixir. It was given at WebCamp Zagreb 2019.

HN commenters recommend it as a clear, dense hour on parsers and parser combinators that holds the audience.

Watch on YouTube

3 comments from Hacker News

@muhic2019 · in “Ask HN: Best Talks of 2019?”

+1 for both talks Saša Jurić is fantastic at condensing lots of information in a 1 hour talk without losing the audience, he gave another great talk this year called Parsing from first principles ( [VIDEO] ).

Strongly recommendsView on HN
@anarchyrucks2020 · in “What's in a Parser Combinator? (2016)”

Parsing from first principles by Saša Jurić [0] is a good video on writing parser combinator in Elixir. [0] [VIDEO]

RecommendsView on HN
@sandbags2021 · in “Parser Combinators in Elixir”

This is a good article. Especially in that it talks a little bit about error handling which does not feel like a strength of NimbleParsec. Another good resource is this talk by Saša Jurić on Parsing from First Principles ( [VIDEO] ) where he talks about parser combinators and live-codes a simple Elixir PC library. That inspired me to build my own alternative to NimbleParsec . Partly because my use case makes error handling very important and I couldn't get a grip on how to do that with NP and partly as a decent problem to get to grips with Elixir. I'm currently figuring out lookahead. This is a great area to play in that has a lot of useful applications.

RecommendsView on HN