3 ms·
You got me thinking. Can a human language like English be defined with an AST? If so, are there examples? If not, why not? I suspect the answer might be, "yes,
by Waterluvian 9y ago
You got me thinking. Can a human language like English be defined with an AST? If so, are there examples? If not, why not? I suspect the answer might be, "yes, it's called [this thing I've heard of a thousand times but never considered it to be a language compiler]"
- general_pizza 9y agoI've heard of sentence diagrams[0] which are tree-like structures used for checking grammatical correctness. [0] https://en.m.wikipedia.org/wiki/Sentence_diagram https://en.m.wikipedia.org/wiki/Sentence_diagram