soramineの日記: Apocalypse Now 番外編3
どきどきしながら番外編(^^;
けれどやっぱりちょっとだけ。これでも1時間くらいは軽くかかってしまう・・・うーん。
One artificial constraint that all computer languages must deal with is the number of symbols available on the keyboard, corresponding roughly to the number of symbols in ASCII. Most computer languages have compensated by defining systems of operators that include digraphs, trigraphs, and worse. This works pretty well, up to a point. But it means that certain common unary operators cannot be used as the end of a digraph operator. Early versions of C had assignment operators in the wrong order. For instance, there used to be a =- operator. Nowadays that's spelled -=, to avoid conflict with unary minus.
今回も調べないといけなかったところ=読んでいてもまったくイメージもわいてこない単語=のところを抜いてみますです。イタリックにしてみたですの。
One artificial constraint that all computer languages must deal with is the number of symbols available on the keyboard, corresponding roughly to the number of symbols in ASCII.
Most computer languages have compensated by defining systems of operators that include digraphs, trigraphs, and worse.
This works pretty well, up to a point.
But it means that certain common unary operators cannot be used as the end of a digraph operator.
Early versions of C had assignment operators in the wrong order.
For instance, there used to be a =- operator.
Nowadays that's spelled -=, to avoid conflict with unary minus.
一つの人工的な……全てのコンピュータ言語……シンボルの数……キーボード……ASCIIのシンボルの数。
多くのコンピュータ言語……演算子のシステムを定義している……持っている。
この仕事……ポイント。
しかしそれは確かに共通の……演算子が……演算子の終わりで使うことができないことを意味する。
早いバージョンのCは間違ったオーダーの演算子を……。
……=-演算子を使う。
……-=とスペルして、……マイナスと……。
・・・なんとなくコンピュータでASCIIと演算子の話と=-と-=がなんからしい、ということはつかめましたけれど・・・。
辞書を引いてみたです(勤務中なのに……)。
constraint 制限すること、抑制
deal with 扱う、取引する、処理する、振舞う
available 利用できる、入手できる有効な
corresponde 一致する、調和する、相当する、対応する、文通する
roughly 乱暴に、手荒に、粗雑に、荒削りに、おおよそ、概略で
compensate 賠償をする、埋め合わせをする、相殺する、補正をする、償う
include 含む、包括する、参入する、勘定に入れる
di- 2つの
tri- 3つの
worse より悪い、いっそう悪いこと
pretty well だいたい、ほとんど
up to まで、に至るまで、と並んで、の義務で、の責任で、をして
unary ?
assignment 割り当て、宿題、指示、指定
for instance たとえば
nowadays 近頃、今日では、最近は
avoid 避ける、よける
conflict 闘争、衝突、矛盾する
全てのコンピュータ言語が取り扱わなければならない人工的な制限は、キーボードで利用できるシンボルの数であり、それはASCIIのシンボルの数とおおまかに一致する。
多くのコンピュータ言語は2つないしは3つ、あるいはそれより悪いグラフで演算子のシステムを定義することによって補正をしている。
この仕事はだいたい一点まで。
しかし、これは、確かに共通の unary 演算子が2つグラフでの演算子の終わりでは使用することが出来ないことを意味している。
早い版のC言語は間違った要求の演算子を割り当てている。
たとえば、彼らは =- といった演算子を使用している。
最近は、それは -= と綴って、unary マイナスと矛盾することを避けている。
これは、まだまともな方かなあ。unary がわからない・・・。うーん。