1- # Goscript [ 中文版 ] ( #Goscript_Readme_中文版 )
1+ # Goscript
22
33An alternative implementation of Golang specs, written in Rust for embedding or wrapping.
44
5- ## Playground
5+ [ 中文] ( #Goscript_Readme_中文版 )
6+
7+ ## Website
68
79< https://goscript.dev/ >
810
@@ -19,13 +21,7 @@ An alternative implementation of Golang specs, written in Rust for embedding or
1921
2022## How
2123
22- + There are six projects:
23- + the ` parser ` turns the source code into an AST, this project is a port of the official Go code.
24- + the ` type checker ` works out and checks the type info, this project is also a port of the official Go code.
25- + the ` codegen ` generates bytecode from the AST and the type info.
26- + the ` vm ` runs the bytecode.
27- + the ` std ` is a port of the official Go standard library.
28- + the ` engine ` contains the native part of std and also wraps everything up.
24+ [ Goscript Internals I: Overview] ( https://goscript.dev/posts/goscript_internals_I_overview_en )
2925
3026## When
3127
@@ -89,7 +85,7 @@ An alternative implementation of Golang specs, written in Rust for embedding or
8985
9086Go语言规范非的官方实现,用于Rust项目的内嵌或封装。
9187
92- ## Playground
88+ ## 网站
9389
9490< https://goscript.dev/ >
9591
@@ -106,13 +102,7 @@ Go语言规范非的官方实现,用于Rust项目的内嵌或封装。
106102
107103## 咋?
108104
109- + 有六个项目:
110- + ` parser ` 把源代码变成AST,移植自Go官方代码。
111- + ` type checker ` 基于AST做类型推倒和类型检查,也移植自Go官方代码。
112- + ` codegen ` 基于AST和类型信息生成字节码。
113- + ` vm ` 运行字节码.
114- + ` std ` 官方库,移植自Go官方库.
115- + ` engine ` 包含官方库的native部分,再加上简单封装.
105+ [ Goscript 设计原理一: 总览] ( https://goscript.dev/posts/goscript_internals_I_overview_zh )
116106
117107## 时?
118108
0 commit comments