aboutsummaryrefslogtreecommitdiffstats
path: root/mpd/usr/share/scsh
Commit message (Collapse)AuthorAgeFilesLines
* [mpd] Lispify the MPD queryGravatar 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.