Parser Combinator
- https://github.com/nixpulvis/parser-combinator
- https://github.com/nixpulvis/parser-combinator/blob/master/lab8.pdf
Lexers and Parsers are at the core of every language. The main goal is to turn a stream of text into something structured and spesific to the language at hand. Here I show how the parser library I wrote works by combining small parsers into larger ones with only a few kinds of combinators.