oder
Loggen Sie sich ein, um 1-Click® einzuschalten.
 
 
Alle Angebote
20 Angebote ab EUR 9,27

Möchten Sie verkaufen?
Hier verkaufen
 
   
Writing Compilers and Interpreters: An Applied Approach Using C++
 
 

Writing Compilers and Interpreters: An Applied Approach Using C++ (Taschenbuch)

von Ronald Mak (Autor) "In this chapter, we begin writing the front end of our Pascal compiler or interpreter by creating two fundamental objects ..." (mehr)
4.3 von 5 Sternen  Alle Rezensionen anzeigen (7 Kundenrezensionen)
Statt: EUR 52,99
Jetzt: EUR 49,99 Kostenlose Lieferung. Siehe Details.
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
Auf Lager. Versand kann bis zu 2 zusätzliche Tage in Anspruch nehmen.
Verkauf und Versand durch Amazon.de. Geschenkverpackung verfügbar.

Noch 2 Stück auf Lager.

13 neu ab EUR 9,46 7 gebraucht ab EUR 9,27
Amazon Kindle
Amazon Kindle - Jetzt internationaler Versand aus den USA
Entdecken Sie über 250.000 englischsprachige Bücher, Zeitungen und Zeitschriften. Mehr erfahren und bestellen bei Amazon.com in den USA.

Kunden, die diesen Artikel gekauft haben, kauften auch

Understanding the Linux Kernel

Understanding the Linux Kernel

von Daniel P. Bovet
4.5 von 5 Sternen (2)  EUR 39,95
Weitere Artikel entdecken

Produktinformation

  • Taschenbuch: 864 Seiten
  • Verlag: Verlag John Wiley & Sons, Inc; Auflage: 2 Sub (10. August 1996)
  • Sprache: Englisch
  • ISBN-10: 0471113530
  • ISBN-13: 978-0471113539
  • Größe und/oder Gewicht: 23,2 x 18,8 x 5 cm
  • Durchschnittliche Kundenbewertung: 4.3 von 5 Sternen  Alle Rezensionen anzeigen (7 Kundenrezensionen)
  • Amazon.de Verkaufsrang: Nr. 100.967 in Englische Bücher (Die Bestseller Englische Bücher)
  • Komplettes Inhaltsverzeichnis ansehen

Produktbeschreibungen

Book Description

Grab hold of your C++ because here you'll learn how to use it to write compilers and interpreters--those programs that translate high-level computer code into machine-executable code. The only C++-based book on compilers and interpreters available, this revised and updated edition shows you the ABC's of reading and listing a program, breaking it into tokens, parsing it, and examining its syntax. Then it shows you how to build an actual interpreter, debugger, and finally, a compiler.


Synopsis

Quickly master all the skills you need to build your own compilers and interpreters in C++ Whether you are a professional programmer who needs to write a compiler at work or a personal programmer who wants to write an interpreter for a language of your own invention, this book quickly gets you up and running with all the knowledge and skills you need to do it right. It cuts right to the chase with a series of skill-building exercises ranging in complexity from the basics of reading a program to advanced object-oriented techniques for building a compiler in C++. Here's how it works: Every chapter contains anywhere from one to three working utility programs that provide a firsthand demonstration of concepts discussed, and each chapter builds upon the preceding ones. You begin by learning how to read a program and produce a listing, deconstruct a program into tokens (scanning), and how to analyze it based on its syntax (parsing). From there, Ron Mak shows you step by step how to build an actual working interpreter and an interactive debugger. Once you've mastered those skills, you're ready to apply them to building a compiler that runs on virtually any desktop computer.

Visit the Wiley Computer Books Web page at: http://www wiley.com/compbooks/


Was kaufen Kunden, nachdem sie diesen Artikel angesehen haben?

Writing Compilers and Interpreters: An Applied Approach Using C++
63% kaufen den auf dieser Seite vorgestellten Artikel:
Writing Compilers and Interpreters: An Applied Approach Using C++ 4.3 von 5 Sternen (7)
EUR 49,99
Writing Compilers and Interpreters: A Software Engineering Approach
31% kaufen
Writing Compilers and Interpreters: A Software Engineering Approach
EUR 55,47
Compilers: Principles, Techniques, and Tools
6% kaufen
Compilers: Principles, Techniques, and Tools 4.2 von 5 Sternen (21)
EUR 72,95

