《Build.Your.Own.Dot.NET.Language.and.Compiler.(Comp).CHM-LiB》
下载网址:
Apress,.Build.Your.Own.dot.NET.Language.and.Compiler.(2004).LiB.chm [9.00 Mb]
作者Edward G. Nigles,ISBN:1590591348,Apress © 2004 (388 pages)。读的是Team LIB的chm版本。
很有意思,知道了一些咋呼人的词,什么BNF(Backus-Naur Form),什么RPN(Reverse Polish Notation),很自然的,就会想,有没有通用的程序语言翻译器呢,既然都可以用BNF来描述……当然,这个是很困难的,Semantic Designs的Ira D. Baxter都说C#的parser花了他们一个十年,总人力在100人年以上:
原文:
Apress,.Build.Your.Own.dot.NET.Language.and.Compiler.(2004).LiB.chm [9.00 Mb]
作者Edward G. Nigles,ISBN:1590591348,Apress © 2004 (388 pages)。读的是Team LIB的chm版本。
很有意思,知道了一些咋呼人的词,什么BNF(Backus-Naur Form),什么RPN(Reverse Polish Notation),很自然的,就会想,有没有通用的程序语言翻译器呢,既然都可以用BNF来描述……当然,这个是很困难的,Semantic Designs的Ira D. Baxter都说C#的parser花了他们一个十年,总人力在100人年以上:
原文:
All software developers use languages, which are the fundamental tool ³
³ of the trade. Despite curiosity about how languages work, few ³
³ developers actually understand how. Unfortunately, most texts on ³
³ language and compiler development are hard to digest, written from ³
³ academic platforms for use in college-level computer science programs. ³
³ On the other hand, Build Your Own .NET Language and Compiler ³
³ demystifies compiler and language development, and makes the subjects ³
³ palatable for all programmers. ³
³ ³
³ This practical book presents techniques that you can apply to everyday ³
³ work. You'll learn to add scripts and macro languages to your ³
³ applications, add runtime expression evaluation to their applications, ³
³ and generate code immediately. Further, you will learn parsing ³
³ techniques, which are essential to extract information from any ³
³ structured form of data--like text files, user input, XML, or HTML. As ³
³ a bonus, the book includes a complete QuickBasic compatible compiler ³
³ with source code that works. The compiler illustrates the book's ³
³ techniques and acts as a versatile .NET language.