Robert Griesemer
0c374e9f89
- fixed a bug w/ exports (wrong package info)
...
- keep track of type alias (type T1 T0) so we can print the proper type name
R=r
OCL=13688
CL=13688
2008-07-31 10:47:10 -07:00
Robert Griesemer
6dd92ea6cb
- fixed import bug (import "...")
...
- better debugging support
- removed dead code
R=r
OCL=13680
CL=13680
2008-07-30 21:26:15 -07:00
Robert Griesemer
1f46513917
various fixes:
...
- missing return in import code
- proper propagation of flags to various components
- better error message when source position is missing
- cleanups
R=r
OCL=13676
CL=13676
2008-07-30 17:36:03 -07:00
Robert Griesemer
6acdf3edff
- addded interface pretty printer
...
R=r
OCL=13646
CL=13646
2008-07-30 13:01:28 -07:00
Robert Griesemer
4b0b7d8dfe
- import and export code, bug fixes
...
- almost back to where I was in C++, but now all in Go
R=r
OCL=13627
CL=13627
2008-07-29 19:02:49 -07:00
Robert Griesemer
fce9118610
- handling of pointer forward decls
...
- some comments added to bug cases
- added notes
R=r
OCL=13543
CL=13543
2008-07-29 12:03:06 -07:00
Robert Griesemer
5fc7919147
Experiments with "export":
...
Allow "export" keyword in front of a declaration. Semantics:
export *top-level* identifiers declared (but not the fields
of a struct type for instance).
R=r
OCL=13464
CL=13464
2008-07-25 11:27:13 -07:00
Robert Griesemer
cf4c37cac3
- more work on SimpleStat production
...
R=r
OCL=13461
CL=13461
2008-07-25 09:35:03 -07:00
Robert Griesemer
f03deb339a
- fixed several parser issues
...
R=r
OCL=13441
CL=13441
2008-07-24 17:00:58 -07:00
Robert Griesemer
fda1d16935
- parsing support for composite literals
...
R=r
OCL=13394
CL=13394
2008-07-23 16:59:06 -07:00
Robert Griesemer
b0ada5ddf7
- more work on semantic checks - not yet enabled by default
...
R=r
OCL=13391
CL=13391
2008-07-23 16:04:11 -07:00
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
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
0e67654f94
- changed channel operators
...
- more work on packages
SVN=127671
2008-07-16 17:00:48 -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
ae905980e7
- fixed bug in parser.go
...
- added more tests
SVN=126784
2008-07-10 20:50:38 -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