Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



The beauty of parser combinators is how closely they can follow the description of languages like JSON. Just compare https://json.org to https://github.com/nixpulvis/parser-combinator/blob/master/j... for example.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: