5064 comments
1960 subscribers
4800 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

Comment, share a thought, ask a question...

Please comment as you, not your organization.





 

On This Day...