Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 9092e7c

Browse files
rewrite0w0Boshen
authored andcommitted
fix: modified broken links
1 parent 7cf2337 commit 9092e7c

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

blog/ecma-spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ The author of jsparagus made a rant about this [here](https://github.com/mozilla
145145
## Expressions, Statements, Functions, Classes, Scripts and Modules
146146

147147
It takes a while to understand the syntactic grammar, then apply them to writing a parser.
148-
More in-depth content can be found in [the grammar tutorial](./blog/grammar).
148+
More in-depth content can be found in [the grammar tutorial](./grammar.md).
149149

150150
## Annex B

docs/ast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ JavaScript grammar has a lot of nuisances, read the [grammar tutorial](/blog/gra
142142

143143
### Memory Allocations
144144

145-
Back in the [Overview](./overview) chapter,
145+
Back in the [Overview](./overview.md) chapter,
146146
I briefly mentioned that we need to look out for heap-allocated structs such as `Vec` and `Box` because heap allocations are not cheap.
147147

148148
Take a look at the [real world implementation from swc](https://github.com/swc-project/swc/blob/main/crates/swc_ecma_ast/src/expr.rs),

i18n/ja/docusaurus-plugin-content-blog/ecma-spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ HTMLでは `<script type="module" src="main.mjs"></script>` と書きます。
139139
## 式、文、関数、クラス、スクリプト、モジュール
140140

141141
構文的な文法を理解し、それをパーサーの作成に適用するには時間がかかります。
142-
より詳細な内容は、[文法チュートリアル](./blog/grammar) で見つけることができます。
142+
より詳細な内容は、[文法チュートリアル](./grammar.md) で見つけることができます。
143143

144144
## 付録B

i18n/ja/docusaurus-plugin-content-docs/current/ast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ JavaScriptの文法には多くの面倒な点があります。興味深いの
141141

142142
### メモリ割り当て
143143

144-
[概要](./overview) の章で、ヒープに割り当てられた `Vec``Box` などの構造体に注意が必要であることを簡単に述べました。なぜなら、ヒープの割り当ては安価ではないからです。
144+
[概要](./overview.md) の章で、ヒープに割り当てられた `Vec``Box` などの構造体に注意が必要であることを簡単に述べました。なぜなら、ヒープの割り当ては安価ではないからです。
145145

146146
[swc](https://github.com/swc-project/swc/blob/main/crates/swc_ecma_ast/src/expr.rs) の実装を見てみると、ASTには多くの `Box``Vec` が含まれていることがわかります。また、`Statement``Expression` の列挙型には多数の列挙子が含まれていることにも注意してください。
147147

i18n/ja/docusaurus-plugin-content-docs/current/references.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: 参考文献
66

77
- Rust
88
- [swc](https://swc.rs)
9-
- [Rome](https://rome.tools)
9+
- [Biome](https://biomejs.dev)
1010
- [jsparagus](https://github.com/mozilla-spidermonkey/jsparagus)
1111
- [ratel](https://github.com/ratel-rust/ratel-core)
1212
- [boa](https://github.com/lastmjs/boa-azle)

i18n/ko/docusaurus-plugin-content-blog/conformance.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Test262 목표는, 사양 지정된 모든 측정 가능한 동작을 커버하
1616
## Babel
1717

1818
JavaScript에 새로운 언어 기능이 추가되면, Babel 에서도 이를 해석할 필요가 있습니다.
19-
이에, Babel에는 독자적[파서 테스트](https://github.com/babel/babel/tree/main/packages/babel-parser/test)가 있습니다.
19+
이에, Babel에는 독자적 [파서 테스트](https://github.com/babel/babel/tree/main/packages/babel-parser/test)가 있습니다.
2020

2121
## TypeScript
2222

23-
TypeScript 적합성 테스트는 [이 곳](https://github.com/microsoft/TypeScript/tree/main/tests/cases/conformance)에서 확인할 수 있습니다.
23+
TypeScript 적합성 테스트는 [이곳](https://github.com/microsoft/TypeScript/tree/main/tests/cases/conformance)에서 확인할 수 있습니다.
2424

2525
## Test Runner
2626

27-
Rome는 상기한 테스트 스위트 용으로 테스트 러너를 구현해두었으며, [여기서](https://github.com/rome/tools/tree/main/xtask/coverage) 확인 가능합니다.
27+
Rome는 상기한 테스트 스위트 용으로 테스트 러너를 구현해두었으며, [여기서](https://github.com/rome/tools/tree/main/xtask/coverage) 확인 가능합니다.

i18n/ko/docusaurus-plugin-content-blog/ecma-spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ jsparagus는 이에 대해 [언급](https://github.com/mozilla-spidermonkey/jspa
147147
## Expressions, Statements, Functions, Classes, Scripts and Modules(표현식, 문법, 함수, 클래스, 스크립트와 모듈)
148148

149149
구문 문법을 이해한 다음 구문 분석기를 작성하는 데 적용하려면 시간이 필요합니다.
150-
보다 심층적 내용은 More in-depth content can be found in [문법 튜토리얼](./blog/grammar)에서 확인해주세요.
150+
보다 심층적 내용은 More in-depth content can be found in [문법 튜토리얼](./grammar.md)에서 확인해주세요.
151151

152152
## Annex B

i18n/ko/docusaurus-plugin-content-docs/current/ast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Rust에서는 self-referential struct가 허용되지 않기 때문에 `Box`가
142142

143143
### Memory Allocations
144144

145-
[Overview](./overview) 장으로 돌아갑니다,
145+
[Overview](./overview.md) 장으로 돌아갑니다,
146146
힙 할당 비용이 저렴하지 않기 때문에 `Vec`, `Box`와 같은 힙 할당 구조체를 주의해야 한다고 간략하게 언급했습니다.
147147

148148
[swc의 실제 구현](https://github.com/swc-project/swc/blob/main/crates/swc_ecma_ast/src/expr.rs)을 살펴보세요,

i18n/zh/docusaurus-plugin-content-blog/ecma-spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ The author of jsparagus made a rant about this [here](https://github.com/mozilla
145145
## Expressions, Statements, Functions, Classes, Scripts and Modules
146146

147147
It takes a while to understand the syntactic grammar, then apply them to writing a parser.
148-
More in-depth content can be found in [the grammar tutorial](./blog/grammar).
148+
More in-depth content can be found in [the grammar tutorial](./grammar.md).
149149

150150
## Annex B

i18n/zh/docusaurus-plugin-content-docs/current/ast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ JavaScript语法有很多细微而玄妙之处,请阅读[语法教程](/blog/g
141141

142142
### 内存分配
143143

144-
[概述](./overview)章节中提到,我们需要额外注意分配在堆上的结构体,如`Vec``Box`。这是因为堆分配并不廉价。
144+
[概述](./overview.md)章节中提到,我们需要额外注意分配在堆上的结构体,如`Vec``Box`。这是因为堆分配并不廉价。
145145

146146
看一下[来自 swc 项目的真实实现](https://github.com/swc-project/swc/blob/main/crates/swc_ecma_ast/src/expr.rs),我们可以看到AST可能有很多`Box``Vec`,还要注意`Statement``Expression`枚举包含很多枚举变体。
147147

i18n/zh/docusaurus-plugin-content-docs/current/semantic_analysis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Block : { StatementList }
6161

6262
我们需要添加一个作用域树 (scope tree)。作用域树包含在其中声明的所有`var``let`
6363
这棵树的节点有指向父级节点的指针,我们希望以此在树上向上移动并在父级作用域之中搜索绑定标识符。
64-
我们可以使用`indextree`作为数据结构(https://docs.rs/indextree/latest/indextree/
64+
我们可以使用[`indextree`](https://docs.rs/indextree/latest/indextree/)作为数据结构
6565

6666
```rust
6767
use indextree::{Arena, Node, NodeId};

0 commit comments

Comments
 (0)