Implementing Programming Languages. An Introduction to Compilers and Interpreters (Paperback)
Aarne Ranta
- 出版商: College Publications
- 出版日期: 2012-05-09
- 售價: $1,000
- 貴賓價: 9.5 折 $950
- 語言: 英文
- 頁數: 224
- 裝訂: Paperback
- ISBN: 1848900643
- ISBN-13: 9781848900646
-
相關分類:
Compiler
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,620$2,489 -
$1,575$1,544 -
$1,440$1,368 -
$750Programming in Lua, 3/e (Paperback)
-
$1,730$1,644 -
$199精通Unreal遊戲引擎(遊戲設計與開發)
-
$450$356 -
$320$99 -
$454算法心得:高效算法的奧秘
-
$99深層學習 : 心智如何超越經驗 (這不是您想的 DeepLearning)
-
$650$507 -
$354$336 -
$332大象無形:虛幻引擎程序設計淺析
-
$479$455 -
$250科學計算與企業級應用的並行優化
-
$254FPGA 編程從零開始 : 使用 Verilog
-
$265透視 APT — 賽博空間的高級威脅
-
$594$564 -
$662敏捷測試 : 以持續測試促進持續交付
-
$709FFmpeg 入門詳解 — SDK 二次開發與直播美顏原理及應用
-
$551RTC 程序設計:實時音視頻權威指南
相關主題
商品描述
Implementing a programming language means bridging the gap from the programmer's high-level thinking to the machine's zeros and ones. If this is done in an efficient and reliable way, programmers can concentrate on the actual problems they have to solve, rather than on the details of machines. But understanding the whole chain from languages to machines is still an essential part of the training of any serious programmer. It will result in a more competent programmer, who will moreover be able to develop new languages. A new language is often the best way to solve a problem, and less difficult than it may sound. This book follows a theory-based practical approach, where theoretical models serve as blueprint for actual coding. The reader is guided to build compilers and interpreters in a well-understood and scalable way. The solutions are moreover portable to different implementation languages. Much of the actual code is automatically generated from a grammar of the language, by using the BNF Converter tool. The rest can be written in Haskell or Java, for which the book gives detailed guidance, but with some adaptation also in C, C++, C#, or OCaml, which are supported by the BNF Converter. The main focus of the book is on standard imperative and functional languages: a subset of C++ and a subset of Haskell are the source languages, and Java Virtual Machine is the main target. Simple Intel x86 native code compilation is shown to complete the chain from language to machine. The last chapter leaves the standard paths and explores the space of language design ranging from minimal Turing-complete languages to human-computer interaction in natural language.