Full description not available
I**S
The one time you should definitely judge a book by its title
This is 100% the definitive reference manual for ANTLv4. As a book with a copyright stamp from a decade ago about a software platform, it's stood the test of time so far. Excellent follow-on reading to Nystrom's 'Crafting Interpreters' as a way to get your hands dirty and leverage a lot of the fundamentals you picked up. Add 'Language Implementation Patterns' as a companion text. You may not walk away having built the language to replace python or javascript, but you'll definitely have a deeper understanding of what's going on under the hood in any language.
A**.
The best ANTLR reference
Great job describing the different versions and the important details between them.If you have worked with ANTLR at all, this book is excellent.
M**L
A Little Too Much Sales Pitch, but Otherwise an Excellent Book
This book is excellent at teaching ANTLR, I only wish the author had re-ordered some of the chapters to teach you critical concepts first. Much of this book feels like an extremely long sales pitch instead of actually trying to teach you something.In chapter four the author is showing a lot of cool things that ANTLR can do for you, and the grammars that help accomplish that. However, he does not officially teach you how to write a grammar until chapter five. Chapter six shows you how you could use ANTLR to parse existing syntaxes, but it does not really teach you anything new. I wish the author had condensed his sales pitch to five pages or less, instead of dedicating whole chapters to it. In other words, I would have put chapters four and six somewhere farther back in the book, and focused on really teaching you the syntax of ANTLR grammars, and how to use its features.Despite that, the book did a great job of explaining how to write ANTLR grammars and use them in your code. All of the online documentation I found on ANTLR was horrible, trying to get by without this book is crazy. Along the way, I came to love ANTLR as a tool, since it could save me a ton of development time, and since it supports so many great features. It's just a really powerful tool by itself.I would highly recommend this book to anybody.
G**N
Great Reference Book that's a companion to "Language Implementation Patterns ..."
If you order the book "Language Implementation Patterns: Create Your Own Domain-Specific and General Programming Languages (Pragmatic Programmers) 1st Edition" this reference book is a great asset to help you not only how to implement and use the ANTLR 4 software, it will expand your knowledge of the software.If you have working knowledge of the ANTLR software (v4 is a newer version), then having this book handy to answer those questions you can't find is very handy.It is well laid out, and easy to understand for new programmers. However, the book will get technical, and knowing how to program in languages other than BASIC (I recommend Python and JAVA) will help you with the technical stuff.And I always recommend that for each machine you own, you should have an understanding of its Assembler language, as this is machine or CPU dependent, and the 6502 chip for the Commodore and Apple II series has different instruction sets than the Z80 chip, or for the Apple IIgs, while it has a built-in MOS 6502 emulation chip, which makes it comparable to the C64/128, it actually runs on a 65C816 (the assembler is the 65816).Being able to code in your machine's assembler will go far, but having a good understanding of it will make ANTLR easy to understand.
B**K
My advice: read this book!
This book surprised me. I expected to learn a niche skill set that I would use rarely. Instead I've found myself using my new ANTLR, grammar, lexing and parsing skills many times a day, everyday. Other reviewers seem to have known a lot about parsing when they read this book so my review is geared more toward general programmers like me who did not have much of a background in parsers.The chapters have bite sized problems that are clear and fun to work through. But these small bites pack quite a punch. When I finished the book, I didn't just now know ANTLR. I now knew all programming languages better. I didn't just know abstract syntax trees better. I now knew their ubiquity.As a software engineer at Microsoft, I worked in many programming languages, including many internal ones. That was hard. And then came this book. Now learning new languages is a breeze.I'm also able to have effective conversations about programming language design.I've read around one hundred top rated programming books and would say this is one of the most valuable programming books ever published. I had a similar valuable experience reading Mastering Regular Expressions a decade ago. I have probably benefitted from those skills 50,000 times since. Similarly the language skills I picked up thanks to this book have already come in handy hundreds of times and I'm sure will benefit me thousands of times in the years ahead. I'll say it again, read this book!(small nit: the name ANTLR. I think the acronymn names were a cool experiment, but a clearer and simpler name might help this tool and book reach a broader audience!)
J**.
Pflichtlektüre für alle, die eine eigene Programmiersprache entwickeln wollen
ANTLR ist *das* Tool, mit dem man die Grammatik einer neuen Programmiersprache schreibt.
R**N
One of a handful well written books
It’s great for those who needs to devise a domain-specific language or translate existing code in any language or complex configuration into a different format.
S**Y
Arrivée éclair et en excellent état
Livre indispensable dans le domaine. En anglais mais c'est mieux si vous êtes informaticien.
R**A
Fácil e poderoso
Esse livro é muito prático e objetivo. Consegui fazer o que precisava após ler 15% do livro. Não duvido que se eu tivesse ido até o final eu seria capar de fazer um copilador. Ainda não terminei de ler, mas após conseguir concluir o meu objetivo de forma realmente fácil eu não pude me segurar e vir escrever esse review. Recomendo!
A**ー
規則がある文字列に対する万能変換器
ユーザーに簡単な関数定義を入力させ、その文字列を解析・検証するために正規表現を使っていたのですが、構文規則が複雑になってきたため構文解析ツールを探していました。bison/flex もよかったのですが、ANTLR4が手軽に感じたのでこの本を購入しました。lexerとparserをそれぞれ解説した後、統合的な説明と相互の関連についての説明があります。クローンしたサンプルコード動かしながら解説を読めるので理解し易かったです。