Trending News
編譯器的解釋,原理,結構是什麼?
編譯器是什麼東西?(Grace Hopper所製)
Grace Hopper 所製造的編譯器是什麼原理?什麼構造?
需要超白話,但不短的解釋(專業術語看不懂)
如果找的到參考的地方,懇請告訴.....
2 Answers
- prisoner26535Lv 76 years agoFavorite Answer
編譯器是什麼東西?(Grace Hopper所製)
Compilers in general is no more than a translator from a language to another language. Among programming languages, a compiler is to translate from one programming language into another, which is typical more hardware dependent.
Grace Hopper 所製造的編譯器是什麼原理?什麼構造?
Amazing Grace's theory on compilation is that there shall be a high level programming language that can be easily understood by engineers who encode their logic in one language that can be run over various computer hardware architectures. In general, a compiler will have several layers - parser, lexical analyzer, information flow analyzer, code generator, optimizer, debugger.
需要超白話,但不短的解釋(專業術語看不懂)
超白話 不會說耶! 醬專業的問題東東 怎可以不說術語? 不說的話 被妳看清了!
如果找的到參考的地方,懇請告訴.....
一堆google.com就有300萬車.
- 十三Lv 46 years ago
Compiler 是將一個高階語言轉換成可以執行的機械碼. 通常人類的邏輯較容易以高階語言來表達, 而機器則只認得加減乘除與邏輯運算. 這中間轉換就是 compiler 的工作. 通常還有linker 來協助如何擺放可執行碼的位置.
2014-12-10 19:30:41 補充:
不同語言有不同編譯方式, 例如C/C++與 Javascript 就是兩種不同處理, 前者稱為compiler, 後者稱為interpreter.... 說來話長, 只能簡單說明.