コンパイラを、自分で書いてみないとなかなか合点がいかないことがある。
しかし、GCCのような巨大なコンパイラを自分で1から書くのは不可能かもしれない。
また、読むのでも、どこから読んだらいいかわからないことがしばしばある。
ソースコードを読むときに、少し変更して挙動を見ると、そこが何をしているところかわかったり、どこに影響があるかがわかることがある。
そのため、小さいコンパイラを書くか、大きなコンパイラの一部を修正することによって、コンパイラを理解するとよい。
そのどちらの方法をとる場合でも、本書はバイブルのように参考になる。
I巻では1パスコンパイラ、字句解析、構文解析、型検査について書いている。
II巻で実行時環境、中間コード生成、コード生成、コード最適化、、プログラム作成演習について書いている。コンパイラの実現例として、PASCAL,C,Fortran、Bliss,Modula-2を例示している。
ps.
コンパイラをC言語で書いてみて、バグが取れなかったが、ポインタ操作をいいかげんにしていたことが想定され、ポインタ操作はいいかげんなことをしてはいけないことを体験した。
無料のKindleアプリをダウンロードして、スマートフォン、タブレット、またはコンピューターで今すぐKindle本を読むことができます。Kindleデバイスは必要ありません。
ウェブ版Kindleなら、お使いのブラウザですぐにお読みいただけます。
携帯電話のカメラを使用する - 以下のコードをスキャンし、Kindleアプリをダウンロードしてください。
Compilers Principles, Techniques, & Tools ハードカバー – 2007/10/5
- 本の長さ1009ページ
- 言語英語
- 出版社Addison-Wesley
- 発売日2007/10/5
- 寸法17.78 x 5.08 x 25.4 cm
- ISBN-100321547985
- ISBN-13978-0321547989
この商品をチェックした人はこんな商品もチェックしています
ページ 1 以下のうち 1 最初から観るページ 1 以下のうち 1
登録情報
- 出版社 : Addison-Wesley; 第2版 (2007/10/5)
- 発売日 : 2007/10/5
- 言語 : 英語
- ハードカバー : 1009ページ
- ISBN-10 : 0321547985
- ISBN-13 : 978-0321547989
- 寸法 : 17.78 x 5.08 x 25.4 cm
- Amazon 売れ筋ランキング: - 839,529位洋書 (洋書の売れ筋ランキングを見る)
- カスタマーレビュー:
著者について
著者をフォローして、新作のアップデートや改善されたおすすめを入手してください。
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
著者の本をもっと発見したり、よく似た著者を見つけたり、著者のブログを読んだりしましょう
-
トップレビュー
上位レビュー、対象国: 日本
レビューのフィルタリング中に問題が発生しました。後でもう一度試してください。
2023年1月28日に日本でレビュー済み
Amazonで購入
壊れていて全部で18ページしかない。返金してください。
星の数はゼロだが、1つでも入れないと投稿できない。
最近、Kindleは壊れているものが多いようだ。
星の数はゼロだが、1つでも入れないと投稿できない。
最近、Kindleは壊れているものが多いようだ。
2023年1月26日に日本でレビュー済み
Amazonで購入
ページ数がおかしいのに気がつかずに購入してしまいました。
中身はランダムな文字が並んでいて読めた物ではありません。
安いKindle版は買わないようにしてください。
中身はランダムな文字が並んでいて読めた物ではありません。
安いKindle版は買わないようにしてください。
2022年8月2日に日本でレビュー済み
I though I ordered a hardcover copy for this book, end up with a paper back because the tabs doesn't mean anything.
他の国からのトップレビュー
Client d'Amazon
5つ星のうち5.0
Très bon etat
2018年8月28日にフランスでレビュー済みAmazonで購入
Livre délivré en très bon état et bien emballé
B.K.
5つ星のうち5.0
A very well-written book.
2016年12月13日にアメリカ合衆国でレビュー済みAmazonで購入
I'm a senior Computer Science student and will be taking a course on compilers in the upcoming quarter. I was incredibly excited to see this book listed for the course, because it has a legendary status. If you watch some of the Microsoft's compiler related videos, for example, you can see this book sitting in the background in some of the videos. My school has made some poor choices with books for other courses... needless to say, I was very happy to see this one.
I bought this book well ahead of time, because the subject of compilers is not an easy one. Luckily, I just completed a course on Formal Languages & Automata, so some of the things involved in the compilation process is less frightening for me than they would be otherwise. However, I knew I would have to get a good head-start to do well in class, but also to truly learn and understand the subject. This book is very well written and I've gotten far enough into it to comfortably comment on it. As far as theory-packed books are concerned, this one is top-notch. The authors made it very approachable and it doesn't feel like they're trying to bloat the content with academic nonsense in order to place themselves on a pedestal above all else. No, I can confidently say that they've done an amazing job in making it as friendly as possible. With that said, and as I've mentioned, this is not an easy topic. Unless you're exceptionally amazing at comprehending complex material through the first read-through, expect to read this book a few times. On the bright side, it's a pretty good read and you will learn a lot from it.
If you have the right mindset and the necessary passion, this is the book for you. The authors have done a fantastic job and you will not regret investing time into it.
I bought this book well ahead of time, because the subject of compilers is not an easy one. Luckily, I just completed a course on Formal Languages & Automata, so some of the things involved in the compilation process is less frightening for me than they would be otherwise. However, I knew I would have to get a good head-start to do well in class, but also to truly learn and understand the subject. This book is very well written and I've gotten far enough into it to comfortably comment on it. As far as theory-packed books are concerned, this one is top-notch. The authors made it very approachable and it doesn't feel like they're trying to bloat the content with academic nonsense in order to place themselves on a pedestal above all else. No, I can confidently say that they've done an amazing job in making it as friendly as possible. With that said, and as I've mentioned, this is not an easy topic. Unless you're exceptionally amazing at comprehending complex material through the first read-through, expect to read this book a few times. On the bright side, it's a pretty good read and you will learn a lot from it.
If you have the right mindset and the necessary passion, this is the book for you. The authors have done a fantastic job and you will not regret investing time into it.
Jason
5つ星のうち5.0
My bookshelf is more beautiful
2013年12月18日にカナダでレビュー済みAmazonで購入
The "Dragon" book makes any bookshelf look more beautiful, and is great for photo shoots and job applications.
Also, if you read the book your IQ will be increased by 3 points.
But seriously, this book is very well written. Compilers are not simple by any stretch of the imagination, but this book does well to explain them in detail. No previous knowledge or awareness of compilers is required, though a good understanding of programming is essential. I bought this book as a required text for a course, and by the end felt a much better appreciation for compilers.
Also, if you read the book your IQ will be increased by 3 points.
But seriously, this book is very well written. Compilers are not simple by any stretch of the imagination, but this book does well to explain them in detail. No previous knowledge or awareness of compilers is required, though a good understanding of programming is essential. I bought this book as a required text for a course, and by the end felt a much better appreciation for compilers.
Daniel Platte
5つ星のうち5.0
The classical dragon book
2007年3月16日にドイツでレビュー済みAmazonで購入
I just recently bought the new edition of the "dragon book" and it seems to be a really high quality book (being worth the spent money). Although I studied electrical engineering and did only have a brief understanding of compilers, the book provides a very good opportunity to learn more about the (partially quite theoretical) backgrounds of compilers. The writing style is very good to read. Furthermore, I like the mixture of theory and practical examples as provided by the book very much.
Pierce
5つ星のうち1.0
Don't buy kindle edition!
2023年1月16日に英国でレビュー済みAmazonで購入
I can't speak for the hardback, but the kindle edition is, to be perfectly blunt, a scam. There's nothing but a mess of random characters: I think the formatting went wrong somewhere. I mean, I should've expected it, expecting to get a textbook for that price 😅
Have 'returned' am expecting to receive a full refund very very soon.
Have 'returned' am expecting to receive a full refund very very soon.