summaryrefslogtreecommitdiff
path: root/usr/gri/gosrc
AgeCommit message (Collapse)AuthorFilesLines
2009-05-15get rid of unused files in my home dirRobert Griesemer4-46/+0
TBR=r DELTA=9270 (0 added, 9270 deleted, 0 changed) OCL=28958 CL=28958
2009-01-29- removed obsolete files from repositoryRobert Griesemer19-5618/+0
(most of this has been integrated into pretty, the rest has been archived). R=r OCL=23842 CL=23842
2009-01-20delete exportRuss Cox20-183/+183
TBR=r OCL=23121 CL=23127
2009-01-16casify, cleanup sysRuss Cox4-17/+17
R=r OCL=22978 CL=22984
2009-01-06- make code in gosrc compile again, check in all pending changesRobert Griesemer15-535/+785
(this code doesn't match the existing language at this point, but it's a large code base which compiles - will eventually go away) - enable compilation of it again in run.bash R=r DELTA=1147 (534 added, 311 deleted, 302 changed) OCL=22176 CL=22176
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox9-257/+257
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-10-20- removed double-declaration of len()Robert Griesemer1-5/+0
R=r OCL=17463 CL=17463
2008-10-07remove uses of *T as an implicit forward declaration of TRuss Cox1-2/+7
R=gri,r OCL=16648 CL=16652
2008-10-07update code to follow new semicolon rules:Russ Cox1-12/+12
* 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
2008-09-19- fix for out-of-bounds error found by rscRobert Griesemer1-1/+1
- removed tests that may have wrong Go code from Makefile R=r OCL=15532 CL=15532
2008-09-18- fixed old test cases with wrong syntaxRobert Griesemer2-12/+2
- added more test cases to Makefile - fixed another parser issue (possibly a 6g bug - to be tracked down) R=r OCL=15516 CL=15516
2008-09-17- updated printing of chan typesRobert Griesemer1-5/+3
R=r OCL=15448 CL=15448
2008-09-17- changed my scanner/parser to accept new channel syntaxRobert Griesemer3-48/+30
R=r OCL=15439 CL=15439
2008-09-12- updated code to work again with latest 6g versionRobert Griesemer1-5/+5
R=r OCL=15235 CL=15235
2008-09-11- fixed missing return issuesRobert Griesemer2-2/+9
R=r OCL=15168 CL=15168
2008-09-08- adjust my code and tests to new function syntaxRobert Griesemer4-23/+23
R=r OCL=14939 CL=14941
2008-09-02- adjusted my submitted code to work with latest compiler changesRobert Griesemer2-3/+3
R=r OCL=14734 CL=14734
2008-08-11- changed go-in-go parser to require ()'s for panic and printRobert Griesemer13-182/+166
- 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- allow reserved words as field and method namesRobert Griesemer7-48/+46
R=r OCL=14102 CL=14102
2008-08-11- experiments with forward-declaring types of non-imported packagesRobert Griesemer9-133/+162
- adjusted switch syntax (no repeated case: case: anymore) - enabled some constant expressions that work now R=r OCL=14098 CL=14098
2008-08-11- more steps towards automatic recursive compilation of dependenciesRobert Griesemer14-296/+431
- make forward declarations of types match 6g - better factoring R=r OCL=14059 CL=14059
2008-08-07first primitive cut at resolving missing imports automatically:Robert Griesemer8-69/+207
if an import file is missing, the corresponding source is compiled automatically, if found R=r OCL=13990 CL=13990
2008-08-06- implement scanner token stream via channelRobert Griesemer6-7/+67
- change test_scanner to scan using both methods - add -pscan flag to Go front-end to choose between conventional synchronous or parallel asynchronous scanning R=r OCL=13937 CL=13937
2008-08-06snapshot of today's changes - more semantic testsRobert Griesemer4-51/+151
R=r OCL=13932 CL=13932
2008-08-05- added more semantic checks - more to comeRobert Griesemer7-112/+362
- distinguish float/int literals syntactically - fixed a tracing bug R=r OCL=13906 CL=13906
2008-08-05- fixed another export bugRobert Griesemer8-115/+186
- more self-verification code R=r OCL=13894 CL=13894
2008-08-04- switch to new export syntaxRobert Griesemer15-116/+81
- deprecate old syntax in this front-end (use -6g for compatibility) R=r OCL=13831 CL=13833
2008-08-04- import/export cleanup: added comments, removed dead code, re-org structureRobert Griesemer4-172/+163
R=r OCL=13816 CL=13816
2008-08-04- more import/export stuffRobert Griesemer10-113/+74
- use new export syntax R=r OCL=13807 CL=13807
2008-08-01- simplified handling of primary types (types w/ names which mustRobert Griesemer4-60/+67
be canonicalized upon import) - missed some exports R=r OCL=13733 CL=13733
2008-08-01more import/export stuff:Robert Griesemer5-53/+47
- 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- added import/export test casesRobert Griesemer4-0/+42
R=r OCL=13723 CL=13723
2008-07-31fixed bug in FixExt routineRobert Griesemer1-1/+1
R=r OCL=13695 CL=13695
2008-07-31- backward link from objs to containing scopeRobert Griesemer7-71/+150
(first step towards cleaner package handling) - check that map, function, and channel vars are pointers R=r OCL=13690 CL=13690
2008-07-31- fixed a bug w/ exports (wrong package info)Robert Griesemer9-18/+52
- keep track of type alias (type T1 T0) so we can print the proper type name R=r OCL=13688 CL=13688
2008-07-30- added missing fileRobert Griesemer1-0/+114
R=r OCL=13681 CL=13681
2008-07-30- fixed import bug (import "...")Robert Griesemer9-105/+156
- better debugging support - removed dead code R=r OCL=13680 CL=13680
2008-07-30various fixes:Robert Griesemer10-130/+151
- 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- addded interface pretty printerRobert Griesemer4-26/+299
R=r OCL=13646 CL=13646
2008-07-29- import and export code, bug fixesRobert Griesemer8-114/+362
- almost back to where I was in C++, but now all in Go R=r OCL=13627 CL=13627
2008-07-29- handling of pointer forward declsRobert Griesemer3-78/+101
- some comments added to bug cases - added notes R=r OCL=13543 CL=13543
2008-07-25Experiments with "export":Robert Griesemer2-26/+42
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- more work on SimpleStat productionRobert Griesemer2-47/+92
R=r OCL=13461 CL=13461
2008-07-24- fixed several parser issuesRobert Griesemer3-72/+185
R=r OCL=13441 CL=13441
2008-07-23- parsing support for composite literalsRobert Griesemer1-5/+81
R=r OCL=13394 CL=13394
2008-07-23- more work on semantic checks - not yet enabled by defaultRobert Griesemer7-89/+233
R=r OCL=13391 CL=13391
2008-07-18- scanner returns now triple (tok, tok_pos, tok_val)Robert Griesemer6-111/+110
- initial try-out of AST data structures - removed test_parser (not working anymore - parser needs more infrastructure) SVN=128089
2008-07-18- missing changes from prev. commitRobert Griesemer1-4/+8
SVN=128064
2008-07-18- made initial export workRobert Griesemer5-49/+366
- added code for importing (not tested) - various fixes SVN=128061
2008-07-17- more front-end stuff: hooking up packages, preparing for exportsRobert Griesemer6-63/+107
SVN=127931