> The compilers share a bit of code through copy-paste.  I was wondering
> if there are any important changes in recent years that were made
> in a popularly used compiler (ie. 8[cal]) that might benefit other
> compilers (ie. k[cal])?

We do try to make the changes in all the compilers when
the changes are general, though that's no guarantee that
things haven't slipped through.

> Also, is there any documentation out there other than "How to
> Use the Plan 9 C Compiler" and "Plan 9 C Compilers" that cover
> the compilers?  I've been perusing the code and some of the
> code takes quite a while to figure out.  Some quick notes would
> go a long way (ie. "this function is a recursive tree walk that
> checks types and inserts casts").

A more detailed implementation document for any one
of the compilers is yet to be written.

More seriously, I found that matching the text in 
section 5 of /sys/doc/compiler.ps against the compiler
code was quite informative.  It would be great if
there were better documentation.

Russ

Reply via email to