Fork of Borkdude's Scittle.
Find a file
Michiel Borkent 97ba12ffb7 0.5.13
2022-12-22 22:56:58 +01:00
.github Update docs [skip ci] 2022-02-26 12:35:03 +01:00
doc dev docs 2022-12-22 21:28:59 +01:00
resources/public Fix pprint plugin 2022-12-22 22:56:27 +01:00
script codemirror example 2022-10-10 12:50:35 +02:00
src/scittle Fix pprint plugin 2022-12-22 22:56:27 +01:00
.gitignore Prepare npm publish 2021-09-22 23:10:04 +02:00
bb.edn Update versions 2022-12-22 21:26:47 +01:00
CHANGELOG.md Fix pprint plugin 2022-12-22 22:56:27 +01:00
deps.edn Upgrades 2022-12-22 21:13:43 +01:00
LICENSE Initial commit 2021-05-23 11:31:40 +02:00
package-lock.json 0.5.13 2022-12-22 22:56:58 +01:00
package.json 0.5.13 2022-12-22 22:56:58 +01:00
README.md Update README.md (#42) 2022-10-13 20:47:15 +02:00
shadow-cljs.edn Fix pprint plugin 2022-12-22 22:56:27 +01:00

Scittle

The Small Clojure Interpreter exposed for usage in script tags.

Try it out on CodePen!

See Github pages for usage.

See babashka-scittle-guestbook for a minimal full stack web application.

See releases for links to JSDelivr to get versioned artifacts.

Serving assets

To serve assets you can use the babashka.http-server dependency (with babashka or Clojure JVM):

(require '[babashka.http-server :as http])
(http/serve {:port 1341 :dir "resoures/public"})
@(promise) ;; wait until process is killed

nREPL

See doc/nrepl.

Tasks

Run bb tasks to see all available tasks:

$ bb tasks
The following tasks are available:

clean   Start from clean slate.
dev     Development build. Starts webserver and watches for changes.
prod    Builds production artifacts.
release Updates Github pages with new release build.

Credits

Idea by Arne Brasseur a.k.a plexus.

License

Copyright © 2021 - 2022 Michiel Borkent

Distributed under the EPL License. See LICENSE.