interpreter
「interpreter」の意味
「interpreter」は、主に二つの意味がある。一つ目は、言語の翻訳者や通訳者を指す。特に、話されている言葉を別の言語に翻訳する人物を意味することが多い。二つ目は、コンピュータプログラムの実行を行うソフトウェアの一種で、プログラムを一行ずつ読み込み、実行するものを指す。「interpreter」の発音・読み方
「interpreter」の発音は、/ɪnˈtɜrprɪtər/であり、カタカナ表記では「インタープリター」となる。日本人が発音する際には、「インタープリタ」と読むことが一般的である。「interpreter」の定義を英語で解説
An interpreter, in the context of language translation, refers to a person who translates spoken words from one language to another, often in real-time. In the context of computer programming, an interpreter is a type of software that reads and executes a program line by line.「interpreter」の類語
「interpreter」の類語としては、言語翻訳者を意味する場合には「translator」がある。ただし、「translator」は主に書かれた言葉を別の言語に翻訳する人物を指すことが多い。コンピュータプログラムの実行に関しては、「interpreter」と類似の機能を持つ「compiler」があるが、これはプログラム全体を一度に実行可能な形式に変換するものであり、厳密には異なる。「interpreter」に関連する用語・表現
「interpreter」に関連する用語や表現としては、言語翻訳者の意味では「simultaneous interpreting」「consecutive interpreting」などがある。これらはそれぞれ、同時通訳と逐次通訳を意味する。コンピュータプログラムの実行に関しては、「interpreted language」「compiled language」などが関連用語として挙げられる。「interpreter」の例文
1. She works as an interpreter for the United Nations.(彼女は国連の通訳者として働いている。) 2. The interpreter translated the speaker's words into English.(通訳者は話し手の言葉を英語に翻訳した。) 3. Python is an interpreted language, which means it uses an interpreter to execute the code.(Pythonはインタープリタ言語であり、コードの実行にインタープリタを使用する。) 4. The conference provided interpreters for multiple languages.(その会議では、複数の言語の通訳者が提供された。) 5. The interpreter had to keep up with the fast-paced conversation.(通訳者は、速いペースの会話についていかなければならなかった。) 6. The interpreter made sure to convey the speaker's emotions as well as the words.(通訳者は、話し手の言葉だけでなく、感情も伝えるようにした。) 7. The interpreter was skilled in both consecutive and simultaneous interpreting.(その通訳者は、逐次通訳と同時通訳の両方に熟練していた。) 8. The interpreter had a deep understanding of the cultural nuances of both languages.(通訳者は、両言語の文化的ニュアンスを深く理解していた。) 9. The interpreter helped facilitate communication between the two parties.(通訳者は、両者間のコミュニケーションを円滑に進める手助けをした。) 10. The interpreter's role is crucial in international negotiations.(通訳者の役割は、国際交渉において重要である。)インタプリタ
(インタープリタ から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/07/30 07:46 UTC 版)
インタプリタ(英: interpreter)とは、プログラミング言語で書かれたソースコードないし中間表現を逐次解釈しながら実行するプログラムのこと[1]。「インタープリタ」「インタープリター」などと表記することもある。
注釈
- ^ この意味では、CPUは機械語インタプリタであると見ることができる。
- ^ 現在では、「インタプリタ / コンパイラ」という区分に関しては状況が変わっており、[誰?]に言わせると『だが、それらは必ずしも相互排他的に2つに分類できるわけではない。なぜなら多くのインタプリタ方式の処理系は、コンパイラが行っているような変換も内部で行っているからだ。[要出典]」とも言われ、『「インタプリタ言語」あるいは「コンパイラ言語」といった呼称も見掛けることがあるが、これらは単にその言語の規範的実装がインタプリタかコンパイラかを示しているに過ぎない(実際、詳しく調べれば、実験的な程度の実装まで含めれば両方ともあるということも多い)。』という見解も出てくることになる。高水準言語は基本的に抽象であり、(理想的には)特定の実装からは独立している。しかし、動的プログラミング言語のようにインタプリタでの実装が向いている方向性の言語、あるいはその逆もあるということは確かである。
- ^ つまり、近年では高速化にはキャッシュのほうが重要なので、高速化に有利か否かはわからない。
出典
- ^ bit 編集部『bit 単語帳』共立出版、1990年8月15日、19頁。ISBN 4-320-02526-1。
- ^ a b "An interpreter dispatches a virtual instruction body to emulate each virtual instruction in turn." Zaleski (2007). YETI: a GraduallY Extensible Trace Interpreter. University of Toronto.
- ^ "we defined dispatch as the mechanism used by a high level language virtual machine to transfer control from the code to emulate one virtual instruction to the next." Zaleski (2007). YETI: a GraduallY Extensible Trace Interpreter. University of Toronto.
- ^ 日本のソフトウェアの草創期:座談会:日本のソフトウェアの草創期
- ^ Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I のこと
- ^ History of Lisp の、§3 の最後のほうに、次のようにある「S.R. Russell noticed that eval could serve as an interpreter for LISP, promptly hand coded it, and we now had a programming language with an interpreter. (段落) The unexpected appearance of an interpreter ...(後略)」
- ^ ポール・グレアムの『ハッカーと画家』(原著「Hackers & Painters、185ページ)によれば、マッカーシーは「ラッセルは『ねえ、この
eval
をプログラムしようか』と言った。…私は『ほう、ほう。君は理論と実際を混同している。この eval は読み物として書いたもので、実際に動かすために書いたものじゃない』と答えた。しかし彼はそれをやってのけた。つまり彼は私の論文にある eval を IBM 704 の機械語にコンパイルして、バグを修正し、それを LISP インタプリタだと宣伝したし、実際それはそのとおりだった。だからその時点で LISP は今日のような形態を本質的に備えていた」と述べたという。 - ^ "Conventional wisdom states that this indirect jump incurs a major performance degradation on deeply pipelined architectures because it is hardly predictable" Rohou, et al. (2015). Branch Prediction and the Performance of Interpreters - Don’t Trust Folklore. International Symposium on Code Generation and Optimization, Feb 2015, Burlingame, United States.
- ^ "we show that the accuracy of indirect branch prediction is no longer critical for interpreters." Rohou, et al. (2015). Branch Prediction and the Performance of Interpreters - Don’t Trust Folklore. International Symposium on Code Generation and Optimization, Feb 2015, Burlingame, United States.
- ^ AST intermediate representations — Lambda the Ultimate forum
- ^ A Tree-Based Alternative to Java Byte-Codes — トーマス・キスラー、マイケル・フランズ
- ^ Annoucing SquirelFish
- ^ L. ドイチュ、A. シフマン、Efficient implementation of the Smalltalk-80 system、Proceedings of 11th POPL symposium、1984年
インタープリタ
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2021/03/26 07:57 UTC 版)
詳細は「インタープリタ」を参照 インタプリタは、高水準プログラミング言語を低水準プログラミング言語に変換するために使用される言語プロセッサであり、コンパイラと似ているが、違いは、プログラムを実行しながら一度に1行ずつコードに変換し、エラーを報告すると同時に、変換されたコードも即時実行するところである。インタプリタは、コードを読み取るとすぐにコードを実行するため、プログラムのソースコードから実行を始める場合はコンパイラよりも高速になる。一度に1行のコードを実行するため、ソフトウェア開発のデバッグツールとしてもよく使用される。インタプリタはプロセッサに依存しないため、コンパイラよりも移植性が高く、異なるハードウェアアーキテクチャ間で作業することができる。
※この「インタープリタ」の解説は、「言語プロセッサ」の解説の一部です。
「インタープリタ」を含む「言語プロセッサ」の記事については、「言語プロセッサ」の概要を参照ください。
「インタープリタ」の例文・使い方・用例・文例
- 昨年,キッドマンさんは映画「ザ・インタープリター」に主演し,国連に勤務する通訳の役を演じた。
- ―トヨタ白川郷自然學(がっ)校(こう)の「インタープリター」
- 現在は同校のチーフインタープリター(ネイチャーガイド)を務める。
- 私たちの仕事は自然からの「メッセージ」を通訳し,お客様にそれらを伝えることなので,私たちは自分たちのことを「インタープリター」と呼んでいます。
- 当校でインタープリターになるには,特定の資格は必要ありません。
- もちろん,インタープリターは山の知識を持っていなければなりません。
- しかし同時に,インタープリターは経済活動が二酸化炭素の排出や,ひいては環境にどのような影響を与えるのかを理解していることも必要です。
- そのため,インタープリターは幅広い知識を持ち,常に好(こう)奇(き)心(しん)旺(おう)盛(せい)でいなければなりません。
- インタープリタのページへのリンク