Extensible arithmetic coding toolkit for Clojure and Clojurescript