diff options
| author | Dibyendu Majumdar <dibyendumajumdar@users.noreply.github.com> | 2023-09-19 23:48:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 23:48:34 +0100 |
| commit | 62bfd0d619b28892152a7d89639f3437bc9df573 (patch) | |
| tree | 0e628f6a331a0c7e3b56424021243535019f7784 /README.md | |
| parent | ee3a2f571897b23caecfe9cfe4f5e4338007f885 (diff) | |
| parent | cecb62d847da7dc937b52857ae2fd4b41af98a7c (diff) | |
| download | Simple-62bfd0d619b28892152a7d89639f3437bc9df573.tar.gz Simple-62bfd0d619b28892152a7d89639f3437bc9df573.zip | |
Merge pull request #3 from dibyendumajumdar/main
Chapter 1 implementation
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,7 +27,7 @@ Sea Of Nodes intermediate representation. The simple language will be a small subset of C. * [Language](language/README.md): Simple language grammar. -* [Chapter 1](chapter01/README.md): Empty script - i.e. empty function that takes no args and returns nothing, and has empty body. +* [Chapter 1](chapter01/README.md): Script that returns an integer literal, i.e., an empty function that takes no arguments and returns a single integer value. The `return` statement. * Chapter 2: Simple binary arithmetic such as addition, subtraction, multiplication, division with constants. Peephole optimization / simple constant folding. * Chapter 3: Graphical Visualization of Sea of Nodes IR. * Chapter 4: Local variables, and assignment statements. Read on RHS, SSA, more peephole optimization if local is a constant. @@ -35,7 +35,7 @@ The simple language will be a small subset of C. * Chapter 6: `if` statement. CFG construction, peephole optimization around dead control flow. * Chapter 7: `while` statement. * Chapter 8: Global Value Numbering. -* Chapter 9: Function calls. +* Chapter 9: Functions and calls. * Chapter 10: Boolean operators `&&`, `||` and `!` including short circuit. * Chapter 11: `float` type. * Chapter 12: Memory effects: general memory edges in SSA. Peephole optimization around load-after-store/store-after-store. |
