summaryrefslogtreecommitdiffstats
path: root/mpd.scm
Commit message (Collapse)AuthorAgeFilesLines
* Lispify the MPD queryHEADmasterGravatar Tom Willemse2022-03-031-0/+22
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.