2 ms·
Why wouldn't it? You just add an edge: {b, e}. A UI, now that's a different issue but I don't see why you need a special UI there. It just sounds like a bit of
by YeGoblynQueenne 10y ago
Why wouldn't it? You just add an edge: {b, e}.
A UI, now that's a different issue but I don't see why you need a special UI there. It just sounds like a bit of a gimmick to me, to be honest. Or probably it's just that the OP wants to use graphs (trees) for something that doesn't really need graphs? As in, yeah, you can represent computation using graphs -you can represent all sorts of formal stuff with graphs- but that's an implementation detail.
Like, why have a GUI to an AST and not a GUI to your computer's 1s and 0s, in RAM? Or a GUI to your processor's registers? It's just a very unnatural way to program, really.