معرفی کتاب «.NET Development Using the Compiler API» نوشتهٔ Jason Bock (auth.)، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2016. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «.NET Development Using the Compiler API» در دستهٔ بدون دستهبندی قرار دارد.
This is the first book to describe the recent significant changes to the .NET compilation process and demonstrate how .NET developers can use the new Compiler API to create compelling applications. As an open source compiler, the Compiler API now makes its code available for anyone to use. In this book, you'll get a concise, focused view of this tremendous resource for developers, who can now use any part of the platform implementation to their advantage in analyzing applications, improving code generation, and providing enforceable patterns, all under an OSS model. You will learn how to analyze your code for defects in a fast, clean manner never available before. You'll work with solutions and projects to provide automatic refactoring, and you'll discover how you can generate code dynamically to provide application implementations at runtime Having the Compiler API available opens a number of doors for .NET developers that were either simply not there before, or difficult to achieve. However, the API is vast, and this concise book provides a valuable roadmap to this new development environment. **What You Will Learn:** * Understand how to generate, compile, and execute code for a number of scenarios * How to create diagnostics and refactoring to help developers enforce conventions and design idioms * Experiment with the compiler code base and see what can be done to influence the inner workings of the compilation pipeline **Who This Book Is For:** Experienced .NET developers, but detailed compiler knowledge is not necessary. This is the first book to describe the recent significant changes to the Roslyn compiler and demonstrate how .NET developers can use the new Roslyn APIs to create compelling applications. As an open source compiler, Roslyn now makes its code available for anyone to use. In this book, you’ll get a concise, focused view of this tremendous resource for developers, who can now use any part of the platform implementation to their advantage in analyzing applications, improving code generation, and providing enforceable patterns, all under an OSS model. You will learn how to analyze your code for defects in a fast, clean manner never available before. You’ll work with solutions and projects to provide automatic refactoring, and you’ll discover how you can generate code dynamically to provide application implementations at runtime Having the Roslyn compiler API available opens a number of doors for .NET developers that were either simply not there before, or difficult to achieve. However, the API is vast, and this concise book provides a valuable roadmap to this new development environment. What You Will Learn Understand how to generate, compile, and execute code for a number of scenarios How to create diagnostics and refactoring to help developers enforce conventions and design idioms Experiment with the compiler code base and see what can be done to influence the inner workings of the compile Experienced .NET developers, but detailed compiler knowledge is not necessary.
"Modern Compiler Design" makes the topic of compiler design more accessible by focusing on principles and techniques of wide application. By carefully distinguishing between the essential (material that has a high chance of being useful) and the incidental (material that will be of benefit only in exceptional cases) much useful information was packed in this comprehensive volume. The student who has finished this book can expect to understand the workings of and add to a language processor for each of the modern paradigms, and be able to read the literature on how to proceed. The first provides a firm basis, the second potential for growth.
Front Matter....Pages i-xvi An Overview of the Compiler API....Pages 1-32 Writing Diagnostics....Pages 33-68 Creating Refactorings and Handling Workspaces....Pages 69-106 Using the Scripting API....Pages 107-138 The Future of the Compiler API....Pages 139-154 Back Matter....Pages 155-158