In diesem Buch (Mehr dazu)
Einleitungssatz
In this chapter, we begin writing the front end of our Pascal compiler or interpreter by creating two fundamental objects. Lesen Sie die erste Seite
Mehr entdecken
Wortanzeiger
Ausgewählte Seiten ansehen
Buchdeckel | Copyright | Inhaltsverzeichnis | Auszug | Stichwortverzeichnis | Rückseite
Hier reinlesen und suchen:

Tags

 (Was ist das?)
Bei einem Tag handelt es sich um ein Schlagwort, das zum Produkt passt.
Tags erleichtern allen Kunden die Suche und die Sortierung ihrer Lieblingsprodukte.
 

 

Kundenrezensionen

7 Rezensionen
5 Sterne:
 (4)
4 Sterne:
 (2)
3 Sterne:    (0)
2 Sterne:
 (1)
1 Sterne:    (0)
 
 
 
 
 
Durchschnittliche Kundenbewertung
4.3 von 5 Sternen (7 Kundenrezensionen)
 
 
 
 
Sagen Sie Ihre Meinung zu diesem Artikel:
Die hilfreichsten Kundenrezensionen

 
2 von 3 Kunden fanden die folgende Rezension hilfreich:
2.0 von 5 Sternen Mak is useful, but do use it with caution., 16. April 2000
There are several things you should know about this book:

1) The book implements a top-down or recursive-descent parser, as opposed to a standard shift-reduce parser. This is *very* important, as lex/yacc, Visual Parse++, and other parsing tools are efficient shift-reduce macines. Thus, the parser isn't really portable. Even so, I did find the the symbol table design that's used by the parser to be critical for what I needed.

2) The printed material is mostly (say 70%) code listings, thus even though the book is a whopping 838 pages, it would be much slimmer with fewer listings. The code is downloadable from the pusblisher's (Wiley) site.

3) The 30% of text and figures that are in the book could be much more insightful. For example, Chapter 11 - the interactive debugger should at least have some description (screenshots perhaps) of how to use the debugger. (Hint, the commands end with a semi-colon.)

4) Even though this book is C++ oriented, it doesn't use standard containers like linked lists, or trees (maps/sets). The classes have pointers in them that makes the class also act as a its own node in a list or whatever. This makes the design much more confusing than it needs to be.

5) The symbol table implementation has heavy circular dependencies. Quite honestly I don't know of a better implementation (yet). This does, however pose a problem if you'll need to extend the design (to use STL containers, to self-serialize, etc.)

The book has been a godsend, but I couldn't honestly let the 4 and 5 star reviews sit unchallenged. If I had known the above sooner, I could have saved quite a few weekends.

I think an Ideal Writing Compilers book would come bundled with a thirty day version of Visual Parse++ or Dr. Parse, and work from there.

Kommentar Kommentar | Kommentar als Link | War diese Rezension für Sie hilfreich? Ja Nein (Rezension unzumutbar?)



 
1 von 1 Kunden fanden die folgende Rezension hilfreich:
5.0 von 5 Sternen A good introduction to compiler basics, 7. März 1998
Von omaris@worldnet.att.net (Olympia, Washington USA) - Alle meine Rezensionen ansehen

This book delivers exactly what it promises--a complete step-by-step example of writing 'a compiler'. The book is simply a description of one way to build one compiler (and interpreter, and debugger, and various useful utilities).

The basics are well presented. First a topic is described, then source code is presented and explained. The results of test runs are shown, and then off to the next topic. Advanced topics, such as optimization, are intentially left out.

When a person is ready to read a first book about compilers, this is a good one. All source code developed/described in the book is available on-line.

