I'll do that later. If it grows, the ui k code will be separated from the display driver. I just want a minimal k-terminal built-in with the -u option. Did you check the speed of the current version? What display size do you use? I tested on 1920x1080.
Do you have an idea if the js/screen update can be optimized? ctx.putImageData(new ImageData(new Uint8ClampedArray(s), w.innerWidth),0,0) I'm not sure if that does not allocate too much each time.
I'm using single quotes on purpose for html tags. The only problem are k symbols, because `go string` cannot be escaped. So I have to type `symbol:`+"`"+`name`
@ngn If k7 adds them, I'll do too. I want to keep the ui compatible. But I don't even know how .Z.P should work, and if it's implemented already. Could not figure out.
@ngn @ktye no websockets yet afaik. you can use shakti-python and a websockets library as a workaround
on a separate note - i admit i struggle to build a mental model of why these two cases parse differently (it's the same in oK afaik so not just a shakti thing):
@chrispsn so, monad monad\ is a while loop where the first monad is the condition and the second the body. a natural extension would be to allow dyad monad\ and evaluate dyad between consecutive elements of the sequence