.NET Development Using the Compiler API

Jason Bock

  • 出版商: Apress
  • 出版日期: 2016-07-01
  • 售價: $1,560
  • 貴賓價: 9.5$1,482
  • 語言: 英文
  • 頁數: 158
  • 裝訂: Paperback
  • ISBN: 1484221109
  • ISBN-13: 9781484221105
  • 相關分類: .NETCompiler
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

這是第一本描述最近.NET編譯過程重大變化的書籍,並展示了.NET開發人員如何使用新的編譯器API來創建引人入勝的應用程序。作為一個開源編譯器,編譯器API現在將其代碼提供給任何人使用。在這本書中,您將獲得對開發人員來說非常重要的這一巨大資源的簡明而專注的觀點,他們現在可以利用平台實現的任何部分來分析應用程序、改進代碼生成並提供可執行的模式,所有這些都在開源軟體模型下進行。

您將學習如何以前所未有的快速、乾淨的方式分析代碼中的缺陷。您將使用解決方案和項目來提供自動重構,並發現如何動態生成代碼以在運行時提供應用程序實現。

編譯器API的可用性為.NET開發人員打開了一扇門,這些門以前要麼根本不存在,要麼很難實現。然而,API非常龐大,這本簡明的書為這個新的開發環境提供了一個寶貴的路線圖。

您將學習以下內容:
- 瞭解如何為多種場景生成、編譯和執行代碼
- 如何創建診斷工具和重構工具,以幫助開發人員執行慣例和設計風格
- 實驗編譯器代碼庫,看看可以做些什麼來影響編譯流程的內部運作

本書適合有經驗的.NET開發人員,但不需要詳細的編譯器知識。