Kommentar Kommentar | Kommentar als Link | War diese Rezension für Sie hilfreich? Ja Nein (Rezension unzumutbar?)



 
4.0 von 5 Sternen Schritt für Schritt zum Pascal-Compiler, 2. August 2009
Von Dr. Christian Donninger "vulgo Chrilly" (Altmelon, Waldviertel) - Alle meine Rezensionen ansehen
(REAL NAME)   
Ich schreibe - aus Spass an der Sache - fast für jedes Projekt eine eigene "Little Language". Das nennt sich heute hochtrabend "Domain-Specific-Language" (DSL). Ich habe das Buch auf der Suche nach Tricks für eine neue Skriptsprache durchgelesen.
Es fängt mit einem pretty-printer an und endet mit einem - weitgehend vollständigen - LL(1) Pascal Compiler. In jeden Schritt präsentiert der Autor den vollständigen sehr gut dokumentierten und lesbaren C++ Kode (und nicht nur einzelne Kode-Fragemente). Der C++ Stil ist "C with Classes". Der Author verzichtet z.B. auf Templates, Exceptions und die STL. Wobei ich mir nicht mehr sicher bin, ob es diese C++ Features im Erscheinungsjahr (1996) überhaupt schon gab. Meines Erachtens würden sie sie den Kode aber nicht besser, sondern nur ineffizienter machen.
Die schrittweise Einführung erzeugt notwendiger Weise etwas Redundanz. Das Buch hat 840 Seiten. N.Wirth: Compilerbau hat - bei vergleichbaren Inhalt - 120 Seiten. Wirth ist dafür extra-dry.
LL(1) vulgo Recursive-Descent ist nicht so mächtig wie die von YACC/Bison unterstütze LR() Grammatik. Für DSLs ist das wesentlich einfachere LL(1) aber vollkommen ausreichend. Als Alternative bietet sich dass LL(*) Compiler Tool ANTLR an.
Ich habe in dem Buch tatsächlich ein paar nette Tricks gelernt. Das einzige was mir am Design nicht gefallen hat war die Implementierung der Symboltabelle als Binärbaum. Das kann man viel einfacher als Tabelle realisieren. Der Geschwindikeitsunterschied ist bei modernen Prozessoren irrelevant. Die mit Abstand zeitraubenste Routine ist das Einlesen des Programmierkodes von der Festplatte bzw die - im Buch nicht behandelte - Optimierung. Wenn man den Zugriff aber schon unbedingt beschleunigen will, muss man es als Hashtabelle implementieren. Binärbäume sind ausserdem nur bei relativ zufälligem Input eine gute Datenstruktur. Variablennamen in einem Programm sind aber alles andere als zufällig (ein Problem mit dem auch Hashtabellen zu kämpfen haben). Für DSLs die maximal ein paar 100 Zeilen lang sind, ist das aber alles vollkommen unnötiger Firlefanz.
Kommentar Anmerkungen (2) | Kommentar als Link | War diese Rezension für Sie hilfreich? Ja Nein (Rezension unzumutbar?)


Sagen Sie Ihre Meinung zu diesem Artikel: Eigene Rezension erstellen
 
 
 
Die neuesten Kundenrezensionen

5.0 von 5 Sternen Great Introduction
This is a good introduction for people with no previous knowledge of writing a compiler. I recommend good working knowledge of C++; and if you know Pascal, you're even better... Lesen Sie weiter...
Veröffentlicht am 23. März 2000 von K. P. ALBRECHT

5.0 von 5 Sternen A fine book on compiler construction using C++.
This book gives a very detailed discussion of how to write a compiler using C++. As such it could function as a supplementary textbook for a course in compilers or as one for an... Lesen Sie weiter...
Am 30. August 1999 veröffentlicht

5.0 von 5 Sternen Excellent
This is one of the finest books on compiler design that I have read.

The greatest thing about this book is author's writing style, conceptual integrity and a balance between... Lesen Sie weiter...

Am 12. Juli 1999 veröffentlicht

4.0 von 5 Sternen Good, Maybe a little too focused on one solution.
The book describes step-by-step how the author would write a compiler for PASCAL. It could do with some more explanations of the logic behind some of the decisions,as it tends to... Lesen Sie weiter...
Veröffentlicht am 16. Juni 1999 von gary.bell@cad.shorts.co.uk

Nur in den Rezensionen zu diesem Produkt suchen



Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen. Meinungen austauschen. Neues erfahren.
Neue Diskussion starten
Thema:
Erster Beitrag:
Eingabe des Log-ins
 


Aktive Diskussionen in ähnlichen Foren
   
Ähnliche Foren


Ähnliche Artikel finden


Anhand des Sachgebietes nach ähnlichen Produkten suchen:


Ihr Kommentar


Für Sie dokumentiert

 (Was ist das?)

Sobald Sie sich Produktseiten oder Suchergebnisse angesehen haben, finden Sie diese Seiten zu Ihrer Information hier aufgeführt.