WIP port of quickbrowfox-codegen (Clojure)