Where is the source code to Sage?
You can browse the complete source code to everything in Sage at http://hg.sagemath.org/. This is a web interface to the Mercurial repository. The main source files are at http://hg.sagemath.org/sage-main?cmd=manifest;manifest=-1;path=/sage/. The other directories include docs directories, the package system, etc.