無料のKindleアプリをダウンロードして、スマートフォン、タブレット、またはコンピューターで今すぐKindle本を読むことができます。Kindleデバイスは必要ありません。
ウェブ版Kindleなら、お使いのブラウザですぐにお読みいただけます。
携帯電話のカメラを使用する - 以下のコードをスキャンし、Kindleアプリをダウンロードしてください。
OK
JAVAによるパーサ構築技法 単行本 – 2001/11/1
- 本の長さ399ページ
- 言語日本語
- 出版社桐原書店
- 発売日2001/11/1
- ISBN-104894714078
- ISBN-13978-4894714076
商品の説明
商品説明
本書は、Javaで書かれたパーサのプログラムと、それを活用するサンプルプログラムの内容を説明する形で書かれている。各プログラムは付属のCD-ROMに収録されている。説明されているパーサは非決定性再帰的下向きパーサであるが、すべてのサンプルにソースがついており無料で使えるため、実際にサンプルプログラムを動かしながら確認することが可能である。また、ソースを解析してパーサの研究をすることもできる。
開発しているアプリケーションに、マクロ的な機能を付加することをユーザーに許可したい時、難しいのは文法入力の自由度や組み合わせをどこまで許すかということである。また、XMLの文書で、さまざまな表現を可能にするための入れ子構造を許した場合、その構造を解析するプログラムを作ることは難しい。これらの問題は、パーサのしくみを知っていると解決できる。本書では、パーサのアーキテクチャが詳しく書かれており、文章の構造分析の方法を知ることができる。また、サンプルプログラムとして、数学関数を入力し、その式の軌跡をグラフィカルにプロットするサンプルがあり、パーサをどのように活用すればいいか、知ることができる。高度なXMLアプリケーションの開発や、文書構造解析の研究を行う技術者におすすめしたい。(川藤一真)
内容(「MARC」データベースより)
登録情報
- 出版社 : 桐原書店 (2001/11/1)
- 発売日 : 2001/11/1
- 言語 : 日本語
- 単行本 : 399ページ
- ISBN-10 : 4894714078
- ISBN-13 : 978-4894714076
- カスタマーレビュー:
著者について
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
-
トップレビュー
上位レビュー、対象国: 日本
レビューのフィルタリング中に問題が発生しました。後でもう一度試してください。
著者メッカーが作成したパーサ・ツールを貴方のプログラムの中で使う方法を記したHowTo本です。
貴方がパーサを一から設計してモノにするためには、付録CD-ROMの中のソースをハックする必要があります。しかしその情報のために著者がさいたページは第10章「マッチングの仕組み」のわずか18ページのみ。
CD-ROMにはソースのほかにコードから生成したjavadocだけ。懇切丁寧とは言えない構成で、これでは八苦することになりそうです…。
本書を購入した方の多くは、メッカーのお客さんの立場で満足するつもりはなかったと思います。ですから決して安くはない価格にこのタイトルはどうかと思いました。
また「プログラミング言語を設計できる」というキャッチコピーは言い過ぎだと思います。Tinyなスクリプトの設計なら問題なし。OKです。
正直、私は期待が大きかったため、がっかりしました。
他の国からのトップレビュー
Das die Weiterverbeitung nur oberflächig aufgezeigt wird, wobei oberflächig noch zu positiv ist, sieht man erst, wen es vor einem liegt.
Die CD ist nicht zu gebrauchen. Zumindest bei mir lässt sich diese auf Windows 8.1 nicht installieren.
Ansonsten sind die Parser in Ihren Grundfunktionen gut beschrieben, jedoch gehen die Beschreibungen nicht tief genug in die Materie so das zugängliche Parsertools weit aus efektiver und umfassender sind.
Aus diesem Grund, ist das Buch einfach nur enttäuschend. Schade.
Grüße
Instead, you get a tour of a toolkit the author has developed, which is no doubt very impressive, but doesn't give me the confidence or grounding to develop my own (especially in other languages).
He doesn't tell you how that essential toolkit itself came about, so this is pretty much useless to a developer interested in the basic principles, like me.
2nd book bought by, and 2nd bad opinion of, this Author.
This book explains how to write parsers for new computer languages that you create. Each chapter focuses on either background, techniques, or applications. A chart at the beginning of chapter one shows you which chapter focuses on each topic. Each chapter builds on the material presented in preceding chapters, so you should probably proceed through this book linearly. I review this book in the context of the table of contents:
1. Introduction - Just performs an overview of the book.
2. The Elements of a Parser - Explains what a parser is, introduces the building blocks of applied parsers, and shows how to compose new parsers from existing ones.
3. Building a Parser - Explains the steps in designing and coding a parser.
4. Testing a Parser - How to test a new language's features and also how to use random testing to detect ambiguity and other problems.
5. Parsing Data Languages - Shows how to create a parser that reads the elements of a data language. A data language is a set of strings that describe objects following a local convention.
6. Transforming a Grammar - How to ensure the correct behavior of operators in a language and how to avoid looping in a parser, which can follow from loops in a grammar.
7. Parsing Arithmetic - This chapter develops an arithmetic parser. Arithmetic usually appears as part of a larger language.
8. Parsing Regular Expressions - develops a regular expression parser. A regular expression is a string that uses symbols to describe a pattern of characters.
9. Advanced Tokenizing - Describes the tokenizers that are part of the Java programming language as well as the customizable tokenizer of this particular book. Tokenizing a string means breaking the string into logical nuggets so that you can define your parser in terms of these nuggets rather than individual characters.
10. Matching Mechanics - Explains how the fundamental types of parsers in this book match text.
11. Extending the Parser Toolkit - How to extend a parser toolkit which includes introducing new types of terminals or completely different parser types.
12. Engines - Introduces a logic engine, which is a piece of software that is able to return objects and groups of objects in response to a logical query.
13. Logic Programming - Shows how to program with facts and rules.
14. Parsing a Logic Language - How to construct a parser for a logic language. It shows how to build a parser for the Logikus programming language that was introduced in the previous chapter.
15. Parsing a Query Language - Constructs a parser for a query language. A query language parser translates textual queries into calls to an engine. The engine proves the query against a source of rules and data and returns successful proofs as the result of the query.
16. Parsing an Imperative Language - Shows how to create a parser for imperative languages. An imperative language parser translates a textual script into a composition of commands that direct a sequence of actions.
17. Directions - Points out areas for further reading and programming.
I used this book to create a parser for a visual language, and I found the instructions in this book very complete and helpful. I would recommend the following books if you are interested in getting deeper into the theory behind this book - "Programming Language Pragmatics" and also "Introduction to the Theory of Computation" by Sipser.
It's really a excellent book about Parser, and meet my work.
If you really want to create your parser to solve your problem, this is a good start point for you.