]>
Cypherpunks repositories - gostls13.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Robert Griesemer [Fri, 18 Apr 2008 22:41:59 +0000 (15:41 -0700)]
- essentially reverted my change of yesterday with respect to char/string syntax
- fixed indentation in many places
- fixed a couple of typos
SVN=116120
Robert Griesemer [Fri, 18 Apr 2008 02:06:33 +0000 (19:06 -0700)]
- added language to document .() notation
- propose change to char/string productions: I find this easier to read
SVN=116037
Rob Pike [Fri, 18 Apr 2008 00:03:29 +0000 (17:03 -0700)]
Added discussion of new, nil, and initialization.
SVN=116022
Rob Pike [Tue, 15 Apr 2008 23:43:06 +0000 (16:43 -0700)]
Add description of how compiling and linking handle dependencies.
SVN=115807
Rob Pike [Thu, 3 Apr 2008 23:59:46 +0000 (16:59 -0700)]
remove noisy print
SVN=114939
Rob Pike [Thu, 3 Apr 2008 23:38:21 +0000 (16:38 -0700)]
Add a rudimentary vector container to ameliorate the inability to allocate dynamic arrays.
SVN=114931
Rob Pike [Thu, 3 Apr 2008 04:32:39 +0000 (21:32 -0700)]
make digits a string instead of an array of bytes.
use string* to pass it around.
SVN=114795
Ken Thompson [Thu, 3 Apr 2008 03:23:01 +0000 (20:23 -0700)]
generate an error if the foreward
declaration of a func does not exactly
match the actual (or another foreward)
declaration. the reason is that when
there are 2 declarations of a function,
the names of the parameters are taken
from the first. thus
func x(a int);
followed by
func x(b int) { ... }
will have the parameter named "a" and
"b" will be undefined.
SVN=114788
Ken Thompson [Tue, 1 Apr 2008 19:48:20 +0000 (12:48 -0700)]
bug36
fixed error in symbol table in
the second forward declaration of
a function.
SVN=114572
Ken Thompson [Tue, 1 Apr 2008 02:19:37 +0000 (19:19 -0700)]
code to assign nil to an interface
without conversions
SVN=114453
Ken Thompson [Mon, 31 Mar 2008 18:50:47 +0000 (11:50 -0700)]
bug31
failed to correctly convert from pointer
to interface in a return statement.
moved ANY from a special type in
chan/map to a basic type.
SVN=114350
Ken Thompson [Sat, 29 Mar 2008 23:27:12 +0000 (16:27 -0700)]
bug28
fix code generation bug in
second index of string slice.
SVN=114255
Ken Thompson [Sat, 29 Mar 2008 22:37:38 +0000 (15:37 -0700)]
fix bug30
automatic declaration leaking
from one function to another
SVN=114252
Ken Thompson [Fri, 28 Mar 2008 22:08:58 +0000 (15:08 -0700)]
SVN=114213
Ken Thompson [Fri, 28 Mar 2008 20:56:47 +0000 (13:56 -0700)]
SVN=114204
Ken Thompson [Fri, 28 Mar 2008 20:41:41 +0000 (13:41 -0700)]
SVN=114202
Rob Pike [Fri, 28 Mar 2008 05:11:10 +0000 (22:11 -0700)]
add script to generate .html from .txt
SVN=114148
Rob Pike [Fri, 28 Mar 2008 04:42:25 +0000 (21:42 -0700)]
Add select statement
SVN=114147
Rob Pike [Fri, 28 Mar 2008 00:19:52 +0000 (17:19 -0700)]
Fix date stamp
SVN=114123
Rob Pike [Fri, 28 Mar 2008 00:19:17 +0000 (17:19 -0700)]
Explain goto constraints.
Add description of 'any'.
Simplify and complete syntax for literals.
SVN=114122
Rob Pike [Thu, 27 Mar 2008 07:06:21 +0000 (00:06 -0700)]
Basic formatted I/O library plus one support lib.
SVN=113977
Robert Griesemer [Wed, 26 Mar 2008 23:12:43 +0000 (16:12 -0700)]
- Make Coco/R-based parser work w/ UTF-8 encoded files even if there is
no (optional) UTF-8 marker present.
SVN=113931
Robert Griesemer [Wed, 26 Mar 2008 16:50:20 +0000 (09:50 -0700)]
- fixed my scripts
SVN=113864
Robert Griesemer [Wed, 26 Mar 2008 16:28:57 +0000 (09:28 -0700)]
- new directory structure
SVN=113851
Rob Pike [Wed, 26 Mar 2008 06:53:07 +0000 (23:53 -0700)]
update document. todo still: array and map literals; syntax for basic literals.
SVN=113815
Robert Griesemer [Thu, 20 Mar 2008 04:20:25 +0000 (21:20 -0700)]
- added extra escaped chars
SVN=113258
Robert Griesemer [Wed, 19 Mar 2008 22:45:07 +0000 (15:45 -0700)]
- Implemented simple rule for optional semicolons:
Semicolons are terminators for statements as in C,
but if followed by a "}" they are not required.
This is easy to understand and produces the desired
result for statements.
- Updated todo.txt.
SVN=113198
Rob Pike [Tue, 18 Mar 2008 02:05:07 +0000 (19:05 -0700)]
change Main, Init to lower case.
make new() take an optional expression, not expression list.
add an example for new().
SVN=112895
Rob Pike [Mon, 17 Mar 2008 04:47:38 +0000 (21:47 -0700)]
SVN=112717
Robert Griesemer [Wed, 12 Mar 2008 22:29:57 +0000 (15:29 -0700)]
- added another test
- added script to run tests
- fixed primary expression syntax in go.atg
SVN=112281
Robert Griesemer [Wed, 12 Mar 2008 22:10:10 +0000 (15:10 -0700)]
- added another test case
SVN=112273
Robert Griesemer [Wed, 12 Mar 2008 21:57:03 +0000 (14:57 -0700)]
- added more test cases
SVN=112271
Robert Griesemer [Wed, 12 Mar 2008 20:12:40 +0000 (13:12 -0700)]
- fixed typo in go_lang.txt
- changed go.atg to make optional semicolons work for statements
- expanded a test case
SVN=112242
Rob Pike [Wed, 12 Mar 2008 03:40:20 +0000 (20:40 -0700)]
examples contradicted text: '\octal' and '\hex' are fixed size
SVN=112150
Robert Griesemer [Wed, 12 Mar 2008 01:07:22 +0000 (18:07 -0700)]
- 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
Robert Griesemer [Wed, 12 Mar 2008 00:07:25 +0000 (17:07 -0700)]
- go.atg now produces a compileable C++ parser when running through coco
- added a first test case
- running make produces a runnable go parser 'go'
SVN=112127
Robert Griesemer [Tue, 11 Mar 2008 23:40:47 +0000 (16:40 -0700)]
- changed if/switch initial stat syntax to match go compiler and make
it consistent
- changed declaration syntax to match go compiler
SVN=112122
Robert Griesemer [Tue, 11 Mar 2008 23:02:46 +0000 (16:02 -0700)]
- 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
Robert Griesemer [Tue, 11 Mar 2008 21:37:16 +0000 (14:37 -0700)]
- removed CompoundStat in favor of Block
SVN=112111
Robert Griesemer [Mon, 10 Mar 2008 23:23:01 +0000 (16:23 -0700)]
- attemp to correct statement syntax
- introduced FieldDeclList and MethodDeclList
in consistency with other lists
- made labels declarations
SVN=111982
Rob Pike [Sat, 8 Mar 2008 02:01:09 +0000 (18:01 -0800)]
fix grammar for struct and interface types to make final semicolon optional
SVN=111810
Robert Griesemer [Fri, 7 Mar 2008 07:06:05 +0000 (23:06 -0800)]
- get rid of Designator terminology
SVN=111696
Robert Griesemer [Fri, 7 Mar 2008 06:40:49 +0000 (22:40 -0800)]
- added missing ''''s
SVN=111693
Rob Pike [Fri, 7 Mar 2008 06:14:17 +0000 (22:14 -0800)]
fix a few nits in the typography so HTML is right
SVN=111691
Robert Griesemer [Fri, 7 Mar 2008 06:11:51 +0000 (22:11 -0800)]
- fixed double-definition of StructType
SVN=111689
Robert Griesemer [Fri, 7 Mar 2008 05:50:28 +0000 (21:50 -0800)]
- more grammar fixes
SVN=111688
Robert Griesemer [Fri, 7 Mar 2008 05:24:57 +0000 (21:24 -0800)]
- fixed a couple of grammar errors
SVN=111685
Rob Pike [Fri, 7 Mar 2008 03:40:52 +0000 (19:40 -0800)]
add HTML formatting; use
/home/sanjay/bin/makehtml --mode=document go_lang.txt
to generate the html output.
SVN=111681
Robert Griesemer [Fri, 7 Mar 2008 02:57:03 +0000 (18:57 -0800)]
- updated docs
SVN=111669
Robert Griesemer [Thu, 6 Mar 2008 07:00:44 +0000 (23:00 -0800)]
- updated docs
SVN=111539
Robert Griesemer [Wed, 5 Mar 2008 06:23:23 +0000 (22:23 -0800)]
- renamed todo -> todo.txt
- deleted obsolote go_spec
SVN=111358
Robert Griesemer [Wed, 5 Mar 2008 06:18:16 +0000 (22:18 -0800)]
- added new, revised spec
- updated todo
SVN=111357
Robert Griesemer [Tue, 4 Mar 2008 07:08:28 +0000 (23:08 -0800)]
- added language for range statement
SVN=111200
Robert Griesemer [Mon, 3 Mar 2008 07:02:36 +0000 (23:02 -0800)]
- added language for map and channel types
- added clarifications about function types
- added open issues section
SVN=111045
Robert Griesemer [Mon, 3 Mar 2008 04:47:34 +0000 (20:47 -0800)]
Go spec starting point.
SVN=111041
Brian Kernighan [Fri, 1 Apr 1988 07:03:04 +0000 (02:03 -0500)]
last-minute fix: convert to ANSI C
R=dmr
DELTA=3 (2 added, 0 deleted, 1 changed)
Brian Kernighan [Fri, 1 Apr 1988 07:02:04 +0000 (02:02 -0500)]
convert to Draft-Proposed ANSI C
R=dmr
DELTA=5 (2 added, 0 deleted, 3 changed)
Brian Kernighan [Sun, 20 Jan 1974 05:02:03 +0000 (01:02 -0400)]
convert to C
R=dmr
DELTA=6 (0 added, 3 deleted, 3 changed)
Brian Kernighan [Wed, 19 Jul 1972 00:05:45 +0000 (19:05 -0500)]
hello, world
R=ken
DELTA=7 (7 added, 0 deleted, 0 changed)