A clone of Scittle, intended as a basis for building MicroWorld in Scittle. https://babashka.org/scittle
Find a file
2025-12-05 22:59:44 +01:00
.github Update docs [skip ci] 2022-02-26 12:35:03 +01:00
build fix links 2025-08-20 15:13:53 +02:00
doc Enable customizing the nrepl websocket port 2025-12-05 22:53:46 +01:00
plugins Add dataspex plugin (#122) 2025-07-14 18:34:23 +02:00
resources/public links 2025-09-13 20:17:08 +02:00
script fix gh pages 2025-06-18 11:29:50 +02:00
src/scittle Enable customizing the nrepl websocket port 2025-12-05 22:53:46 +01:00
.gitignore Add js lib docs 2025-08-21 15:01:10 +02:00
bb.edn Scittle dev (#127) 2025-08-20 14:58:23 +02:00
CHANGELOG.md Update changelog 2025-12-05 22:59:44 +01:00
deps.edn Fix #137 2025-09-13 20:14:10 +02:00
LICENSE Initial commit 2021-05-23 11:31:40 +02:00
package-lock.json 0.7.28 2025-09-13 20:14:53 +02:00
package.json 0.7.28 2025-09-13 20:14:53 +02:00
README.md Fix attribution in README (#139) 2025-11-18 17:35:19 +01:00
shadow-cljs.edn Enable source maps (#138) 2025-10-08 15:18:10 +02: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 "resources/public"})
@(promise) ;; wait until process is killed

nREPL

See doc/nrepl.

Service worker

See doc/serviceworker.md.

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. Name by Alessandra Sierra (the name occurs first in this blog post).

License

Copyright © 2021 - 2022 Michiel Borkent

Distributed under the EPL License. See LICENSE.