The Definitive ANTLR 4 Reference, 2/e (Paperback)
暫譯: 權威的 ANTLR 4 參考手冊,第 2 版 (平裝本)
Terence Parr
- 出版商: Pragmatic Bookshelf
- 出版日期: 2013-02-19
- 售價: $1,260
- 貴賓價: 9.5 折 $1,197
- 語言: 英文
- 頁數: 328
- 裝訂: Paperback
- ISBN: 1934356999
- ISBN-13: 9781934356999
-
相關分類:
Compiler
-
相關翻譯:
ANTLR4 權威指南 (The Definitive ANTLR 4 Reference, 2/e) (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
大話設計模式$620$490 -
大話資料結構$590$466 -
Android 4.X 手機/平板電腦程式設計入門、應用到精通, 2/e (適用 Android 1.X~4.X)$520$411 -
編譯原理, 2/e (Compilers : Principles, Techniques, and Tools, 2/e)$534$507 -
實戰雲端作業系統建置與維護-VMware vSphere 5 虛擬化全面啟動
$680$537 -
JavaScript & jQuery: The Missing Manual 國際中文版, 2/e
$580$458 -
Debug Hacks 除錯駭客 -- 極致除錯的技巧與工具$580$458 -
ASP.NET 4.5 專題實務 [I]-C# 入門實戰篇$780$616 -
HTML5 完美風暴, 2/e$1,000$700 -
版本控制使用 Git, 2/e (Version Control with Git: Powerful tools and techniques for collaborative software development, 2/e)$580$458 -
ASP.NET MVC 4 網站開發美學$680$537 -
無瑕的程式碼 - 敏捷軟體開發技巧守則 (Clean Code: A Handbook of Agile Software Craftsmanship)$580$452 -
Android App 程式設計教本之無痛起步$480$408 -
超圖解 Arduino 互動設計入門 (附 Arduino UNO R3 開發板)$1,130$961 -
Android 初學特訓班, 3/e (暢銷改版,全新 Android 4.X 版 / 適用 Android 4.X~2.X,附影音教學/範例/小綠人素材)$480$379 -
24 小時不打烊的雲端服務:專家教你用 Windows Server 2012 Hyper-V 3.0 實戰虛擬化技術
$880$686 -
CSS3 網頁設計師手札, 4/e (The CSS3 Anthology: Take Your Sites to New Heights, 4/e)$450$356 -
Google 教我的 101 個工作最佳化:效率第一名的數位工作實踐法$380$304 -
ASP.NET MVC 4 全方位專業網站開發實戰演練 (ASP.NET MVC 4 in Action, 3/e)$580$452 -
無瑕的程式碼 番外篇-專業程式設計師的生存之道 (The Clean Coder: A Code of Conduct for Professional Programmers)
$360$281 -
專案開發實戰攻略-進銷存系統設計與開發$690$538 -
掌握行銷新趨勢 ─ 你不可不知的網站流量分析 Google Analytics$500$450 -
完整學會 Git, GitHub, Git Server 的24堂課$360$284 -
Visual C# 2015 學習經典$650$514 -
使用者故事對照 (User Story Mapping: Discover the Whole Story, Build the Right Product)$580$458
商品描述
Programmers run into parsing problems all the time. Whether it's a data format like JSON, a network protocol like SMTP, a server configuration file for Apache, a PostScript/PDF file, or a simple spreadsheet macro language--ANTLR v4 and this book will demystify the process. ANTLR v4 has been rewritten from scratch to make it easier than ever to build parsers and the language applications built on top. This completely rewritten new edition of the bestselling Definitive ANTLR Reference shows you how to take advantage of these new features.
Build your own languages with ANTLR v4, using ANTLR's new advanced parsing technology. In this book, you'll learn how ANTLR automatically builds a data structure representing the input (parse tree) and generates code that can walk the tree (visitor). You can use that combination to implement data readers, language interpreters, and translators.
You'll start by learning how to identify grammar patterns in language reference manuals and then slowly start building increasingly complex grammars. Next, you'll build applications based upon those grammars by walking the automatically generated parse trees. Then you'll tackle some nasty language problems by parsing files containing more than one language (such as XML, Java, and Javadoc). You'll also see how to take absolute control over parsing by embedding Java actions into the grammar.
You'll learn directly from well-known parsing expert Terence Parr, the ANTLR creator and project lead. You'll master ANTLR grammar construction and learn how to build language tools using the built-in parse tree visitor mechanism. The book teaches using real-world examples and shows you how to use ANTLR to build such things as a data file reader, a JSON to XML translator, an R parser, and a Java class->interface extractor. This book is your ticket to becoming a parsing guru!
What You Need:
ANTLR 4.0 and above. Java development tools. Ant build system optional (needed for building ANTLR from source)
商品描述(中文翻譯)
程式設計師經常會遇到解析問題。無論是像 JSON 這樣的資料格式、像 SMTP 這樣的網路協定、Apache 的伺服器配置檔、PostScript/PDF 檔案,或是簡單的電子表格巨集語言——ANTLR v4 和這本書將揭開這個過程的神秘面紗。ANTLR v4 已經從頭重寫,使得構建解析器和基於其上構建的語言應用變得比以往任何時候都更容易。這本暢銷書《Definitive ANTLR Reference》的全新重寫版將向您展示如何利用這些新功能。
使用 ANTLR v4 的新進階解析技術來構建您自己的語言。在這本書中,您將學習 ANTLR 如何自動構建表示輸入的資料結構(解析樹)並生成可以遍歷該樹的程式碼(訪問者)。您可以利用這種組合來實現資料讀取器、語言解釋器和翻譯器。
您將從學習如何在語言參考手冊中識別語法模式開始,然後逐漸開始構建越來越複雜的語法。接下來,您將基於這些語法構建應用程式,通過遍歷自動生成的解析樹來實現。然後,您將處理一些棘手的語言問題,解析包含多種語言的檔案(例如 XML、Java 和 Javadoc)。您還將看到如何通過將 Java 行動嵌入語法中來完全控制解析。
您將直接向著名的解析專家 Terence Parr 學習,他是 ANTLR 的創建者和專案負責人。您將掌握 ANTLR 語法構建,並學習如何使用內建的解析樹訪問者機制來構建語言工具。這本書使用真實世界的範例教學,並向您展示如何使用 ANTLR 構建資料檔案讀取器、JSON 到 XML 的翻譯器、R 解析器和 Java 類別到介面的提取器。這本書是您成為解析大師的入場券!
您需要的工具:
ANTLR 4.0 及以上版本。Java 開發工具。Ant 建構系統(可選,構建 ANTLR 源碼時需要)。
