How is a compiler written

W

Walter Bright

Keith Thompson said:
Walter Bright said:
Keith Thompson said:
[...]
(*) Caveat: I haven't done exhaustive testing of other compiler
preprocessors, but one example that often fails on otherwise
excellent implementations is the example in the Standard
itself. It's very perverse, and nobody would expect to see such
cases in real code, so it isn't important.

Which example are you referring to?

C99 6.10.3.5 Example 3.

FWIW, "gcc -E" (gcc 3.4.4) gets this right -- or at least agrees
with the standard.

Congrats are then due to the gcc developers!
 
M

Mabden

Mike Wahler said:
Analysis of 'the_cacc':

1. No constructive contributions here. Ever.

2. Attacks someone whose participation here
has long been proven quite valuable to all
who are interested in C.

3. Top posts.

4. Is rude and vulgar.

*PLONK*

Hmmm... those things are bad?!

Well, someone could have told ME!!!
 
M

Mike Wahler

Mabden said:
Hmmm... those things are bad?!

Of course the concept of 'bad' is subjective.
I've removed one practitioner of those things
from my universe. Something (perhaps a desire
to share that cool plonking sound) caused me to
announce the action.
Well, someone could have told ME!!!

I just did. :)

-Mike
 
M

Mabden

Mike Wahler said:
Of course the concept of 'bad' is subjective.
I've removed one practitioner of those things
from my universe. Something (perhaps a desire
to share that cool plonking sound) caused me to
announce the action.

Where does that sound come from? Is it the sound of a largish stone
dropping into a toilet? That's what I hear, anyway (like, whenever I am
plonked, which is... all the time). I would feel bad, well worse, if
they didn't keep making new people. ;-)

And I've asked before as to the logic or mentality, if you will, of the
"*PLONK*". It seems to me that you could just quietly ignore the posts,
or refuse to answer the posts (I think I get both of these on a regular
basis - and it hurts, people, it hurts). But to announce to the world,
for all time, that "I reject you now and forever and I want you and the
World to know it!" is something I don't quite understand. Who exactly is
supposed to care? The plonkee (is that a word?) or the rest of the
world? Isn't the plonk just a version of a troll post (I'm not saying
you are one, just in general) with no content and an evil intent?!
I just did. :)

Oh shit! Does that mean I have to behave now? ;-)

Sucks for me...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,927
Members
47,469
Latest member
benny001

Latest Threads

Top