<feed xmlns='http://www.w3.org/2005/Atom'>
<title>new-dotfiles/mpd/usr/share, branch main</title>
<subtitle>New repository of dotfiles</subtitle>
<id>https://code.ryuslash.org/new-dotfiles/atom?h=main</id>
<link rel='self' href='https://code.ryuslash.org/new-dotfiles/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/new-dotfiles/'/>
<updated>2022-03-03T09:08:16Z</updated>
<entry>
<title>[mpd] Lispify the MPD query</title>
<updated>2022-03-03T09:08:16Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2022-03-03T09:08:16Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/new-dotfiles/commit/?id=c454bde37c777bf422a7df729fb9ff43c2ef3f3c'/>
<id>urn:sha1:c454bde37c777bf422a7df729fb9ff43c2ef3f3c</id>
<content type='text'>
Write a small DSL for converting a simple lisp expression to an MPD query
format. This turns, for example:

    (and (= artist "Katatonia") (= album "Last Fair Deal Gone Down"))

Into:

    ((artist == "Katatonia") AND (album == "Last Fair Deal Gone Down"))

The expressions inside ‘query’ are quasi-quoted, so that variable substitution
is possible.
</content>
</entry>
</feed>
