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

注意 論理演算子に優先順位がない #8

Open
taisukef opened this issue Dec 13, 2024 · 1 comment
Open

注意 論理演算子に優先順位がない #8

taisukef opened this issue Dec 13, 2024 · 1 comment

Comments

@taisukef
Copy link
Member

論理演算子に優先順位はなく,左側の論理演算が先に実行されます

「A または C かつ D」は、「(A または C) かつ D」と解釈される
一般的なプログラミング言語では「A または (C かつD)」と異なる点に注意が必要

@taisukef
Copy link
Member Author

DNCL3では、not、and、orの優先順、左側を先とした
https://github.com/code4fukui/DNCL3

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