All projects
Note: artifacts in italics are non-canonical forks. See the wiki for more details.
Displaying projects 3221 - 3240 of 31877
Clojure library for handling regular expressions
haar 2021-04-09 | An experimental Clojure(ish) to Javascript compiler similar to
[clojurescript](https://github.com/clojure/clojure-contrib/tree/master/clojurescript/). The library also provides several tools to assist you with integrating cljs into your workflow. All this in about 1k lines. Viva Clojure!
# Usage
Use the `cljs.core/to-js` function to turn a list (representing some
code) into javascript, like so:
(to-js '((fn [x] (alert x)) "hello world"))
-> function(x){alert(x);}("hello world");
(to-js '(-> ($ "<div />")
(.css {:backgroundColor "blue" .
:border "dashed white 5px"})
-> (function(){var out = $("<div />");
out.css({backgroundColor:"blue",border:"dashed white 5px"});
return out}())
Neat, huh?
In addition to the compiler, cljs provides several tools to make working with cljs in the context of a web project easier:
1. [cljs.watch](#cljs.watch) provides a mechanism for automatic recompilation on source changes. Used by either `lein cljs-watch` or `(use 'cljs.watch) (start-watch-project "./project.clj")`. Cljs output is declared in your project.clj file, under the :cljs key.
2. [cljs.stitch](#cljs.stitch) takes care of stitching the collection of source files that make up a library into a coherent javascript file.
For more examples, please see the [cljs.test.core](#cljs.test.core) namespace.
zkim 2012-03-19 | Clojure AWS s3 client
jaakkos 2017-01-12 | A library to build Yahoo S4 applications using Clojure
antoniogarrote 2011-01-03 | dynamically add script tag to selected DOM node
emptyone 2019-02-19 | A fast library for accessing JDBC in Clojure
hermanns 2016-03-24 | A simple Ajax library for ClojureScript
moomin 2021-08-21 | Saltstack salt-api client library for Clojure
mkurtak 2020-05-29 | Simplest SAML 2.0 auth that works with ADFS
valt 2016-04-25 | A Clojure library for probability sampling. Inspired by the
functions 'sample' and 'sample.int' in the R language.
See: http://bitbucket.org/mnacamura/clj-sample-utils/
mnacamura 2011-03-01 | A boilerplate for writing audio visualisations
dpiatek 2017-05-12 | Clojure library for sandboxed execution
heinz 2010-07-22 | A simple ClojureScript app template using Weasel and Simpleton
zachmassia 2016-07-09 | FIXME: write description
dhleong 2020-03-04 | A core.async ClojureScript project template
nek 2013-11-05 | ClojureScript core.async interface to capture audio
voldmar 2015-10-21 | Audio utilities for ClojureScript web apps
jannis 2016-06-13 |