Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 8e41d3a

Browse files
committed
Files翻訳完了
1 parent f35caa2 commit 8e41d3a

File tree

4 files changed

+190
-12
lines changed

4 files changed

+190
-12
lines changed

GLOSSARY.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
| 英語 | 日本語 | 備考 |
44
| --- | --- | --- |
5+
| abbreviation | 省略形 | |
56
| annotation | 注釈 | |
67
| associativity | 結合性 | |
78
| attribute | 属性 | |
89
| backtrack | バックトラック | 後戻りと書かれる場合あり |
910
| bound variable | 束縛変数 | |
1011
| canonical | 標準 | |
12+
| carriage return | CR | |
1113
| case distinction | 場合分け | |
1214
| chapter || |
1315
| closed term | 閉項 | |
@@ -20,6 +22,8 @@
2022
| constant | 定数 | |
2123
| construction | 構成 | |
2224
| constructor | コンストラクタ | |
25+
| content | 内容 | |
26+
| context | (プログラム中のcontextの意で)コンテキスト、(文章中のcontextの意で)文脈 | |
2327
| core language | コア言語 | |
2428
| core type theory | コア型理論 | |
2529
| datatype | データ型 | |
@@ -29,22 +33,32 @@
2933
| definitional (η-)equality | 定義上の(η)等価性 | |
3034
| definitional proof irrelevance | 定義上の証明の無関係性 | |
3135
| dependent type theory | 依存型理論 | |
36+
| double-struck | 重ね打ち体 | |
3237
| effect | 作用 | |
3338
| elaborate | エラボレート | |
3439
| elaboration | エラボレーション | |
3540
| elaborator | エラボレータ | |
41+
| encoding | エンコード | |
42+
| English letter | 英語アルファベット | |
3643
| environment | 環境 | |
3744
| environment extensions | 環境拡張 | |
3845
| equational lemma | 等式の補題 | |
3946
| evaluate | 評価 | |
47+
| exclamation mark | 感嘆符 | |
4048
| executable | 実行ファイル | |
4149
| expression || |
4250
| formalization | 形式化 | |
51+
| form feed | 改ページ | |
4352
| functional programming language | 関数型プログラミング言語 | |
4453
| function extensionality | 関数外延性 | |
4554
| grammar | 文法 | |
55+
| guillemet | ギュメ | フランス語 |
56+
| heap region | ヒープ領域 | |
57+
| hierarchical identifier | 階層的識別子 | |
4658
| hierarchy | 階層 | |
4759
| identifier | 識別子 | |
60+
| identifier component | 識別子要素 | |
61+
| identifier continuation character | 識別子継続文字 | |
4862
| inductively-defined | 帰納的に定義された | |
4963
| inductive predicate | 帰納的述語 | |
5064
| inductive type | 帰納型 | |
@@ -61,6 +75,8 @@
6175
| laziness | 遅延 | |
6276
| language server | 言語サーバ | |
6377
| lemma | 補題 | |
78+
| letter | 文字 | |
79+
| letterlike | 文字様 | |
6480
| longest match | 最長一致 | |
6581
| macro | マクロ | |
6682
| machinery | 機構 | |
@@ -71,6 +87,7 @@
7187
| multi-threading | マルチスレッド | |
7288
| mutually inductive | 相互帰納 | |
7389
| namespace | 名前空間 | |
90+
| newline | 改行 | |
7491
| notation | 記法 | |
7592
| opaque | 不透明 | |
7693
| operator | 演算子 | |
@@ -86,23 +103,34 @@
86103
| proof state | 証明状態 | |
87104
| proof term | 証明項 | |
88105
| qualification | 修飾 | |
106+
| question mark | 疑問符 | |
107+
| quote | クォート | |
89108
| quotient type | 商型 | |
109+
| raw identifier | 生識別子 | Rust By Exampleの表現を利用 |
90110
| reasoning | 推論 | |
91111
| recovery | 回復 | |
92112
| recursive-descent parser | 再帰下降パーサ | |
93113
| reference count | 参照カウント |
114+
| representation | 表現 | |
115+
| reserved keyword | 予約キーワード | 下のreserved wordの表記ゆれかもしれないがいったん別の訳語を割り当てる |
94116
| reserved word | 予約語 | |
95117
| run-time | ランタイム | |
96118
| rule | ランタイム | |
97119
| scope | スコープ | |
120+
| separator | 区切り文字 | |
98121
| set | (数学的な集合を意味しない場合)あつまり、(数学的な集合の場合)集合 | |
99122
| section || |
123+
| serialize | シリアライズ | |
100124
| side effect | 副作用 | |
101125
| signature | シグネチャ | |
126+
| single quote | シングルクォート | |
102127
| soundness | 健全性 | |
103128
| specialization | 特殊化 | |
129+
| statement || |
104130
| strictness | 正格 | |
131+
| structure | 構造体 | |
105132
| subterm | 部分項 | |
133+
| subscript | 下付き文字 | |
106134
| syntactic sugar | 構文糖衣 | |
107135
| syntax | 構文 | |
108136
| syntax former | 構文形成器 | |
@@ -114,6 +142,7 @@
114142
| term || |
115143
| term elaboration | 項エラボレーション | |
116144
| termination | 停止 | |
145+
| theorem | 定理 | |
117146
| token | 字句 | |
118147
| top-level | トップレベル | |
119148
| transitive | 推移的 | |
@@ -122,10 +151,11 @@
122151
| trust | 信頼 | |
123152
| type class | 型クラス | |
124153
| type class instance synthesis | 型クラスインスタンス合成 | |
154+
| underscore | アンダースコア | |
125155
| unification | 単一化 | |
126156
| union | 合併 | |
127157
| well-founded | 整礎 | |
128-
| whitespace | 空白文字 | |
158+
| whitespace | 空白 | |
129159

