topic proposal: Parser combinator library #45
Labels
discuss
An issue or PR currently being discussed
help-wanted
A request for assistance
in-content
Is the issue in lesson content?
propose-addition
A suggestion for an addition to content or infrastructure
Milestone
Something that could be quite fun and useful to do is showing how to implement a simple parser combinator library.
Could build on some of the BSON encoding/decoding, where we can take that shape of data and show how you would extend it to parse it into the ADT representing it.
I'd include showing how to combine simple operations for parsing like
A | B
,A ~ B
, as well as for simple data types like strings, bools, digits etc.The text was updated successfully, but these errors were encountered: