diff options
| author | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-19 21:30:41 +0100 |
|---|---|---|
| committer | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-19 21:30:41 +0100 |
| commit | cecb62d847da7dc937b52857ae2fd4b41af98a7c (patch) | |
| tree | 0e628f6a331a0c7e3b56424021243535019f7784 /chapter01/README.md | |
| parent | bf82e7a511cd1f2ab739f75b4dcf536478591f09 (diff) | |
| download | Simple-cecb62d847da7dc937b52857ae2fd4b41af98a7c.tar.gz Simple-cecb62d847da7dc937b52857ae2fd4b41af98a7c.zip | |
Do not parse negative integers, - will be treated as unary operator.
Update the comments for Return node.
Sync comments with README.
Diffstat (limited to 'chapter01/README.md')
| -rw-r--r-- | chapter01/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter01/README.md b/chapter01/README.md index 5a59ace8..f3231d8c 100644 --- a/chapter01/README.md +++ b/chapter01/README.md @@ -100,8 +100,8 @@ The Constant's value is the value stored in it. The Return node has two inputs. The first input is a control node and the second is the data node that supplies the return value. -In this presentation, Return functions as a Stop node, since we are compiling a single unnamed function. -A separate Stop is not necessary. Compiling multiple functions is covered in Chapter 9: Functions and Calls. +In this presentation, Return functions as a Stop node, since multiple `return` statements are not possible. +The Stop node will be introduced in Chapter 6 when we implement `if` statements. The Return's output is the value from the data node. |
