1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:07:58 -07:00
Commit Graph

7 Commits

Author SHA1 Message Date
Robert Griesemer
d2490e7419 - 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
2008-03-19 15:45:07 -07:00
Robert Griesemer
3cdf9c3bff - added another test
- added script to run tests
- fixed primary expression syntax in go.atg

SVN=112281
2008-03-12 15:29:57 -07:00
Robert Griesemer
0908af75cd - added another test case
SVN=112273
2008-03-12 15:10:10 -07:00
Robert Griesemer
fcf5b15cfe - added more test cases
SVN=112271
2008-03-12 14:57:03 -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
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
18b829b472 - 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
2008-03-11 17:07:25 -07:00