summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-05-04 20:34:01 +0200
committerMarc Vertes <mvertes@free.fr>2023-05-04 20:34:01 +0200
commit0463007b16e8ea92c9c267c462bdc3129ec5ce6b (patch)
treea2d7044ca402f0edc10c313f65543e02ffa49eda
parentb0ec06d31fafe4c54dbc48ac0794a3d7c30d3058 (diff)
update
-rw-r--r--yaegi-internals/index.html12
-rw-r--r--yaegi-internals/readme.md2
2 files changed, 7 insertions, 7 deletions
diff --git a/yaegi-internals/index.html b/yaegi-internals/index.html
index d9d6983..98df727 100644
--- a/yaegi-internals/index.html
+++ b/yaegi-internals/index.html
@@ -363,12 +363,12 @@ runtime.</p>
<img src="frame1.drawio.svg" alt="figure 6: frame organization" />
<figcaption aria-hidden="true">figure 6: frame organization</figcaption>
</figure>
-<p>The memory management performed by the interpreter consists to create
-a global frame at a new session (the top of the stack), populated with
-all global values (constants, types, variables and functions). At each
-new interpreted function call, a new frame is pushed on the stack,
-containing the values for all the return value, input parameters and
-local variables of the function.</p>
+<p>The memory management performed by the interpreter consists of
+creating a global frame at a new session (the top of the stack),
+populated with all global values (constants, types, variables and
+functions). At each new interpreted function call, a new frame is pushed
+on the stack, containing the values for all the return value, input
+parameters and local variables of the function.</p>
<h2 id="conclusion">Conclusion</h2>
<p>We have described the general architecture of a Go interpreter,
reusing the existing Go scanner and parser. We have focused on the
diff --git a/yaegi-internals/readme.md b/yaegi-internals/readme.md
index 9f0a683..0d3a42d 100644
--- a/yaegi-internals/readme.md
+++ b/yaegi-internals/readme.md
@@ -340,7 +340,7 @@ provided by the Go runtime.
![figure 6: frame organization](frame1.drawio.svg)
-The memory management performed by the interpreter consists to create a
+The memory management performed by the interpreter consists of creating a
global frame at a new session (the top of the stack), populated with all
global values (constants, types, variables and functions). At each new
interpreted function call, a new frame is pushed on the stack,