diff options
| author | Marc Vertes <mvertes@free.fr> | 2023-05-03 17:45:16 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2023-05-03 17:45:16 +0200 |
| commit | b0ec06d31fafe4c54dbc48ac0794a3d7c30d3058 (patch) | |
| tree | eb71978359fd211580dc0222b9c5455c52b462f7 | |
| parent | ba0db3855f6accb71b3302c4ba5cdfaaec641735 (diff) | |
fix list
| -rw-r--r-- | yaegi-internals/index.html | 20 | ||||
| -rw-r--r-- | yaegi-internals/readme.md | 1 |
2 files changed, 13 insertions, 8 deletions
diff --git a/yaegi-internals/index.html b/yaegi-internals/index.html index 21a5dff..d9d6983 100644 --- a/yaegi-internals/index.html +++ b/yaegi-internals/index.html @@ -328,14 +328,18 @@ no infinite loops.</p> execution</h2> <p>The compiler implemented in yaegi targets the Go runtime itself, not a particular hardware architecture. For each action node in the CFG a -corresponding closure is generated. The main benefits are: - -Portability: the generated code runs on any platform where Go is -supported. - Interoperability: the objects produced by the interpreter -are directly usable by the host program in the form of reflect values. - -The memory management in particular the garbage collector, is provided -by the runtime, and applies also to the values created by the -interpreter. - The support of runtime type safety, slices, maps, -channels, goroutines is also provided by the runtime.</p> +corresponding closure is generated. The main benefits are:</p> +<ul> +<li>Portability: the generated code runs on any platform where Go is +supported.</li> +<li>Interoperability: the objects produced by the interpreter are +directly usable by the host program in the form of reflect values.</li> +<li>The memory management in particular the garbage collector, is +provided by the runtime, and applies also to the values created by the +interpreter.</li> +<li>The support of runtime type safety, slices, maps, channels, +goroutines is also provided by the runtime.</li> +</ul> <p>The action templates are located in <a href="https://github.com/traefik/yaegi/blob/master/interp/run.go">interp/run.go</a> and <a diff --git a/yaegi-internals/readme.md b/yaegi-internals/readme.md index 7913749..9f0a683 100644 --- a/yaegi-internals/readme.md +++ b/yaegi-internals/readme.md @@ -310,6 +310,7 @@ privileged environment and guarantee no infinite loops. The compiler implemented in yaegi targets the Go runtime itself, not a particular hardware architecture. For each action node in the CFG a corresponding closure is generated. The main benefits are: + - Portability: the generated code runs on any platform where Go is supported. - Interoperability: the objects produced by the interpreter are directly |
