"Tiny boxer" by <@UDCLA1HU4>, a small boxer-like e...
# linking-together
k
"Tiny boxer" by @tomasp, a small boxer-like environment that runs in the browser: https://github.com/tpetricek/tiny-boxer
t
Thanks for sharing this 🙂 - I also added completed versions in a branch, in case people just want to play with this!
k
Thanks @tomasp, that's indeed what I want to do, at least as a first step. It would help to add some instructions for how to run something. I had to look at
main.js
to figure out that I need to (1) select a box to evaluate and (2) press alt-e to single-step or alt-r to run all steps. Except that even that doesn't work: nothing happens. I ended up calling
evalStep()
and
evalAll()
from the console. But from then on, it's fun to play with this!
t
It seems to break with some keyboard layouts
k
Some quick debugging suggests that one of my extensions gets the keydown event. The joy of malleable systems 😉
I replaced alt by ctrl and now it works for me! The joy of malleable systems 😄
g
FWIW - I see some interesting similarities / observations wrt re-using stuff we've already got. Tiny-boxer uses DOM and makes something else of it. DaS re-uses .drawio and makes something else of it. T2t re-uses Python and JS and make something else of them (they become assembly languages). [I happen to think that OhmJS makes it extra easy to re-use text-based already-existing things] [DaS and t2t are little things I made]