| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Are there any books currently in print that describe compiler building tools other than my venerable "lex & yacc". I realize that books like the dragon book mention them as part of a description of RE lexers or LALR parsers, but I'm more interested in books like Terrence Parr's 1996 book on PCCTS or Holub's book where he reimplemented lex and yacc. I can't find any -- am I the lone survivor or am I missing some? R's, John |
|
#2
| |||
| |||
| John L wrote: > Are there any books currently in print that describe compiler building > tools other than my venerable "lex & yacc". I realize that books like the > dragon book mention them as part of a description of RE lexers or LALR > parsers, but I'm more interested in books like Terrence Parr's 1996 book > on PCCTS or Holub's book where he reimplemented lex and yacc. So you want books on tools, not on compiler construction in general. My old favorite is the LCC book, where the code generator takes a machine description and uses that in code generation. I don't remember that it uses special tools for the parser or lexer. Otherwise, for books about compilers... It seems that there is a new Aho, ... book as of Aug. 2006: http://www.amazon.com/Compilers-Prin...0664416&sr=1-1 one by Louden from 1996, which also still seems to be in print, but might use yacc. http://www.amazon.com/Compiler-Const...0664416&sr=1-3 Engineering a Compiler, Cooper & Torczon, http://www.amazon.com/Engineering-Co...0664416&sr=1-4 Advanced Compiler Design by Muchnick http://www.amazon.com/Advanced-Compi...0664416&sr=1-6 Crafting a Compiler with C, Fischer & LeBlanc http://www.amazon.com/Crafting-Compi...0664416&sr=1-7 Modern Compiler Implementation in Java, Appel & Palsberg http://www.amazon.com/Modern-Compile...0664416&sr=1-9 Those are from putting compiler into amazon.com with the category set to books. It looks like they are in print. also, The Compiler Design Handbook: Optimizations and Machine Code Generation, Second Edition by Srikant & Shankar, http://www.amazon.com/Compiler-Desig...665085&sr=1-15 I don't know more about them than from the Amazon web site, but some sound like they might be good. (though not cheap.) -- glen [Most of those books are long out of print; Amazon keeps them in the catalog in case someone wants to sell a used copy. But thanks nonetheless. -John] |
|
#3
| |||
| |||
| John L schrieb: > Are there any books currently in print that describe compiler building > tools other than my venerable "lex & yacc". I realize that books like the > dragon book mention them as part of a description of RE lexers or LALR > parsers, but I'm more interested in books like Terrence Parr's 1996 book > on PCCTS or Holub's book where he reimplemented lex and yacc. Pat Terry uses CoCo/R in his textbook: http://www.amazon.com/Compiling-C-Ja...dp/032126360X/ http://www.scifac.ru.ac.za/cspt/ http://en.wikipedia.org/wiki/Coco/R "A feature of the book is that it demonstrates the use of Coco/R to implement compilers for the JVM and CLR platforms." |
|
#4
| |||
| |||
| On Fri, 5 Sep 2008 22:17:18 +0100 (BST), John L wrote: > Are there any books currently in print that describe compiler building > tools other than my venerable "lex & yacc". I realize that books > like the > dragon book mention them as part of a description of RE lexers or LALR > parsers, but I'm more interested in books like Terrence Parr's 1996 > book > on PCCTS or Holub's book where he reimplemented lex and yacc. > > I can't find any -- am I the lone survivor or am I missing some? I presume that "The Definitive ANTLR Reference: Building Domain- Specific Languages" by Terence Parr (published by Pragmatic Programmers) is still in print since Amazon.com has it in stock. <plug> Also, our book "Generating Software from Specifications" (Kastens, Sloane, Waite - Jones and Bartlett, 2007, http://www.jbpub.com/catalog/9780763741242/) , while not specifically about building compilers, illustrates software generation using our Eli system with examples from the language processing area many of which are relevant for compiler generation. </plug> cheers, Tony |
|
#5
| |||
| |||
| On Sat, Sep 6, 2008 at 4:17 AM, John L <johnl@iecc.com> wrote: > Are there any books currently in print that describe compiler building > tools other than my venerable "lex & yacc". I realize that books like the > dragon book mention them as part of a description of RE lexers or LALR > parsers, but I'm more interested in books like Terrence Parr's 1996 book > on PCCTS or Holub's book where he reimplemented lex and yacc. > There's a newer Terrence Parr's book: http://www.pragprog.com/titles/tpant...ntlr-reference Regards, Aleksey |
|
#6
| |||
| |||
| glen herrmannsfeldt wrote: > John L wrote: > [Most of those books are long out of print; Amazon keeps them in the catalog > in case someone wants to sell a used copy. But thanks nonetheless. -John] Some were pretty recent, and amazon said were in stock, but you never know until you try to order one. Also, there are jacc and Sun's jack http://www.javaworld.com/javaworld/j...w-12-jack.html http://web.cecs.pdx.edu/~mpj/jacc/ there should be books that go with them, but I don't know the names. Also, jlex and jflex. It seems that the new Aho, Lam, Sethi, and Ullman book is used in some compiler writing in Java classes, http://www.sm.luth.se/csee/courses/d7011e/ -- glen |
|
#7
| |||
| |||
| On Sat, Sep 6, 2008 at 4:17 AM, John L <johnl@iecc.com> wrote: > Are there any books currently in print that describe compiler building > tools other than my venerable "lex & yacc". I realize that books like the > dragon book mention them as part of a description of RE lexers or LALR > parsers, but I'm more interested in books like Terrence Parr's 1996 book > on PCCTS or Holub's book where he reimplemented lex and yacc. > > I can't find any -- am I the lone survivor or am I missing some? > Although it is not exactly a book but I think the bison manual does a pretty good job. At least I learned how to use yacc-like tools with (a much earlier version of) it. http://www.gnu.org/software/bison/manual/index.html Regards, Aleksey |
|
#8
| |||
| |||
| On Sep 8, 2008, at 12:39 AM, glen herrmannsfeldt wrote: > Also, there are jacc and Sun's jack > > http://www.javaworld.com/javaworld/j...w-12-jack.html Jack was renamed JavaCC and after being licensed by various companies it's been open sourced (with a BSD license) by Sun here: https://javacc.dev.java.net/ Plug: I wrote a book on it: http://generatingparserswithjavacc.com/ and we just released v4.1, so, good times, Yours, Tom Copeland tom@infoether.com |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.