Ask HN: Sample Lisp code

2 points by lispertoascheme ↗ HN
Lisp student here.

When learning, I like deconstructing small standalone code samples that are actually useful.

Here's the sample I'm looking for in Lisp or Scheme: a youtube downloader

It's been done in Python, Lua, Perl, Gawk, etc. I've done one myself using sed and netcat.

Has it been done in Lisp or Scheme dialect? I like to use the LUSH interpreter but am open to any Lisp or Scheme.

2 comments

[ 0.27 ms ] story [ 17.5 ms ] thread
Do you have Lisp code that can download data from a URL?
One option is Common Lisp. It has a raw sockets library. The lib ("module") comes with a document that has some examples, including how to make HTTP requests.