Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [mpd] Lispify the MPD query | Tom Willemse | 2022-03-03 | 1 | -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. |