summaryrefslogtreecommitdiff
path: root/parser/README.md
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-10-12 17:08:24 +0200
committerMarc Vertes <mvertes@free.fr>2023-10-12 17:08:24 +0200
commit323d82a7f235f78d56e26677c7ba54470caea08e (patch)
tree1953952fb932d1338eaf84c3d58965e72e1b83a9 /parser/README.md
parent37b9da32d3b911091deb254f6cba2a137c471287 (diff)
parser: implement 'for' statement
Diffstat (limited to 'parser/README.md')
-rw-r--r--parser/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser/README.md b/parser/README.md
index d46608c..5dcee63 100644
--- a/parser/README.md
+++ b/parser/README.md
@@ -11,13 +11,13 @@ bytecode.
The input of parser is a list of tokens produced by the scanner.
Multiple tokens are processed at once. The minimal set to get
-meaningful results (not an error or nil) is a complete statemement.
+meaningful results (not an error or nil) is a complete statement.
The output of parser is also a list of tokens, to be consummed by
the compiler to produce bytecode. The output tokens set is identical
to the bytecode instructions set except that:
-- code locations may be provided as as labels instead of numerical
+- code locations may be provided as labels instead of numerical
values,
- memory locations for constants and variables may be provided as
symbol names instead of numerical values.
@@ -60,7 +60,7 @@ Go language support:
- [ ] recover statement
- [ ] go statement
- [x] if statement (including else and else if)
-- [ ] for statement
+- [x] for statement
- [ ] switch statement
- [ ] break statement
- [ ] continue statement