diff options
author | s-over-4 | 2023-07-09 23:31:18 -0400 |
---|---|---|
committer | s-over-4 | 2023-07-09 23:31:18 -0400 |
commit | e78dee530d10cb3e66383907cce8a008602941fc (patch) | |
tree | dac558d99edf38c9e631820526325654d77419e3 | |
parent | 657eac56d1ec80d670bbabafe7d67aa6695d8c05 (diff) |
tree structunkdjf2
-rw-r--r-- | tree.txt | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,15 +1,16 @@ The Expr ======== - [ block ] ⇐ a block is a list of exprs + [ block ] ⇐ A list of exprs. │ ┌┘ │ │ - [ expr ] ── [ lit ] ⇐ a literal value; "base case" for the tree + [ expr ] ── [ lit ] ⇐ A literal value; "base case" for the tree. │ │ ├── type ┌──┘ └──┐ └─ value [ def ] [ call ] │ │ - ├─ [target] ← id ├─ [target] ← id ⇐ an id is a pointer to another part of the tree - └── [value] ← expr └──── [arg] ← expr + ├─ [target] ← id ├─ [target] ← id ⇐ An id is a pointer to another part of the tree. + └── [value] ← expr │ It also contains the flags used in the definition. + └──── [arg] ← expr Example Expr Tree ================= |