|
|
|
|
|
by skrebbel
3215 days ago
|
|
There are editors that do this. Notable, Jetbrains MPS comes to mind. It looks like a text editor but once you use it you quickly notice that you're actually editing the abstract syntax tree directly. It's cool, but it has some major downsides too. For example, MPS stores the source as XML, not text (since it isn't text, it's a tree). This makes lots of basic tools we've taken for granted a lot harder, such as git merging etc. They've had to make a custom mergetool just to make basic collaborative coding feasible. I bet there's other ways around that, all I'm saying is that text has major, major upsides because of the enormous ecosystem support. |
|
If only there were a way to write your code using a uniform tree syntax in the first place...