I too would like to see the source-code for early Macintosh
applications like Word; Microsoft's early use of a "P-code"
intermediary was known at the time but as could be expected no details
were available. In the early 1980s we were solidly entrenched with the
UCSD p-System and we were a little surprised that Microsoft used
p-code since Apple made strong representations about their use of
Lisa-based cross-compilers and native-code generation for Macintosh.
These days we get snippets like this:
http://www.memecentral.com/mylife.htm
But Charles's mission was to compete against the surprisingly
successful VisiCalc, the first spreadsheet program. He was to develop
Microsoft's spreadsheet, a project code-named "EP" (for "Electronic
Paper") and later marketed as Microsoft Multiplan. That task he
entrusted to Doug Klunder, programmer extraordinaire, who would go on
to lead the development of the unmatched Excel after Multiplan's
lukewarm market reception in the face of Lotus 1-2-3.
I had a slightly different mission. I was to write the so-called
"p-code C compiler" that was crucial to Charles's business strategy.
His strategy came to be known as the Revenue Bomb.
Here's how the Revenue Bomb worked. You would list all the different
business products that Microsoft would develop on the horizontal axis.
On the vertical axis, you would list all the different personal
computers that were coming out from the dozens of hardware
manufacturers. The p-code C compiler, which I named "CS" and which was
used for more than ten years to develop Microsoft application
software, would allow us to create separate versions of each product
very easily for each of the different machines.
What we didn't realize -- nor did most people in those days -- was
that there wouldn't be dozens of different PC architectures competing
for the market. There would soon be only two: IBM's and Apple's
Macintosh. But CS gave Microsoft the upper hand for many years in
developing Mac and IBM applications hand-in-hand.
I spent my first summer at Microsoft writing CS, then returned the
next summer to work on a secret new project. It was to be a modest
word-processor to serve as an inexpensive entree to the business
software market. By getting people used to our user interface, they
would then be able to easily learn Multiplan and our future business
products: Chart and File among them. By October of 1983, when Word
Shipped, we had more than 30 programmers and one marketing guy in the
now-getting-serious Applications Division. The problem was, Multiplan
was already done and its user interface was already out there. I had
to be compatible with it. My mission: write the world's first
wordprocessor with a spreadsheet user-interface.