2 ms·
Shameless repost of a parser combinator I wrote for a JSON lab back when I was a TA at Northeastern. If you like parsers and Racket this may interest you. I've
by nixpulvis 8y ago
Shameless repost of a parser combinator I wrote for a JSON lab back when I was a TA at Northeastern.
If you like parsers and Racket this may interest you. I've been wanting to write up a post kinda like this myself, but haven't found the time.
https://github.com/nixpulvis/parser-combinator https://github.com/nixpulvis/parser-combinator
- nixpulvis 8y agoThe beauty of parser combinators is how closely they can follow the description of languages like JSON. Just compare https://json.org https://json.org to https://github.com/nixpulvis/parser-combinator/blob/master/json.rkt https://github.com/nixpulvis/parser-combinator/blob/master/j... for example.