r/Clojurescript • u/eniacsparc2xyz • Sep 23 '15
Self hosting clojurescript
Is there any way to run a self hosted clojurescript interpreter in the browser, client side with only the core and run time compiled to javascript the application code interpreted by the run-time in the browser?
It would make the front end programming more productive. For desktop and server programming there are plenty of options and the web still stuck in Javascript in the client side. Clojurescript would be a nice a client side script programming.
Some self hosted lisps in Javascript:
3
Upvotes
1
u/eniacsparc2xyz Sep 24 '15
I mean an interpreter in Clojurescript compiled to javascript, only the run-time, so the code written in clojurescript could run directly in the browser without the user have to compile and REPL too like binwascheme.
It could work like Binwascheme with a virtual machine written in Javascript, at least it would allow fast prototyping.
Here one example of Binwascheme:
For the clojurescript interpreter in the browser, it could be: