Skip to content

4.34. Macros #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 20, 2016
Merged

4.34. Macros #84

merged 10 commits into from
Feb 20, 2016

Conversation

pocket7878
Copy link
Contributor

No description provided.

@pocket7878 pocket7878 changed the title [WIP] 4.34. Macros 4.34. Macros Feb 19, 2016
@pocket7878
Copy link
Contributor Author

添削宜しくお願い致します。 @KeenS

<!-- or cumbersome to express that pattern as a generic function, a trait, or -->
<!-- anything else within Rust’s semantics. -->
このような構造はRustのコアの抽象化が強力なコンパイル時の正確性のチェックを持っているという事を意味しています。
しかし、それは柔軟性の現象というコストを払っています。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

現象→減少

@pocket7878
Copy link
Contributor Author

@tatsuya6502 ありがとうございます。

<!-- exclamation point, e.g. `vec!`. The exclamation point is part of the invocation -->
<!-- syntax and serves to distinguish a macro from an ordinary function. -->
これは、新しいマクロ `vec` を定義していることを意味しています、`vec` という関数を定義するときに `fn vec` と書くのと同じです。
散文的に、非形式的にマクロ名をエクスクラメーションマーク(!) と共に記述します、例えば: `vec!` のように示します。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この "In prose," はどういう意味でしょうね? 本来の prose は「事実に基づいて、形式張らずに言う」みたいな意味を含んでそうです(dictionary.com)。

意味自体が合っているか自信ありませんが、意訳して「非公式ですが、実際には、マクロ名をエクスクラメーションマーク(!) と共に記述します」ではどうでしょうか?(in prose = 実際には、informal = 非公式)

@tatsuya6502
Copy link
Member

ふぅ、レビュー終わりました。ご確認をお願いします。

この章は長い上に、用語と細かな規則が多いので、訳すのは大変だったと思います。

@pocket7878
Copy link
Contributor Author

@tatsuya6502 レビューありがとうございます。修正いたしました。

@tatsuya6502
Copy link
Member

ありがとうございます。修正内容を確認しました。マージします。

お疲れさまでした!

tatsuya6502 added a commit that referenced this pull request Feb 20, 2016
@tatsuya6502 tatsuya6502 merged commit 72781e0 into rust-lang-ja:master Feb 20, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants