Good videos, with context.
JSON Parser 100% From Scratch in Haskell (only 111 lines)

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

Tsoding
3 HN recommenders · discussed 2020–2022
Open YouTube ↗

About this video

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.

Why it appears in the archive

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

AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.

From the Hacker News discussion

lubesGordi · 2020-07 · rec

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 original comment ↗
ducaale · 2020-09 · rec

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 original comment ↗
ObiWanFrijoles · 2022-03 · rec

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 original comment ↗
ducaale · 2020-08 · reference

To understand monads, I think it helps to know a language where expressing such a concept is more natural. Although I do not claim to know 100% what monads are yet, coming across these features made it easier for me to understand the concept a little bit. - Algebraic data types - OCaml's let expressions - F#'s computation expressions I also think that it is important to write something that naturally requires the use of monads. One thing that spring to mind is Parser Combinators. - [LINK] - [VIDEO]

Read original comment ↗