From 6715358652252706120616172752bd1e1e46af6a Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 16 Dec 2008 14:45:09 -0800 Subject: [PATCH] - Add introduction section (1 page), essentially a condensed form of an earlier intro. - Updated contents section. - Removed left-over text from earlier documents. No spec changes. R=r DELTA=379 (147 added, 227 deleted, 5 changed) OCL=21312 CL=21331 --- doc/go_spec.txt | 384 +++++++++++++++++++----------------------------- 1 file changed, 152 insertions(+), 232 deletions(-) diff --git a/doc/go_spec.txt b/doc/go_spec.txt index 58c20126064..2f71c8d0aac 100644 --- a/doc/go_spec.txt +++ b/doc/go_spec.txt @@ -3,9 +3,9 @@ The Go Programming Language Specification (DRAFT) Robert Griesemer, Rob Pike, Ken Thompson ----- (December 16, 2008) +---- This document is a semi-formal specification of the Go systems programming language. @@ -15,6 +15,7 @@ This document is not ready for external review, it is under active development. Any part may change substantially as design progresses. +---- +---- + Packages ---- @@ -3168,6 +3312,8 @@ Here is a complete example Go package that implements a concurrent prime sieve: } +---- + Program initialization and execution ---- @@ -3233,229 +3379,3 @@ When main.main() returns, the program exits. TODO: is there a way to override the default for package main or the default for the function name main.main? - - -