1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:00:04 -07:00
Commit Graph

34 Commits

Author SHA1 Message Date
Robert Griesemer
5a90ede8a4 - scanner returns now triple (tok, tok_pos, tok_val)
- initial try-out of AST data structures
- removed test_parser (not working anymore - parser needs more infrastructure)

SVN=128089
2008-07-18 17:18:29 -07:00
Robert Griesemer
e912c18c7c - missing changes from prev. commit
SVN=128064
2008-07-18 14:23:04 -07:00
Robert Griesemer
dead164cc0 - made initial export work
- added code for importing (not tested)
- various fixes

SVN=128061
2008-07-18 14:04:21 -07:00
Robert Griesemer
c3e9c7d106 - more front-end stuff: hooking up packages, preparing for exports
SVN=127931
2008-07-17 18:02:10 -07:00
Robert Griesemer
85303f2715 - moved struct Compilation into globals.go, adjusted deps
- bail out after > 10 errors
- fixed send/recv statements

SVN=127890
2008-07-17 15:11:46 -07:00
Robert Griesemer
d88c759e87 - moved package code into globals.go, adjusted deps
SVN=127887
2008-07-17 14:53:13 -07:00
Robert Griesemer
0e67654f94 - changed channel operators
- more work on packages

SVN=127671
2008-07-16 17:00:48 -07:00
Robert Griesemer
f550cd67e0 - more infrastructure
SVN=127430
2008-07-15 19:59:00 -07:00
Robert Griesemer
a6f87794ff - added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348
2008-07-15 15:37:14 -07:00
Robert Griesemer
0cee302802 - func reorg to reduce forward decls and improve structure
SVN=127229
2008-07-15 10:05:17 -07:00
Robert Griesemer
d9d5f3b3bc - fixed issue with parsing function literals in statement lists
SVN=127218
2008-07-15 09:22:20 -07:00
Robert Griesemer
230230c880 - no column info in error messages for Rob
- fixed parsing of function literals
- added first round of scope handling

SVN=127124
2008-07-14 18:06:41 -07:00
Robert Griesemer
fbab6ae9b5 - added universe, universe initialization
- fixed types, added missing exports, etc.

SVN=127104
2008-07-14 16:57:42 -07:00
Robert Griesemer
5a81d1f29f - more go code
SVN=126934
2008-07-11 20:15:12 -07:00
Robert Griesemer
ae905980e7 - fixed bug in parser.go
- added more tests

SVN=126784
2008-07-10 20:50:38 -07:00
Robert Griesemer
bb9d53e570 - added buildtime
SVN=126776
2008-07-10 18:46:30 -07:00
Robert Griesemer
afbf717eeb - created new dir (gosrc) for go-based front-end
- adjusted makefiles

SVN=126763
2008-07-10 18:05:00 -07:00
Robert Griesemer
72772282cd - more frontend pieces in Go
SVN=126744
2008-07-10 17:21:23 -07:00
Robert Griesemer
8be580e20d - improved error handling
SVN=126718
2008-07-10 14:42:33 -07:00
Robert Griesemer
9ec762791e - filed a bug against 6g (bug065.go)
- improved scanner.go error handling

SVN=126706
2008-07-10 13:45:02 -07:00
Robert Griesemer
e4a1fb7e94 - minor bug fix
SVN=126585
2008-07-09 17:08:20 -07:00
Robert Griesemer
6837c5927f - initial better error reporting
SVN=126578
2008-07-09 16:23:48 -07:00
Robert Griesemer
415397e3b7 - replaced recursive parsing of binary expressions with
precedence-based expression parser

SVN=126556
2008-07-09 14:48:26 -07:00
Robert Griesemer
cab94922e7 - completed parser - accepts full language (modulo bugs)
SVN=126551
2008-07-09 14:01:17 -07:00
Robert Griesemer
1e9adf8228 - more fixes to parser
SVN=126511
2008-07-09 10:45:04 -07:00
Robert Griesemer
33069d39b6 - fixed scanner and parser issues to be able to parse math lib
SVN=126501
2008-07-09 10:16:33 -07:00
Robert Griesemer
8e4ee0045f - more work on Go parser
- added tests

SVN=126439
2008-07-08 18:37:31 -07:00
Robert Griesemer
c40be3b1e7 - go parser parses itself
SVN=126408
2008-07-08 16:39:04 -07:00
Robert Griesemer
835cd46941 - first cut a Go parser in Go
SVN=126242
2008-07-07 17:27:14 -07:00
Robert Griesemer
65269ccd3d - more work on Go scanner
SVN=126004
2008-07-03 18:07:03 -07:00
Robert Griesemer
ba25fe80a2 - minor update
SVN=125989
2008-07-03 16:51:22 -07:00
Robert Griesemer
b43ad96ed6 - filed a bug w/ constant evaluation
SVN=125966
2008-07-03 15:16:51 -07:00
Robert Griesemer
ed9743dc3a - more Go scanner work
SVN=125831
2008-07-02 23:19:31 -07:00
Robert Griesemer
85728a2da7 - implemented first cut at Go scanner in Go
SVN=125785
2008-07-02 17:02:55 -07:00