3 ms·
Safe object traversal: if you can traverse objects you can start to create search algorithms (which is what Prolog's solver really is) that work across differen
by ianbicking 13y ago
Safe object traversal: if you can traverse objects you can start to create search algorithms (which is what Prolog's solver really is) that work across different domains and objects. I think this is a path towards goal-oriented programming.
ASTs: by representing the program in a more abstracted way, we can start to build tools that manipulate them in ways other than ASCII editors.
Direct manipulation of data: well, Bret brought this one up, not me. I thought it was a little odd. While spatial representation of code was about stretching our ASCII into something else, I chose to interpret this as stretching our concrete editing tools towards code. In other words, how do you add abstractions to concrete editing tools. I think the simplest task would be the one to start with: how do you parametrize something in a concrete data editor?
- lmm 13y agoA modern IDE already knows the AST it's working with in intimate detail - it has to, so that it can refactor it. But it's still displayed as (mostly) plain text, because that's still the best format for humans to read code (or indeed anything else) in.