https://en.wikipedia.org/wiki/Compiler [wikipedia.org] In computing, a compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name "compi
[2] Compilers: Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman - Second Edition, 2007(表紙がドラゴンであることで有名な本)の1ページ目
[3] SUDARSANAM, ASHOK; MALIK, SHARAD; FUJITA, MASAHIRO (2002). "A Retargetable Compilation Methodology for Embedded Digital Signal Processors Using a Machine-Dependent Code Optimization Library". Readings in Hardware/Software Co-Design. Elsevier. pp. 506–515. doi:10.1016/b978-155860702-6/50045-4. ISBN 9781558607026. さらに該当箇所として「A compiler is a computer program that translates a program written in a high-level language (HLL), such as C, into an equivalent assembly language program [2].」という文章を引用している
コンパイル? (スコア:0)
ソースコードを機械語に変換することをコンパイルって言うんですよね
https://dictionary.cambridge.org/dictionary/english/compile [cambridge.org]
tsはjsに変換するんだからコンパイルではなくね?
Re: (スコア:0)
> ソースコードを機械語に変換することをコンパイルって言うんですよね
> https://dictionary.cambridge.org/dictionary/english/compile [cambridge.org]
Cambridge Dictionary は一般の辞書であって、IT用語の正確性については一歩劣ると思います。
こういうのは英語Wikipediaの方がむしろ正確で、そっちを見ると
https://en.wikipedia.org/wiki/Compiler [wikipedia.org]
In computing, a compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name "compi
Re: (スコア:0)
Wikipediaは二次ソースだと思うんですが一次ソースはどこから持ってきたものなんですか?
Re: (スコア:0)
Wikipedia のこの部分の記述には出典らしきものがないみたいなので(探し方が悪いかも?)
たぶん米国の Computer Science 系学科で習う内容そのまんまなのではないかと。
たとえば適当にググって出てきたブラウン大学 Computer Science 学科の講義資料がこれ
https://cs.brown.edu/courses/csci1260/spring-2021/lectures/what-is-a-c... [brown.edu]
A compiler is a program that takes in source code written in one language
(called the source lang
Re:コンパイル? (スコア:0)
Wikipedia のこの部分の記述には出典らしきものがないみたいなので(探し方が悪いかも?)
デスクトップ版表示ならその文に3つ出典がつけられていることが分かります。
Re: (スコア:0)
[2]の初版の訳書にはこう書かれています。
コンパイラは,簡単にいうと,ある言語で書かれたプログラムを読み込んで,
それを等価な別の言語のプログラムに翻訳するプログラムである.
前者の言語を原始言語,後者の言語を目的言語とよぶ.
(略)
目的言語も同様で,別のプログラム言語のこともあれば,機械語のこともある.