This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Documentation by paper"


    You can leave out an explanation of what a dominator is and still
    be self-contained.  

Not in the sense that it has been in the past.

    What's next, do we have to explain what a finite automaton is in the
    sources of GCC?

It's always hard to know where to draw the line, but it would seem to me that
in any case where you have a finite automaton, the description of the
automaton itself would almost serve as a definition-by-example of the term.

As an example of the sort of thing I'd expect to see, look at the Bison
manual.  Not only does it not simply leave "LALR(1)" to be looked up (and
that's a much more well known term than those previously mentioned), it even
defines "context-free grammar" and "symbol".

I think that manual sets a good standard for GCC documentation and we should
do at least as much as it does.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]