![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#31 |
|
Programmer
Join Date: Aug 2005
Location: Norway
Posts: 56
Rep Power: 0
![]() |
I know that a Compiler-Compiler is a parser generator.
But I meant something special with Compiler-Compiler. I could set the word in qoutation marks.
__________________
Heh. |
|
|
|
|
|
#32 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4
![]() |
Alfred Aho is the best source on designing and building compilers.
This is written in English, I don't know of any translations: 'Compilers' by Alfred V Aho, et al It is a VERY good book - you can get a used copy for under $US 20. He has a new book out '21st Century compilers' - which I have not read. |
|
|
|
|
|
#33 | ||
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
Quote:
|
||
|
|
|
|
|
#34 |
|
Programmer
Join Date: Aug 2005
Location: Norway
Posts: 56
Rep Power: 0
![]() |
A Compiler especially made to make new Compilers.
I'll someday try to write something like that. I call it Compiler-Compiler. I think I have read somewhere that Pascal was written for this kind of programming.
__________________
Heh. |
|
|
|
|
|
#35 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
|
|
|
|
|
|
|
#36 |
|
Programmer
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 3
![]() |
Compiler-compiler? Lazybones.
|
|
|
|
|
|
#37 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
![]() |
|
|
|
|
|
|
#38 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Unproductiveness gained by the use of the wrong tool, or the right tool in the wrong way, has as much value as that gained by sitting on the secretary's desk and flirting. Which is to say, none; The latter is more fun and has, at least, a proper motive.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#39 | |
|
Hobbyist Programmer
Join Date: Oct 2005
Posts: 211
Rep Power: 3
![]() |
Quote:
There is always value to be gained by using duct tape to fix something </off topic> I bet you could make a true compiler compiler for a context free grammar rather easily. By specifing a format in which to produce a grammatical construct, then in line specifying it with code necessary to execute said gramatical construct a true compiler compiler could be created. -MBirchmeier |
|
|
|
|
|
|
#40 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
If we take the phrase "compiler compiler" literally, then it is merely a software that compiles compilers. In other words; a compiler. However, the phrase implies that the software is somehow specifically designed for compiling compilers. Perhaps some manner of optimisation takes place, that is crucial for compiling. Or perhaps, given a set of rules, the software works out a compilation algorithm on its own. Bleh, but it's pointless arguing over something that doesn't exist. Suffice to say that when people say "compiler compiler", usually they mean parser generators, not anything which actually compiles source code. I emphasised the misnomer only to make sure that people don't think that "compiler compilers" will help them write software that turns a parsed syntax tree into machine code. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|