From 0463007b16e8ea92c9c267c462bdc3129ec5ce6b Mon Sep 17 00:00:00 2001
From: Marc Vertes
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.
+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.
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.  -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, -- cgit v1.2.3