I've been playing-with-kinda-working-on something [https://github.com/dkick/clj-sql-parser] to turn SQL into Honey SQL
dkick1@MacBookPro clj-sql-parser % clojure -X dkick.clj-sql-parser/println-sql-honey :s '"SELECT COUNT(*) <> 0 AS x FROM (SELECT a AS b FROM t AS u) WHERE x = 1"'
{:select [[[:<> [:COUNT :*] 0] :x]], :from [[{:select [[:a :b]], :from [[:t :u]]}]], :where [:= :x 1]}
dkick1@MacBookPro clj-sql-parser %
Somewhat inspired by https://github.com/metabase/macaw but using Honey SQL as the Clojure data structure. I've got enough of it put together that I'm curious if anybody might have any comments, thoughts, etc.