Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Bootstrapin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 19 Topic 2388 of 2508
Post > Topic >>

Re: Bootstraping compilers ?

by glen herrmannsfeldt <gah@[EMAIL PROTECTED] > Apr 21, 2008 at 09:18 PM

Torben Fgidius Mogensen wrote:
(snip)

> When writing a compiler, it is more im****tant to write it in a
> language that is suitable for writing compilers than to write it in
> the language that it compiles.  Many languages are unsuited for
> writing compilers, so by insisting on bootstrapping, you can make
> things much more complicated than necessary.
(snip)

> [But it was so cool that they wrote Fortran H in itself. -John]

Well, some parts are in assembler, I believe mostly the I/O routines
and the library (shared with Fortran G).

Also, they added bitwise logical intrinsic functions to the compiler
so that they could use them.

My favorite Fortran H story is that they used six trees for the symbol
table instead of a hash table.  In one manual IBM recommends that for
faster compilation variable names should be evenly distributed between
one and six characters long.  (No mention of using descriptive names.)

Then again, what choice did they have?  Assembler or COBOL?  Maybe
ALGOL, but PL/I wasn't ready until later.

-- glen
[The library is all assembler, the compiler itself was mostly in extended
Fortran.  And you're right, at the time the alternatives were all worse.
-John]
 




 19 Posts in Topic:
Bootstraping compilers ?
pocm@[EMAIL PROTECTED] (  2008-04-16 22:30:21 
Re: Bootstraping compilers ?
Chris Hills <chris@[EM  2008-04-18 11:45:12 
Re: Bootstraping compilers ?
pocm@[EMAIL PROTECTED] (  2008-04-22 00:07:22 
Re: Bootstraping compilers ?
David Spencer <spencer  2008-04-22 16:05:51 
Re: Bootstraping compilers ?
Hans-Peter Diettrich <  2008-04-22 20:07:33 
Re: Bootstraping compilers ?
=?ISO-8859-1?Q?Roland_Lei  2008-04-18 07:32:18 
Re: Bootstraping compilers ?
Marco van de Voort <ma  2008-04-18 19:32:59 
Re: Bootstraping compilers ?
"Damian Thomas"  2008-04-18 08:46:51 
Re: Bootstraping compilers ?
Marco van de Voort <ma  2008-04-18 19:38:29 
Re: Bootstraping compilers ?
"Christopher Glaeser  2008-04-19 23:42:06 
Re: Bootstraping compilers ?
Greg Lindahl <lindahl@  2008-04-18 14:13:55 
Re: Bootstraping compilers ?
torbenm@[EMAIL PROTECTED]  2008-04-21 10:35:52 
Re: Bootstraping compilers ?
Hans-Peter Diettrich <  2008-04-21 20:22:33 
Re: Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-21 21:18:53 
Re: Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-23 00:47:23 
Re: Fortran H, was Bootstraping compilers ?
"Comp.compilers"  2008-04-23 21:15:42 
Re: Fortran H, was Bootstraping compilers ?
=?ISO-8859-1?Q?J=FCrgen_K  2008-04-24 17:59:13 
Re: Fortran H, was Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-25 12:57:11 
Re: Fortran H, was Bootstraping compilers ?
glen herrmannsfeldt <g  2008-04-24 10:07:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 6:56:27 CDT 2008.