2 ms·
Ask HN: Sample Lisp code
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.
- ankurdhama 14y agoDo you have Lisp code that can download data from a URL?
- lispertoascheme 14y agoOne 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.