From e78dee530d10cb3e66383907cce8a008602941fc Mon Sep 17 00:00:00 2001 From: s-over-4 Date: Sun, 9 Jul 2023 23:31:18 -0400 Subject: tree structunkdjf2 --- tree.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tree.txt b/tree.txt index 75433b2..39340fe 100644 --- a/tree.txt +++ b/tree.txt @@ -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 ================= -- cgit v1.2.3