Robert Griesemer
683ded80c9
- changed go-in-go parser to require ()'s for panic and print
...
- adjusted much of the existing go code
- missing: tests
R=r
DELTA=229 (1 added, 17 deleted, 211 changed)
OCL=14103
CL=14103
2008-08-11 21:20:42 -07:00
Robert Griesemer
58ba20b5a2
- allow reserved words as field and method names
...
R=r
OCL=14102
CL=14102
2008-08-11 20:40:37 -07:00
Robert Griesemer
40c93a5238
- experiments with forward-declaring types of non-imported packages
...
- adjusted switch syntax (no repeated case: case: anymore)
- enabled some constant expressions that work now
R=r
OCL=14098
CL=14098
2008-08-11 18:44:41 -07:00
Robert Griesemer
c7fb27f6e4
- more steps towards automatic recursive compilation of dependencies
...
- make forward declarations of types match 6g
- better factoring
R=r
OCL=14059
CL=14059
2008-08-11 09:45:40 -07:00
Robert Griesemer
bc13a1a374
first primitive cut at resolving missing imports automatically:
...
if an import file is missing, the corresponding source
is compiled automatically, if found
R=r
OCL=13990
CL=13990
2008-08-07 19:32:22 -07:00
Robert Griesemer
28547615ce
- fixed another export bug
...
- more self-verification code
R=r
OCL=13894
CL=13894
2008-08-05 15:20:58 -07:00
Robert Griesemer
7a799be49a
- switch to new export syntax
...
- deprecate old syntax in this front-end (use -6g for compatibility)
R=r
OCL=13831
CL=13833
2008-08-04 15:37:47 -07:00
Robert Griesemer
997a94294f
- import/export cleanup: added comments, removed dead code, re-org structure
...
R=r
OCL=13816
CL=13816
2008-08-04 13:27:05 -07:00
Robert Griesemer
71d50b8bf9
- more import/export stuff
...
- use new export syntax
R=r
OCL=13807
CL=13807
2008-08-04 10:19:36 -07:00
Robert Griesemer
c6eb85aecf
- simplified handling of primary types (types w/ names which must
...
be canonicalized upon import)
- missed some exports
R=r
OCL=13733
CL=13733
2008-08-01 14:50:18 -07:00
Robert Griesemer
0abbb8c76b
more import/export stuff:
...
- no need to import/export predeclared types
- fix for receiver types
- cleanups
- added tests to Makefile
R=r
OCL=13728
CL=13730
2008-08-01 13:33:31 -07:00
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
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
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
dead164cc0
- made initial export work
...
- added code for importing (not tested)
- various fixes
SVN=128061
2008-07-18 14:04:21 -07:00