You are viewing archived messages.
Go here to search the history.

Charlie Roberts 2025-11-17 05:53:44

on a related note to what Mariano Guerra posted, here’s a little editor library I made using css highlights codeberg.org/charlieroberts/teeny

📝 teeny

A small code editor for live coding performances

Konrad Hinsen 2025-11-17 09:12:57

That looks interesting... I have been looking into replacing Ace, the editor I am currently using in my HyperDoc system, by something more in line with HyperDoc's convivial philosophy - and that means most of all something smaller and simpler and more hackable. I'll take a closer look at teeny!

BTW, in addition to smaller and simpler, something I am looking for in an editor is the perspective to implement ideas from Bret Victor's Learnable Programming. I can't do that with Ace because Ace itself is impenetrable. Even its documentation is a mess.

Charlie Roberts 2025-11-17 10:54:08

thanks! yes i’d like to eventually support annotations like the ones i presented at LIVE in 2018 (charlieroberts.github.io/annotationsAndVisualizations). but i’m also happy with it working relatively simply… to make these types of annotations happen i think the library would have to become considerably more complex, at which point i’m just reinventing the wheel and should use codemirror/monaco/ace etc. part of the beauty of the highlight api is it’s applied directly to the text without altering the dom, so having this library then go and mess with the dom seems inelegant. but i still keep thinking about it :) long story short teeny probably won’t be flexible enough for what you want.

Konrad Hinsen 2025-11-17 14:22:40

I am well aware that more features and more simplicity hardly ever go well together. It's one of the basic design defects of our universe 😉

Charlie Roberts 2025-11-17 05:56:15

simple demo: charlieroberts.codeberg.page/teeny/demos/js

demo in a wasm audio playground: gibber.cc/genish/playground

Ben McAllister 2025-11-19 16:14:46

I've been iterating on docs and implementing a realtime / livecoding interface in my algorithmic composition library Thuja. I can actually do a live session now 🙂 but as I practice with the interface I find ways to improve it, so it's still in major flux.

I'm searching for the right tone in the docs - the readme seems simplistic (musically) to me - next step for me is to walk through some of my pieces cookbook-style, laying out more elaborate use cases.

Ben McAllister 2025-11-19 16:15:33

This is an alternate to the readme - the two should probably become one.