Given a set of variables
- if
is a leaf then - if
is not a leaf then
We always look at this tree as being rooted at the top and then having a notion of left to right. For example, if
Parse Tree 2025-05-10 22.38.00.excalidraw
⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Excalidraw Data
Text Elements
Link to original
Note that parse tree is not meant to simulate a grammar. It is merely here to represent one derivation (and it may not exist for certain derivations in some grammars)
Write
Proposition
Let