Skip to content
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

[Expressions] コードの記載方法、「Grammar of a ...」の表記方法の修正 #421

Closed
stzn opened this issue May 27, 2023 · 0 comments
Assignees

Comments

@stzn
Copy link
Owner

stzn commented May 27, 2023

https://github.com/apple/swift-book/blob/main/TSPL.docc/ReferenceManual/Expressions.md

原文に合わせた変更をしたい

  • コードの記載を画像からMarkdown方式に変更

  • Grammar of a ...の記述を原文の方法に合わせる

> GRAMMAR OF AN EXPRESSION  
> expression → [try-operator](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_try-operator)<sub>opt</sub> [prefix-expression](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_prefix-expression) [binary-expressions](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_binary-expressions)<sub>opt</sub>  
> expression-list → [expression](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_expression) \| [expression](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_expression) `,` [expression-list](https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#grammar_expression-list)

> Grammar of an expression:
>
> *expression* → *try-operator*_?_ *await-operator*_?_ *prefix-expression* *infix-expressions*_?_
>
> *expression-list* → *expression* | *expression* **`,`** *expression-list*

にする

@stzn stzn changed the title [Expressions] コードの記載方法、「Grammar of a ...」の表記方法の修正、 [Expressions] コードの記載方法、「Grammar of a ...」の表記方法の修正 May 28, 2023
@stzn stzn self-assigned this May 28, 2023
@stzn stzn closed this as completed Jun 4, 2023
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

No branches or pull requests

1 participant