Amazon Kindleでは、 flex & bison をはじめとする140万冊以上の本をご利用いただけます。 詳細はこちら

Would you like to see this page in English? Click here.


または
1-Clickで注文する場合は、サインインをしてください。
または
Amazonプライム会員に適用。注文手続きの際にお申し込みください。詳細はこちら
こちらからも買えますよ
この商品をお持ちですか? マーケットプレイスに出品する
Flex & Bison
 
 
1分以内にKindleで flex & bison をお読みいただけます。

Kindle をお持ちでない場合、こちらから購入いただけます。 Kindle 無料アプリのダウンロードはこちら

Flex & Bison [ペーパーバック]

John R. Levine
5つ星のうち 5.0  レビューをすべて見る (1 件のカスタマーレビュー)
参考価格: ¥ 3,141
価格: ¥ 3,054 通常配送無料 詳細
OFF: ¥ 87 (3%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
9点在庫あり。(入荷予定あり) 在庫状況について
この商品は、Amazon.co.jp が販売、発送します。 ギフトラッピングを利用できます。
多読の一助に
英語学習にぴったり、10万冊以上の中から自分のレベルに合った洋書が探せる「英語 難易度別リーディングガイド」 がオープン!

フォーマット

Amazon 価格 新品 中古品
Kindle版 ¥ 1,361  
ペーパーバック ¥ 3,054  

会員なら、この商品は10%Amazonポイント還元 (ポイントが表示されている場合は、表示ポイント+10%還元)。

キャンペーンおよび追加情報



商品の説明

内容紹介

If you need to parse or process text data in Linux or Unix, this classic book explains how to use flex and bison to solve your problems quickly - whether you're interpreting code, configuration files, or any other structured format. "Flex and Bison" is the long-awaited sequel to the classic O'Reilly book, "Lex and Yacc". In the nearly two decades since that book was published, the "Flex and Bison" utilities have proven to be more reliable and more powerful than the original Unix tools. This book covers the same core functionality vital to Linux and Unix program development, along with several important new topics. This thoroughly updated edition will help you: address syntax crunching that regular expressions tools can't handle; build compilers and interpreters, and handle a wide range of text processing functions; learn key programming techniques, including syntax trees and symbol tables; implement a full SQL grammar, with complete sample code; and, use new features such as pure (reentrant) lexers and parsers, powerful GLR parsers, and interfaces to C++. This book includes revised tutorial sections for novice users and reference sections for advanced users, with chapters that explain each utility's basic usage and simple, stand-alone applications. Dive into "Flex and Bison" and discover the wide range of uses these flexible tools provide.

出版社からのコメント

This book shows programmers how to use two UNIX utilities, lex and yacc, in program development. lex and yacc are tools that help programmers build compilers and interpreters, but they also have a wider range of applications. The second edition contains completely revised tutorial sections for novice users and reference sections for advanced users. This edition is twice the size of the first and has an expanded index. The following material has been added: Each utility is explained in a chapter that covers basic usage and simple, stand-alone applications How to implement a full SQL grammar, with full sample code Major MS-DOS and UNIX versions of lex and yacc are explored in-depth, including AT&T lex and yacc, Berkeley yacc, Berkeley/GNU Flex, GNU Bison, MKS lex and yacc, and Abraxas PCYACC
--このテキストは、 ペーパーバック 版に関連付けられています。

登録情報

  • ペーパーバック: 271ページ
  • 出版社: Oreilly & Associates Inc; 1版 (2009/08)
  • 言語 英語, 英語, 英語
  • ISBN-10: 0596155972
  • ISBN-13: 978-0596155971
  • 発売日: 2009/08
  • 商品パッケージの寸法: 17.8 x 1.5 x 23.2 cm
  • おすすめ度: 5つ星のうち 5.0  レビューをすべて見る (1 件のカスタマーレビュー)
  • Amazon ベストセラー商品ランキング: 洋書 - 68,528位 (洋書のベストセラーを見る)
  •  カタログ情報、または画像について報告

  • 目次を見る

この本のなか見!検索より (詳細はこちら
この本のサンプルページを閲覧する
おもて表紙 | 著作権 | 目次 | 抜粋 | 索引 | 裏表紙
この本の中身を閲覧する:

この商品を見た後に買っているのは?


カスタマーレビュー

星4つ
0
星3つ
0
星2つ
0
星1つ
0
最も参考になったカスタマーレビュー
2 人中、1人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 両方載っている本 2010/12/24
形式:ペーパーバック|Amazon.co.jpで購入済み
軸解析と構文解析のlexとyaccの両方が書かれている本です。
使う人はもっていると重宝します。
このレビューは参考になりましたか?
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com: 5つ星のうち 3.7  9件のカスタマーレビュー
4 人中、4人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 Bison and Flex are your buddies. 2010/12/23
By K. Ferrio - (Amazon.com)
形式:ペーパーバック
I learned to use lex and yacc long ago, painfully and perhaps poorly, partly from snippets which may or may not have been good examples and partly from reading the generated scanning and parsing code. I imagine that my experience was typical. The old metaphor about how sausage is made is apt. And although I have since used other parser generators much more than I ever used bison, bison was the right tool for some recent projects. So I decided to take a look at John Levine's updated book, which is written in the helpfully assuring voice you'd expect, demonstrating experience though well chosen examples and seasoned with interesting historical notes.

General Observations:

* Levine makes no apologies for the tools. Where there be dragons, he offers practical advice on slaying them or -- better -- walking around them. (It seems like there was a Monty Python sketch about this, or should have been.)

* Generally well written, could have used some more editing to smooth out some convoluted bits.

* More than the usual number of errors, mostly minor and all readily fixable, in the examples.

* There is apparently no code available for download. This may not be a bad thing. I found myself thinking more than usual as I typed, which means I needed to go through the exercise. You're not going to learn how to parse and scan in the real world just by reading about it.

* The exercises are few but highly relevant. You should at least read them even if you have no time to do them.

* The index is good, but you probably won't need it.

Suggestions for Reading Order:

In general, each chapter read is expected to be read as a whole, from beginning to end. Internal back-references within chapters are frequent and effectively demand linear reading and comprehension. This seems to be a deliberate design choice, to avoid the need for more repetition than is absolutely essential. [Insert awful joke about left recursion here.]

The chapters, read as wholes, need not be read in ordinal order. This order worked well for me:

[1,] 2, 3, 7, 8

What You Get

Chapter 1 is the usual get-our-feet-wet chapter. If you don't like what you see, you're done.
Chapters 2 and 3 demonstrate how to apply flex and bison, respectively. Chapter 2 includes simple actions in the scanner, so that the examples *do* something. Old hands will recognize this; new students will see their patience rewarded in Chapter 3 where all but the simplest actions are placed in the parser, relieving the scanner of ill-suited tasks.

Chapter 4 presents a workable parser for SQL. It's an interesting choice and can be skipped if you're pressed for time.

Chapters 5 and 6 are useful references for flex and bison. These are not the typically disappointing rehash of man pages or online documentation. The information is clear, concise and full of essential observations and advice. You can skip these chapters but you will return to them. These two chapters are pretty much the manuals I wish I had when I started using lex and yacc.

Chapter 7 is one of the most coherent *practical* discussions of ambiguity and conflicts I've seen. It's about as good as possible without building the state machines, and Levine leverages the reports generated by bison to avoid discussion of first and follow sets. Instead Levine provides an informal and pragmatic pattern for reasoning about shift/reduce conflicts reported by bison, including the classic if/then/else anti-pattern. This is concise coaching which will help you anticipate and resolve common problems. Levine gently encourages the reader to think carefully about whether ambiguities may be a sign of bad language design and not just conflicts to be resolved by ad hoc rules.

Chapter 8 provides a brief but informative discussion of reporting and recovering from errors. If your language is ever going to have users, you'll have to deal with errors. Error-reporting is easy. Useful error-reporting is a little harder. And error-recovery is non-trivial for all but trivial languages. Levine provides some practical examples which serve to underscore the virtue of failing fast over flailing hard.

Chapter 9 collects some recent developments in flex and bison, some of which may be suitable for production. If you just need to get a parser going quickly and reliably in C for a simple language, or you can call C libraries, then flex and bison are your buddies. Levine provides a frank and fair assessment of the current (ca. 2009) support for implementing C++ parsers and scanners. Along with pure parsers and GLR parsing, these are advanced topics in the sense that their implementations in bison/flex are less mature than LALR targeting C implementation. Levine offers much practical advice which might be summed up as, "I could, but should I?" If the answer for your application is 'Yes, I need to cut against the historical grain of bison/flex,' then you'll do well to become familiar with some of the newer parser-generating kits which were created for that purpose. But if the significance of the question is not obvious, then this book will help you break it down into smaller parts and begin to answer it.

Overall, this is a must-read for anyone trying to make effective use of flex and bison. You could do it the hard way, but your job is going to be hard enough anyway. So you might as well get a good start from someone who knows the stuff inside and out. This book does that.
5つ星のうち 5.0 Good getting started guide.. 2013/1/7
By Byron Faber - (Amazon.com)
形式:Kindle版|Amazon.co.jpで購入済み
Good getting started guide. The book on a whole has been a good source to getting started with bison/flex and covers all the basics with some examples. 'While some may argue they could figure out just as much from online resources and manuals, I found this format more convenient and better organized then rummaging around the internet and in GNU manuals...
5つ星のうち 5.0 Useful for learning Flex and BIson 2012/11/27
By Derrik Walker II - (Amazon.com)
形式:Kindle版|Amazon.co.jpで購入済み
Started learning Lex and YACC with Programming in the UNIX environment, then moved to Flex and Bison with this book. Going from the Legacy to the modern was pretty seamless.
これらのレビューは参考になりましたか?   ご意見はクチコミでお聞かせください。
カスタマーレビューの検索
この商品のカスタマーレビューだけを検索する

クチコミ

クチコミは、商品やカテゴリー、トピックについて他のお客様と語り合う場です。お買いものに役立つ情報交換ができます。
この商品のクチコミ一覧
内容・タイトル 返答 最新の投稿
まだクチコミはありません

複数のお客様との意見交換を通じて、お買い物にお役立てください。
新しいクチコミを作成する
タイトル:
最初の投稿:
サインインが必要です
 

クチコミを検索
すべてのクチコミを検索
   


リストマニア

リストを作成

関連商品を探す


フィードバック


Amazon.co.jpのプライバシー ステートメント Amazon.co.jpの発送情報 Amazon.co.jpでの返品と交換