Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-09-25 | Snapshot. | Robert Griesemer | 4 | -57/+128 | |
Added support for function literals, composite literals. Bug fixes. R=r OCL=15911 CL=15911 | |||||
2008-09-25 | - more missing constructs added | Robert Griesemer | 5 | -103/+217 | |
- removed excessive ";"'s - no ()'s around expressions where not needed - parser.go now reproduced and parseable again R=r OCL=15881 CL=15881 | |||||
2008-09-25 | snapshot: more pretty printer stuff | Robert Griesemer | 3 | -87/+125 | |
R=r OCL=15863 CL=15863 | |||||
2008-09-24 | - added names to result signatures to make it compile with gccgo | Robert Griesemer | 2 | -7/+14 | |
- adjusted the makefile to explicitly compile flag.go and fmt.go for gccgo R=r OCL=15822 CL=15822 | |||||
2008-09-24 | - more ast buidling and printing | Robert Griesemer | 3 | -187/+517 | |
- almost complete language reproduced R=r OCL=15801 CL=15801 | |||||
2008-09-23 | - added initial formatting: indentation | Robert Griesemer | 3 | -63/+165 | |
- more AST nodes built and printed R=r OCL=15735 CL=15735 | |||||
2008-09-23 | - snapshot of pretty printer status | Robert Griesemer | 4 | -193/+495 | |
- parts of AST built and printed - no formatting yet R=r OCL=15727 CL=15727 | |||||
2008-09-23 | - added gccgo makefile | Robert Griesemer | 2 | -1/+57 | |
R=r OCL=15693 CL=15695 | |||||
2008-09-22 | - first cut at building and printing AST | Robert Griesemer | 5 | -90/+264 | |
R=r OCL=15675 CL=15675 | |||||
2008-09-19 | - heuristics for parsing composite literals in some cases | Robert Griesemer | 1 | -12/+33 | |
- fixed result parsing of function types R=r OCL=15585 CL=15585 | |||||
2008-09-19 | - simplified parser by better factoring | Robert Griesemer | 2 | -65/+52 | |
R=r OCL=15539 CL=15542 | |||||
2008-09-19 | - fix for out-of-bounds error found by rsc | Robert Griesemer | 3 | -4/+2 | |
- removed tests that may have wrong Go code from Makefile R=r OCL=15532 CL=15532 | |||||
2008-09-18 | - fixed another parser bug, now correctly parse more tests | Robert Griesemer | 1 | -1/+3 | |
R=r OCL=15518 CL=15518 | |||||
2008-09-18 | - fixed old test cases with wrong syntax | Robert Griesemer | 4 | -15/+7 | |
- 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-18 | - fixed bug which prevented parser.go from compiling | Robert Griesemer | 4 | -26/+42 | |
(typo in ptr decl lead to an unresolved forward declaration) - fixed parser bugs - fixed Makefile - now successfully parses most code Issues: - composite literals (cannot be identified easily from syntax alone) - new(T, ...) (cannot be identified easily from syntax alone since new is not a keyword and thus could be a different function then the allocation function at which point "new((x + y))" is legal, but the inner "(x" looks like the beginning of a function type) R=r OCL=15515 CL=15515 | |||||
2008-09-18 | First cut at a Go pretty printer: | Robert Griesemer | 8 | -0/+2379 | |
- code scavenged from Go-in-Go front-end (will merge back) - using "symbol-table" free parsing to build AST - no printing yet R=r OCL=15504 CL=15504 | |||||
2008-09-17 | - updated printing of chan types | Robert Griesemer | 1 | -5/+3 | |
R=r OCL=15448 CL=15448 | |||||
2008-09-17 | - changed my scanner/parser to accept new channel syntax | Robert Griesemer | 3 | -48/+30 | |
R=r OCL=15439 CL=15439 | |||||
2008-09-12 | - updated code to work again with latest 6g version | Robert Griesemer | 1 | -5/+5 | |
R=r OCL=15235 CL=15235 | |||||
2008-09-11 | - fixed missing return issues | Robert Griesemer | 2 | -2/+9 | |
R=r OCL=15168 CL=15168 | |||||
2008-09-08 | - adjust my code and tests to new function syntax | Robert Griesemer | 4 | -23/+23 | |
R=r OCL=14939 CL=14941 | |||||
2008-09-02 | - adjusted my submitted code to work with latest compiler changes | Robert Griesemer | 2 | -3/+3 | |
R=r OCL=14734 CL=14734 | |||||
2008-08-11 | - changed go-in-go parser to require ()'s for panic and print | Robert Griesemer | 13 | -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 names | Robert Griesemer | 7 | -48/+46 | |
R=r OCL=14102 CL=14102 | |||||
2008-08-11 | - experiments with forward-declaring types of non-imported packages | Robert Griesemer | 9 | -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 dependencies | Robert Griesemer | 14 | -296/+431 | |
- make forward declarations of types match 6g - better factoring R=r OCL=14059 CL=14059 | |||||
2008-08-07 | first primitive cut at resolving missing imports automatically: | Robert Griesemer | 8 | -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 channel | Robert Griesemer | 6 | -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-06 | snapshot of today's changes - more semantic tests | Robert Griesemer | 4 | -51/+151 | |
R=r OCL=13932 CL=13932 | |||||
2008-08-05 | - added more semantic checks - more to come | Robert Griesemer | 7 | -112/+362 | |
- distinguish float/int literals syntactically - fixed a tracing bug R=r OCL=13906 CL=13906 | |||||
2008-08-05 | - fixed another export bug | Robert Griesemer | 8 | -115/+186 | |
- more self-verification code R=r OCL=13894 CL=13894 | |||||
2008-08-04 | - switch to new export syntax | Robert Griesemer | 15 | -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 structure | Robert Griesemer | 4 | -172/+163 | |
R=r OCL=13816 CL=13816 | |||||
2008-08-04 | - more import/export stuff | Robert Griesemer | 10 | -113/+74 | |
- use new export syntax R=r OCL=13807 CL=13807 | |||||
2008-08-01 | - simplified handling of primary types (types w/ names which must | Robert Griesemer | 4 | -60/+67 | |
be canonicalized upon import) - missed some exports R=r OCL=13733 CL=13733 | |||||
2008-08-01 | more import/export stuff: | Robert Griesemer | 5 | -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 cases | Robert Griesemer | 4 | -0/+42 | |
R=r OCL=13723 CL=13723 | |||||
2008-07-31 | fixed bug in FixExt routine | Robert Griesemer | 1 | -1/+1 | |
R=r OCL=13695 CL=13695 | |||||
2008-07-31 | - backward link from objs to containing scope | Robert Griesemer | 7 | -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 Griesemer | 9 | -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 file | Robert Griesemer | 1 | -0/+114 | |
R=r OCL=13681 CL=13681 | |||||
2008-07-30 | - fixed import bug (import "...") | Robert Griesemer | 9 | -105/+156 | |
- better debugging support - removed dead code R=r OCL=13680 CL=13680 | |||||
2008-07-30 | various fixes: | Robert Griesemer | 10 | -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 printer | Robert Griesemer | 4 | -26/+299 | |
R=r OCL=13646 CL=13646 | |||||
2008-07-29 | - import and export code, bug fixes | Robert Griesemer | 8 | -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 decls | Robert Griesemer | 3 | -78/+101 | |
- some comments added to bug cases - added notes R=r OCL=13543 CL=13543 | |||||
2008-07-25 | Experiments with "export": | Robert Griesemer | 2 | -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 production | Robert Griesemer | 2 | -47/+92 | |
R=r OCL=13461 CL=13461 | |||||
2008-07-24 | - fixed several parser issues | Robert Griesemer | 3 | -72/+185 | |
R=r OCL=13441 CL=13441 | |||||
2008-07-23 | - parsing support for composite literals | Robert Griesemer | 1 | -5/+81 | |
R=r OCL=13394 CL=13394 |