Video: Parser combinators under the hood

Parser combinators like elm/parser can seem daunting and magical, while in reality they’re built on a simple idea. In this video I start building one from scratch and try to demystify them a bit.

Would be happy for any feedback / unanswered questions / future directions this could go in!

20 Likes

Great video, it’s really helpful to see you build up the complexity of the parser. The clickity-clack of your keyboard and the soothing hue of your monitor are the cherry on top, very relaxing!

3 Likes

YES!!! Absolutely love it!

2 Likes

How nice to see the old Philips CRT Computer monitor 80 still alive! And the speed of writing on that keyboard - hardly possible with the modern laptop keys without lots of errors.

Here is an example, how to do some calculation with the parsed float values of point (x,y).

Martin Janiczek has advised me first, how to get out the parsed values (l, o, r) in the video case for calculation.

Here’s the second video in the series: https://www.youtube.com/watch?v=3Sx-lKMi8aY
This time we look at: oneOf , many , some , map , andThen , number , charBetween.
Enjoy!

9 Likes

I love the visual effects. The colors are perfectly balanced and you almost can’t tell it’s not real—except for the glow reflected off the bezel. :grinning_face_with_smiling_eyes: Nice work.

Wait, WHAT’s not real?! :sweat_smile:

3 Likes


5 Likes

With the new ChatGPT we are no longer in a time to use pictures to proof anything :slight_smile:

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.