3 ms·
Interesting observation. Is a wide enough sample of languages considered? What scares me is that we still use text files to program in 2019 such that we are hav
by externalreality 8y ago
Interesting observation. Is a wide enough sample of languages considered? What scares me is that we still use text files to program in 2019 such that we are having this conversation. The author makes a good observation nonetheless.
- cocochanel 8y agoWhat's wrong with text files?
- pxndx 8y agoMost of the ambiguity would be solved if you wrote an ast tree directly, like in scratch (or even lisp).
- icebraining 8y agoThere's no such thing as writing a conceptual entity like an AST "directly", you always have to use the mediation of some UI, be it text or a GUI. And you can definitively have ambiguous GUIs.
- deleted 8y ago[deleted]
- externalreality 8y agohttps://www.reddit.com/r/haskell/comments/ngn2c/a_concept_for_editing_haskell_as_an_ast_rather/ https://www.reddit.com/r/haskell/comments/ngn2c/a_concept_fo... I would still consider the link above editing text... but I posted it anyway for what it is worth. The idea seems to be to confine the text to its AST in a form like fashion.
- imtringued 8y agoWhy would it scare you? Computers have keyboards. Majority of program code consists of identifiers which is 100% text. Each line can contain several AST nodes without severe complexity issues in the average case. Unless someone invents a brain to machine interface computer languages will be based on text for the forseeable future.