A ClojureScript app designed to teach kids how to program
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public
src
test/cljs/quilt
.gitignore
README.md
project.clj

README.md

quilt

Quilt is a ClojureScript app designed to teach kids how to program.

It lets kids make basic drawings by writing code, either in a visual editor where they select functions and fill in parameters, or in a source editor where they can actually type in the code.

Actually, it's harder to explain than it is to just show you. Give it a whirl at:

http://jmglov.net/quilt/

Stuff I need to add

In no particular order:

  • Read drawing name from query params
  • Scripted mode for teaching that will show kids where to click, step by step, to make a drawing
  • Cloud load and save so kids can show off their drawings outside of class
  • Nicer styling
  • Functional mode

If there's something you want to see, open an issue!

If you just want to chat about teaching programming or Clojure or ClojureScript or whatever, hit me up on Twitter. I'm, as you might expect, @jmglov. :)

Development Mode

Start Cider from Emacs:

Put this in your Emacs config file:

(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")

Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript or (C-c M-J)

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Run tests:

lein clean
lein doo phantom test once

The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).

Production Build

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min