HackerTube.dev

JSON Parser 100% From Scratch in Haskell (only 111 lines)

Tsoding · 205.5K views · 2019-11-22 · 1:50:07

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Tsoding live-codes a JSON parser from scratch in Haskell in about 111 lines, using only the standard library. It is an edited Twitch stream that explains the intuition behind parser combinators, functors, applicatives and monads.

On Hacker News

HN recommends it as a hands-on way to understand Haskell and parser combinators by watching a parser get built live.

Recommended by 3 HN people across 3 months · HN mentions 2020–2022

Topics

Search by tags

What people said

ObiWanFrijoles · 2022-03 · Recommendation

Nice to see Tsoding on the front page. He has another great video that covers a bunch of topics while making a JSON parser with only the Haskell standard library: [VIDEO]

Read the original HN comment ↗
ducaale · 2020-09 · Recommendation

I have recently discovered [tsoding twitch channel]( [LINK] ) which describes itself as Recreational programming. The topics range from webassembly and Game development to functional programming in haskell and ocaml. Some of the interesting random things I found there include: * [a parser combinator in haskell]( [VIDEO] ) * [stack based language compiler in ocaml]( [LINK] ) You can find all the things that were done during the streams in [LINK] . You can also find his schedule at [LINK]

Read the original HN comment ↗
lubesGordi · 2020-07 · Recommendation

Agreed! I've been trying to learn haskell for a long time, and this guy writes a json parser live, giving his intuition along the way. It's helped me immensely. [VIDEO]

Read the original HN comment ↗

Sources

Video by Tsoding, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources