3 ms·
Cool, that's an interesting way to apply parser combinators. Where can I download the library? Also, the Sample Code link at the end is 404.
by tempodox 5y ago
Cool, that's an interesting way to apply parser combinators. Where can I download the library? Also, the Sample Code link at the end is 404.
- mbw234 5y agoSorry about that, broken links have been fixed in the episode and here's a link to the library: https://github.com/pointfreeco/swift-parsing https://github.com/pointfreeco/swift-parsing.
- a1369209993 5y agoSpeaking of broken links, you're also returning 404 for HEAD requests: $ youtube-dl https://www.pointfree.co/episodes/ep185-tour-of-parser-printers-introduction -f http-720p [generic] ep185-tour-of-parser-printers-introduction: Requesting header [snip] zlib.error: Error -5 while decompressing data: incomplete or truncated stream $ wget --method=HEAD https://www.pointfree.co/episodes/ep185-tour-of-parser-printers-introduction [snip] HTTP request sent, awaiting response... 404 Not Found (Fixed youtube-dl by diking out head_response (with `= False`) in youtube_dl/extractor/generic.py:2408 if anyone else cares.)