6100 comments
2357 subscribers
6264 on Twitter
Subscribe! Feed reader E-mail

My first LISP snippet!

This parses my blog RDF and returns a sexp.

(require :xmls)
(with-open-file
 (stream "../../notebook/wiki/blog.rdf" :direction :input)
 (xmls::parse stream))

Important things learned:

- with-open-file
- how to load packages (require :package)
- how to call functions (package::function)

Short URL: http://sachachua.com/blog/p/1829

On This Day...

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!