Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed REPL & canvas into teaching materials #11

Open
echeran opened this issue Mar 9, 2016 · 0 comments
Open

embed REPL & canvas into teaching materials #11

echeran opened this issue Mar 9, 2016 · 0 comments
Labels

Comments

@echeran
Copy link
Collaborator

echeran commented Mar 9, 2016

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 contains examples of sketches that run. You can edit and run your own sketches online, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant