Re:My first fifteen compilers
by Waterluvian on Sunday September 03, 2017 @02:09AM
(#15159943)
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]"
[ Parent
| on HN ]
Re:My first fifteen compilers
by general_pizza on Sunday September 03, 2017 @03:46AM
(#15160179)
I've heard of sentence diagrams[0] which are tree-like structures used for checking grammatical correctness.