google / google/clojure-turtle

embed REPL & canvas into teaching materials

Offen
#11 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
advanced
Vorherrschende Sprache
Clojure
Sterne
424
Forks
32
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Because CLJS is self-hosted (you can compile CLJS code using CLJS -- no JVM required), it is possible to have a webpage that runs its own REPL. Also, it is possible to embed Quil sketches in a webpage. So it should be possible to have a webpage with a REPL next to the Quil canvas that it controls.

The [Quil homepage](http://quil.info/) contains examples of sketches that run. You can [edit and run your own sketches online](http://quil.info/sketches/create), too.

The Quil creator has also written about understanding the CLJS self-hosting features:
http://nbeloglazov.com/2016/03/05/getting-started-with-self-hosted-cljs-part-1.html
http://nbeloglazov.com/2016/03/07/getting-started-with-self-hosted-cljs-part-2.html
(a third part hasn't yet been published)

Examples of webpages that include their own CLJS REPL:
https://github.com/Lambda-X/replumb
https://github.com/yetanalytics/re-pl

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.