📜 ⬆️ ⬇️

ClojureScript - change code on the fly

Today, looking at various videos in the Internet, I came across this thing: He designed a smart tool for developing video games: Bret Victor
The video was very interesting, I thought that it demonstrates an already existing application. He started to google and disappeared for 3 hours ... It turned out that Bret Victor is a cool designer and just “invents tools to help people understand and create. He designed experimental UI concepts at Apple, interactive graphics for AI Gore and musical instruments at Alesis. ”

The video from the first link is part of the whole conference:


')
Chris Granger unsubscribed on his Twitter account to create a similar tool.


Chris Granger published a description and the application itself , and also offered to watch a demo video:



Link to the application
Link to source code

PS I found a lot of works of Bret Victor, most of which I want to show the rest! It was difficult to decide exactly what to show and which of the blogs to place. I decided to break the material into two articles. The second article.
Guys, if someone is already familiar with these works / ideas / these people, then you do not need to throw the word "bayan" and reflect your hatred in karma.

UPD : I started the application locally (I have Ubuntu, but I think there shouldn't be any problems with Windows either).
Instruction:

Put lein, if you still have it: github.com/technomancy/leiningen
Download the script .
Put it in your $ PATH. (In my case ~ / bin)
Install it as an executable file. (chmod 755 ~ / bin / lein)
Run the command: lein self-install

Download it with your hands or make a clone through the git repository of the application: github.com/ibdknox/live-cljs
Go to the live-cljs directory and execute the command: lein run
I grabbed the error “Assert failed: Can't recur here frame”. The rm -rf classes / cljs / command helped
All of this is described in the githaba repositories themselves.

Everything, your application is available at localhost : 8074 /
Looks like one to one as in the last video.

Source: https://habr.com/ru/post/139478/


All Articles