130160

131161
# 英語表現をそのまま用いている単語
@@ -134,4 +164,5 @@
134164
| --- | --- |
135165
| choice node | |
136166
| packed array | System Verilogという言語にこの名前の文法要素がある? |
167+
| prelude | |
137168
| subject reduction | TAPLに出てくる模様 |

Manual/Elaboration.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ There are multiple kinds of elaboration: command elaboration implements the effe
118118
Tactic execution is a specialization of term elaboration.
119119
:::
120120

121-
実際には、上記の段階は厳密に次々と行われるわけではありません。Lean は1つの {tech}[command] (トップレベルの宣言)をパースし、ついでエラボレートし、必要なカーネルのチェックを実行します。マクロ展開はエラボレーションの一部です;構文の一部を翻訳する前に、エラボレータはまず一番外側のレイヤに存在するマクロを展開します。マクロ構文はより深いレイヤに残っているかもしれませんが、その後でエラボレータがそれらのレイヤに到達した時に展開されます。エラボレーションには複数の種類が存在します:コマンドエラボレーションは各トップレベルのコマンドの作用(例えばデータ型の宣言・定義の保存・式の評価)を実装し、項エラボレーションは多くのコマンドで出現する項(例えばシグネチャ内の型・定義の右辺・評価される式)の構築を担当します。タクティクの実行は、項エラボレーションの特殊化です。
121+
実際には、上記の段階は厳密に次々と行われるわけではありません。Lean は1つの {tech}[コマンド] (command、トップレベルの宣言)をパースし、ついでエラボレートし、必要なカーネルのチェックを実行します。マクロ展開はエラボレーションの一部です;構文の一部を翻訳する前に、エラボレータはまず一番外側のレイヤに存在するマクロを展開します。マクロ構文はより深いレイヤに残っているかもしれませんが、その後でエラボレータがそれらのレイヤに到達した時に展開されます。エラボレーションには複数の種類が存在します:コマンドエラボレーションは各トップレベルのコマンドの作用(例えばデータ型の宣言・定義の保存・式の評価)を実装し、項エラボレーションは多くのコマンドで出現する項(例えばシグネチャ内の型・定義の右辺・評価される式)の構築を担当します。タクティクの実行は、項エラボレーションの特殊化です。
122122

123123
:::comment
124124
When a command is elaborated, the state of Lean changes.
@@ -161,9 +161,9 @@ Based on the {lean}`SourceInfo` field, there are three relationships that {lean}
161161
* {lean}`SourceInfo.none` indicates no relationship to a file.
162162
:::
163163

164-
成功した場合、パーサは元のソースファイルを再構築するのに十分な情報を保存します。成功しなかったパースは、パース出来なかったファイルの領域に関する情報を見逃す可能性があります。 {lean}`SourceInfo` レコード型はソースの位置と周囲の空白文字を含む、構文の一部分のソースに関する情報を記録します。 {lean}`SourceInfo` フィールドに基づいて、 {lean}`Syntax` がソースファイルに対して以下の3つの関係を持つことができます:
164+
成功した場合、パーサは元のソースファイルを再構築するのに十分な情報を保存します。成功しなかったパースは、パース出来なかったファイルの領域に関する情報を見逃す可能性があります。 {lean}`SourceInfo` レコード型はソースの位置と周囲の空白を含む、構文の一部分のソースに関する情報を記録します。 {lean}`SourceInfo` フィールドに基づいて、 {lean}`Syntax` がソースファイルに対して以下の3つの関係を持つことができます:
165165
* {lean}`SourceInfo.original` は、構文の値がパーサによって直接生成されたことを示します。
166-
* {lean}`SourceInfo.synthetic` は、構文の値がマクロ展開などによってプログラム的に生成されたことを示します。そうであるにも関わらず、統合的な構文は _標準_ (canonical)とマークされることがあります。これによって Lean のユーザインタフェースはこの構文をあたかもユーザが書いたかのように扱います。統合的な構文には元のファイル位置が注釈されますが、先頭や末尾の空白文字は含まれません
166+
* {lean}`SourceInfo.synthetic` は、構文の値がマクロ展開などによってプログラム的に生成されたことを示します。そうであるにも関わらず、統合的な構文は _標準_ (canonical)とマークされることがあります。これによって Lean のユーザインタフェースはこの構文をあたかもユーザが書いたかのように扱います。統合的な構文には元のファイル位置が注釈されますが、先頭や末尾の空白は含まれません
167167
* {lean}`SourceInfo.none` は、ファイルとの関係がないことを示します。
168168

169169
:::comment

0 commit comments

Comments
 (0)