Robert Griesemer
6837c5927f
- initial better error reporting
...
SVN=126578
2008-07-09 16:23:48 -07:00
Rob Pike
92bb676290
build packages automatically
...
SVN=126577
2008-07-09 16:09:48 -07:00
Rob Pike
12c81a0ce8
enable autolib
...
handle archives with __.PKGDEF elements (although we can't create them yet)
introduce a pkg directory
search the pkg directory for packages during compilation
SVN=126574
2008-07-09 16:05:03 -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
Ken Thompson
7b454bb1d9
defined external registers g and m
...
SVN=126521
2008-07-09 11:35:26 -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
Ken Thompson
77e20e8cec
converted double to float64
...
SVN=126446
2008-07-08 20:48:41 -07:00
Robert Griesemer
8e4ee0045f
- more work on Go parser
...
- added tests
SVN=126439
2008-07-08 18:37:31 -07:00
Rob Pike
41b9617be4
fix ldexp, frexp, and make math package compile and test correctly
...
SVN=126423
2008-07-08 17:26:10 -07:00
Ken Thompson
4528854308
unique import/export names
...
more on go statement
SVN=126421
2008-07-08 17:19:17 -07:00
Robert Griesemer
c40be3b1e7
- go parser parses itself
...
SVN=126408
2008-07-08 16:39:04 -07:00
Robert Griesemer
6def94ad83
- added missing keyword 'iota'
...
SVN=126397
2008-07-08 16:01:10 -07:00
Rob Pike
c685e1b70d
add a disclaimer
...
SVN=126379
2008-07-08 14:52:48 -07:00
Rob Pike
655c281303
disambiguate typedefs in export blocks of .6 files
...
SVN=126366
2008-07-08 14:20:04 -07:00
Rob Pike
6810f39edf
test update. also remove two duplicates
...
SVN=126336
2008-07-08 12:22:21 -07:00
Rob Pike
c38391ad7b
test update. some tests now run; no change to output
...
SVN=126328
2008-07-08 11:30:20 -07:00
Rob Pike
6db99de606
add bytestorune and stringtorune to sys.
...
SVN=126321
2008-07-08 10:36:43 -07:00
Rob Pike
5352306f10
fixed three-way decl
...
SVN=126254
2008-07-07 18:07:31 -07:00
Ken Thompson
1d31a25d83
more coroutine
...
fixed a,b,c := x,x,x
SVN=126250
2008-07-07 17:59:32 -07:00
Rob Pike
f86c6f673e
k,l,m := 0,0,0 doesn't compile
...
SVN=126247
2008-07-07 17:52:44 -07:00
Robert Griesemer
835cd46941
- first cut a Go parser in Go
...
SVN=126242
2008-07-07 17:27:14 -07:00
Ken Thompson
999b12c768
remove incorrect (!) consts
...
-r
SVN=126198
2008-07-07 15:00:12 -07:00
Rob Pike
5b904a3bde
update to Unicode 5
...
SVN=126184
2008-07-07 14:07:46 -07:00
Ken Thompson
0d079a5362
start of coroutine
...
SVN=126152
2008-07-07 12:29:26 -07:00
Rob Pike
c0eb70265d
bug update
...
SVN=126121
2008-07-07 10:17:52 -07:00
Rob Pike
bf14ef61fc
test cleanup
...
SVN=126120
2008-07-07 10:03:10 -07:00
Ken Thompson
caa7193c95
took out vlong/uvlong/rune conversions
...
SVN=126053
2008-07-06 11:20:44 -07:00
Ken Thompson
4d6d4e7f4e
random little bugs
...
SVN=126049
2008-07-05 17:43:25 -07:00
Ken Thompson
417a971f9a
output args declared
...
arguments in first block for diagnostics
thomo return
better syntax error recovery
SVN=126045
2008-07-05 12:49:25 -07:00
Ken Thompson
ac5a887d5d
floating point print
...
SVN=126038
2008-07-04 18:01:35 -07:00
Rob Pike
b0273023f6
one bug fixed
...
SVN=126006
2008-07-03 18:10:54 -07:00
Robert Griesemer
65269ccd3d
- more work on Go scanner
...
SVN=126004
2008-07-03 18:07:03 -07:00
Ken Thompson
1efa6a0544
better recovery after syntax error
...
SVN=126003
2008-07-03 18:05:20 -07:00
Ken Thompson
81b325db1b
a,b := fun()
...
SVN=125998
2008-07-03 17:41:05 -07:00
Rob Pike
787cdc65f7
improved iota test for new form
...
SVN=125995
2008-07-03 17:16:08 -07:00
Robert Griesemer
ba25fe80a2
- minor update
...
SVN=125989
2008-07-03 16:51:22 -07:00
Rob Pike
3a613be75e
fix some tests
...
SVN=125987
2008-07-03 16:48:59 -07:00
Ken Thompson
d915b96100
new iota
...
SVN=125984
2008-07-03 16:41:32 -07:00
Robert Griesemer
b43ad96ed6
- filed a bug w/ constant evaluation
...
SVN=125966
2008-07-03 15:16:51 -07:00
Rob Pike
add9c8cc18
fix typo in file name
...
SVN=125964
2008-07-03 15:16:17 -07:00
Rob Pike
ef12ae4631
drop some superfluous file prefixes in runtime
...
SVN=125956
2008-07-03 13:42:04 -07:00
Robert Griesemer
de5442893d
A small but powerful change in constant declarations. Proposal by ken
...
after some discussion about enums. Implementation should be trivial.
Wording in the doc should be improved, probably.
SVN=125946
2008-07-03 13:19:07 -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
Robert Griesemer
8b45c369fb
- filed a bug
...
SVN=125596
2008-07-01 18:06:00 -07:00
Robert Griesemer
ceb01373bc
- more minor fixes
...
SVN=125574
2008-07-01 17:18:28 -07:00
Robert Griesemer
27b4b2e4d3
- fixed .x file permissions
...
- implemented -strict mode if statement
- added readfile() to sys pkg
- removed outdated sys.go
SVN=125572
2008-07-01 16:48:31 -07:00
Robert Griesemer
bc8ef4d526
- minor update
...
SVN=125471
2008-07-01 09:02:04 -07:00