Rob Pike
e4ca60eca7
change Main, Init to lower case.
...
make new() take an optional expression, not expression list.
add an example for new().
SVN=112895
2008-03-17 19:05:07 -07:00
Rob Pike
65348a89b8
SVN=112717
2008-03-16 21:47:38 -07:00
Robert Griesemer
e31ee76dcb
- fixed typo in go_lang.txt
...
- changed go.atg to make optional semicolons work for statements
- expanded a test case
SVN=112242
2008-03-12 13:12:40 -07:00
Rob Pike
8152cb8a71
examples contradicted text: '\octal' and '\hex' are fixed size
...
SVN=112150
2008-03-11 20:40:20 -07:00
Robert Griesemer
0d1e90be17
- added 'nil' keyword to lang doc
...
(did not add 'true' and 'false' because I think these don't need to be
keywords, they can be recreated from whole cloth)
- added 'new' syntax to expressions
(this is needed because of the type as 1st argument - the expression
list is probably not yet implemented, but I think we may want it
eventually)
- removed optional ';'s in sieve example - make it more concise
- fixed several bugs in go.atg, no parses sieve
- added sieve as test case
SVN=112135
2008-03-11 18:07:22 -07:00
Robert Griesemer
78e4320fdc
- changed if/switch initial stat syntax to match go compiler and make
...
it consistent
- changed declaration syntax to match go compiler
SVN=112122
2008-03-11 16:40:47 -07:00
Robert Griesemer
7acb294d58
- replaced 's in productions everywhere with "s (we were inconsistent in
...
some places)
- removed extra []'s around switch decl/tag expression - not needed
SVN=112117
2008-03-11 16:02:46 -07:00
Robert Griesemer
213702a3e6
- removed CompoundStat in favor of Block
...
SVN=112111
2008-03-11 14:37:16 -07:00
Robert Griesemer
8b212f67ff
- attemp to correct statement syntax
...
- introduced FieldDeclList and MethodDeclList
in consistency with other lists
- made labels declarations
SVN=111982
2008-03-10 16:23:01 -07:00
Rob Pike
2aae3fcbaf
fix grammar for struct and interface types to make final semicolon optional
...
SVN=111810
2008-03-07 18:01:09 -08:00
Robert Griesemer
e6626dafa8
- get rid of Designator terminology
...
SVN=111696
2008-03-06 23:06:05 -08:00
Robert Griesemer
1cf631b4c7
- added missing ''''s
...
SVN=111693
2008-03-06 22:40:49 -08:00
Rob Pike
194ed070de
fix a few nits in the typography so HTML is right
...
SVN=111691
2008-03-06 22:14:17 -08:00
Robert Griesemer
f27e5df49c
- fixed double-definition of StructType
...
SVN=111689
2008-03-06 22:11:51 -08:00
Robert Griesemer
b1d991d6fd
- more grammar fixes
...
SVN=111688
2008-03-06 21:50:28 -08:00
Robert Griesemer
5009237adb
- fixed a couple of grammar errors
...
SVN=111685
2008-03-06 21:24:57 -08:00
Rob Pike
250767174b
add HTML formatting; use
...
/home/sanjay/bin/makehtml --mode=document go_lang.txt
to generate the html output.
SVN=111681
2008-03-06 19:40:52 -08:00
Robert Griesemer
bbced02490
- updated docs
...
SVN=111669
2008-03-06 18:57:03 -08:00
Robert Griesemer
28590a0abb
- updated docs
...
SVN=111539
2008-03-05 23:00:44 -08:00
Robert Griesemer
73823d236a
- added new, revised spec
...
- updated todo
SVN=111357
2008-03-04 22:18:16 -08:00