5 ms·
You make a good point. We ought to be working in AST-land rather than spending time arguing about delimiters. It's legacy and it's a classic example of the bike
by pshc 5y ago
You make a good point. We ought to be working in AST-land rather than spending time arguing about delimiters. It's legacy and it's a classic example of the bikeshed effect.
That being said, it's still an open problem to develop an ergonomic AST editor... I do want to see it.
- moonchild 5y agoS-edit. Or, more recently, hazel.
- jmiskovic 5y agoI could not find way to run s-edit. Hazel seems to be web-only combination of programming language, runtime environment and novel editor. Thank you for these examples. There is also Anarres, a structured editor for Fennel (which is Clojure-like for Lua). Anyone knows of more?
- moonchild 5y ago> s-edit https://interlisp.org/ https://interlisp.org/ shouldn't be hard > more https://github.com/disconcision/fructure https://github.com/disconcision/fructure Partly inspired by hazel, less active but probably a more broadly appealing language.
- jampekka 5y agoWhy does AST need a specific editor? Just pick what you want. If you like parens, just use parens. I'd prefer to just specify the tree with significant indentation. These would be just files.
- pshc 5y agoI want to work at the graph level, not the text level. My belief is that we could avoid a lot of artificial complexity and yak shaving around parsers, name resolution, and particularly collaboration/version control if we worked at this higher level.