Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.
Overview
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 datalike 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 books techniques and acts as a versatile .NET language.
Synopsis
After describing the basics of the .NET framework, this book shows how to write a halfway decent compiler using object-oriented techniques to compile Basic. The author explains the formal notation Backus-Naur Form for designing the syntax of a language, presents an object-oriented approach to storing variables and their types in the Basic language, and builds the actual parsing front end of a compiler. An appendix documents the properties and methods exposed by the quick basic engine. Annotation ©2005 Book News, Inc., Portland, OR