summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordibyendumajumdar <mobile@majumdar.org.uk>2023-09-17 14:10:39 +0100
committerdibyendumajumdar <mobile@majumdar.org.uk>2023-09-17 14:10:39 +0100
commit4ea0d08fe97cdb051cf4bb175fec0672f07f3c84 (patch)
tree75fb99a1cf8408f316d2806d70337401bc782f5f
parent8b8cdf8873b30fd21f9012a479a42809c079eb42 (diff)
downloadSimple-4ea0d08fe97cdb051cf4bb175fec0672f07f3c84.tar.gz
Simple-4ea0d08fe97cdb051cf4bb175fec0672f07f3c84.zip
Revise description of Chapter 1.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8acd8585..38974b53 100644
--- a/README.md
+++ b/README.md
@@ -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.