Scittle
What is this?
This project exposes the Small Clojure Interpreter in the
browser in such a way that you can use it with the script tag.
To embed scittle in your website, it is recommended to use the links
published to
the releases
page .
Include scittle.js and write a script tag
where type is set
to application/x-scittle .
Click me!
When you have a file on your server, say cljs/script.cljs , you can load it using the src attribute:
<script src="cljs/script.cljs" type="application/x-scittle"></script>
To enable reagent ,
in addition to scittle.js , you need to include React
and scittle.reagent.js :
To enable re-frame ,
in addition to the files needed for reagent, you need to include scittle.re-frame.js .
Also see the codemirror playground.
To enable cljs-ajax ,
in addition to scittle.js , you need to include scittle.cljs-ajax.js :
Click me!
To
enable cljs.pprint , in
addition to scittle.js , you need to
include scittle.pprint.js .
To connect to a REPL with Scittle,
see README.md