Skip to content

Commit e00237c

Browse files
committed
Update README.md
1 parent df59dc3 commit e00237c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ The final truth table is ordered by the order in which the variables are encount
6868
- The parsed tokens are then converted into an AST (Abstract Syntax Tree). This is so that the expression can be evaluated and easily traversed.
6969
- An AST consists of several nodes, each with children nodes (0, 1, or 2 depending on its type). Each node represents an operator or variable.
7070
- Our parsed list, [`A`, `B`, `NOT`, `AND`], would be converted into the following AST:
71-
- `AND`
72-
- `A`
73-
- `NOT`
74-
- `B`
71+
```
72+
AND
73+
├── A
74+
└── NOT
75+
└── B
76+
```
7577
7678
7779
### 4. Evaluation

0 commit comments

Comments
 (0)