This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
PEGのパーサジェネレータについては『Pythonで学ぶ解析表現文法と構文解析』に詳しく書かれている
ストリートファイター6をきっかけに格ゲー界の人々がVtuberとコラボして格ゲーが盛り上げていくぞ的な流れがあるのか
CFGとPEGのどちらかがもう片方の部分集合というわけではないのではないか(共通部分とそれぞれ片方でしか書けない文法があるのではないか)と言われてはいるけれど、それが証明されたという話はまだ聞いてない
LL(1)に属する文法はCFGとPEGの共通部分に含まれる(その文法を受理する(ある定義のもとで)等価なCFGに基づくパーサーとPEGに基づくパーサーが存在する)ことが示されている
https://www.sciencedirect.com/science/article/pii/S0167642314000276
This account is not set to public on notestock.
ちいかわはコヘレトの言葉の世界を体現しているってまじですの
サオリとミサキとなんか小さいやつら | あまいねくた #pixiv https://www.pixiv.net/artworks/107639476
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
いわゆるNTR・BSS的なイラストに対して Stop the gomenning というコメントが投稿されており、「ごめん、〇〇……」することをgomen(動詞)、その様子をgomenningと呼ぶことを学んだ
This account is not set to public on notestock.
@guskma PVアニメは日本のスタジオが参加してたりしますが、プロデューサーも主要なシナリオライター、サウンドコンポーザー、アートディレクターも韓国人ですね
sizeof int *c = 8 ←わかる
sizeof int *d[3] = 24 ←びっくりするけどギリわかる
sizeof int (*e)[3] = 8 ←
https://twitter.com/kaitou_ryaku/status/1665398389020798978
size of a pointer to integer, size of an array of 3 pointers to integers, size of a pointer to array of 3 integersってこと、か?
単項 * よりも [] の方が結合が強いから int *d[3] は「dは3要素配列で、その要素型は int* である」という順で結合し、 int (*e)[3] は「eはポインタで、その指す型は int[3] である」の順で結合する。
知ってみれば単純な、演算子の結合順位の話。
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
それ結局演算子の優先順位を辿るとき最優先の奴らが右から結合して、その後たまたま交互になっているというだけの話なので……
cf.
演算子の優先順位 | Programming Place Plus C言語編 https://programming-place.net/ppp/contents/c/appendix/operation.html
int *f[3](char); だって「時計回り」とか変なルール入れなくても、f という名前を考えるとき単項 * より [] の方が強いから「f は3要素の配列」になって、単項 * よりも関数呼び出しの () の方が強いから「(要素型は) char を受け取る関数」だし、左側に残った型の int* は戻り値型になる。
とにかく演算子を見ましょうとしか。
cdecl(1): Compose C/C++ type declarations - Linux man page
https://linux.die.net/man/1/cdecl