(Haskell in Haskell) 3. Parsing - Cronokirby

Hi everyone!

This is the third part of a series I’ve been working on, guiding people through writing a compiler for a subset of Haskell, using Haskell of course!

In this part, we write a full parser for our subset of Haskell, after going through the basics of parsing and parser combinators :grinning:

5 Likes

I was expecting import MegaParsec, but I see it is barebones and I learned quite a few things!

Typographic feedback: column width is a tad too narrow for my eyes, I copy/paste’d the text in my editor.

2 Likes

Wow, great series :smiley: I leave here the link to the index in case that anybody wants to pick it from the beginning.

3 Likes