Skip to content
0:00 / 0:00

#parsercombinators#elixir#parsing

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

WebCamp Zagreb

739 subscribers • 2 videos on Hallway

YouTube
  • Recommended by 4 people: 3 on Hacker News and 1 in engineering communities.
  • Presented by Saša Jurić

Intermediate. Assumes working knowledge.

6.2K views6 years ago4 recommendations

Programming languagesComputer scienceElixir and ErlangCompilers and interpretersFunctional programming

Saša Jurić explains how to build a parser combinator library from scratch in Elixir without using regular expressions.

How to parse a language without using regexes :-) 2019.webcampzg.org/talks/parsing-from-first-principles/

Why it's here

4 people recommend this

What people say. Recommended as an exceptionally clear introduction to parser combinators and functional parsing techniques.

u/sasajuricin r/elixir • Recommends

Parsing from first principles

muhicon Hacker News • Recommends

On “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 ( link to this video ).

anarchyruckson Hacker News • Recommends

On “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 link to this video

sandbagson Hacker News • Recommends

On “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 ( link to this 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.