Carl Eastlund
fe40d3e888
Merged changes from trunk.
...
svn: r18007
2010-02-06 19:23:24 +00:00
Robby Findler
75a60162b0
another attempt to get the drscheme gui test suite in shape to be run by drdr
...
svn: r18004
2010-02-06 17:13:49 +00:00
Eli Barzilay
3a08648dab
Added a `running' state, which is visible only from inside the
...
generator. (Also considered making it an error when the generator is
called while it is running, but that doesn't allow (yield (yield X))
fun.)
svn: r17982
2010-02-05 03:22:09 +00:00
Eli Barzilay
f1dcf49d38
Added `generator-state', implemented using a local state (which also
...
simplifies the code that raises an error from the last change).
svn: r17980
2010-02-05 03:22:04 +00:00
Eli Barzilay
505034ea26
The generator function can now be used to send values to the generator.
...
For example,
(define g (generator (yield (yield (yield 1)))))
(list (g) (g 2) (g 3) (g 4) (g) (g))
evaluates to '(1 2 3 4 4 4). This is something that Python does (as a
generator.send method), which might be useful for using generators as
co-routines, and it is actually easy to implement since sending values
is exactly what we get when the generator call is actually calling the
saved continuation. So most of the change is dealing with the
technicalities of throwing an error when the generator is called with
some arguments, when that's done after it's terminated (at the stage
where it's repeating the last value for ever).
A few tests added for this.
svn: r17979
2010-02-05 03:22:01 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
2e3ea3d0de
Merged latest changes from the trunk.
...
svn: r17974
2010-02-05 02:41:24 +00:00
Matthew Flatt
3812f8ca72
improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
...
svn: r17972
2010-02-05 00:16:06 +00:00
Sam Tobin-Hochstadt
318833f422
Add supertypes for mutable types, so that predicates work correctly.
...
svn: r17971
2010-02-04 23:39:15 +00:00
Robby Findler
1b39d29640
clean up temporary files
...
svn: r17970
2010-02-04 20:31:51 +00:00
Carl Eastlund
d7a7409fe0
Merged changes from the trunk.
...
svn: r17954
2010-02-03 15:15:11 +00:00
Robby Findler
76f41c2a1c
fixed a bug and added some race-condition insurance
...
svn: r17946
2010-02-02 21:32:20 +00:00
Robby Findler
e74e46d9ca
drdr-ized the rest of the drscheme test suite
...
svn: r17945
2010-02-02 21:06:07 +00:00
Ryan Culpepper
8d2f32efed
syntax/parse:
...
fixed bug: splicing-stxclass immediately within ellipses
added tests, docs for local-conventions
svn: r17944
2010-02-02 19:48:08 +00:00
Robby Findler
319a4a7ef0
fixed a bug revealed by drdr (but stil cant make this bad case happen on my machine, frustratingly
...
svn: r17942
2010-02-02 18:01:55 +00:00
Robby Findler
102b03311e
made the check syntax tests more drdr friendly
...
svn: r17928
2010-02-01 17:46:17 +00:00
Robby Findler
6f4c164793
improved the implementation of error in the teaching languages, added test casees
...
svn: r17923
2010-02-01 15:39:33 +00:00
Robby Findler
bf67e34e87
fixed up module language test suite for new language dialog, plus misc cleanups based on last release
...
svn: r17922
2010-02-01 15:18:28 +00:00
Carl Eastlund
2e0cb8226e
Replaced every "langauge" (note swapped vowels) with "language".
...
svn: r17918
2010-02-01 01:41:51 +00:00
Matthew Flatt
5433c57504
wrap each top-level form in a module with a prompt
...
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
e8c97a5102
more readable mandelbrot-unsafe; minor benchmark harness fixes
...
svn: r17915
2010-01-31 14:58:26 +00:00
Carl Eastlund
1d4cdbeb45
Exports from scheme/contract/private/blame: removed constructor; fixed confusing selector names.
...
svn: r17909
2010-01-31 03:03:30 +00:00
Carl Eastlund
2772ffccba
Restored legacy functions for custom contracts.
...
svn: r17900
2010-01-30 21:14:27 +00:00
Robby Findler
aa67a279ab
added a little more information
...
svn: r17899
2010-01-30 21:02:26 +00:00
Robby Findler
32faba2964
added more debugging information to try to figure out if the 'window with no button' error is a bug or not
...
svn: r17898
2010-01-30 20:53:03 +00:00
Carl Eastlund
2513e7d6e0
Merged changes from the trunk.
...
svn: r17892
2010-01-30 04:59:20 +00:00
James Swaine
68c197d02f
added basic test suite for the parallel futures module
...
svn: r17890
2010-01-29 21:44:46 +00:00
Matthew Flatt
d620177619
fix benchmark readme
...
svn: r17885
2010-01-29 17:49:25 +00:00
Matthew Flatt
42e68c8ff1
even more benchmark scaffolding
...
svn: r17884
2010-01-29 16:33:15 +00:00
Matthew Flatt
a09e671f34
allow radio-box% to have no selected buttons
...
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
2c192f5297
support inlining of procedures with rest args
...
svn: r17860
2010-01-28 01:31:37 +00:00
Matthew Flatt
980d48ce19
fix karen and psyntax benchmarks
...
svn: r17850
2010-01-27 12:56:51 +00:00
Matthew Flatt
f07c19b268
update benchmark harness
...
svn: r17840
2010-01-26 20:17:44 +00:00
John Clements
bef818b2be
test changes, goes in release 4.2.4
...
svn: r17806
2010-01-24 19:31:29 +00:00
John Clements
100fe8520d
took bad require out
...
svn: r17803
2010-01-24 18:21:56 +00:00
Matthew Flatt
4ce8dfa7da
fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
...
svn: r17802
2010-01-24 15:30:16 +00:00
John Clements
25cd6766fa
test files, for release if it matters..
...
svn: r17795
2010-01-24 07:23:59 +00:00
John Clements
a18447e970
srfi 19 tests, not for release
...
svn: r17794
2010-01-24 07:23:09 +00:00
Carl Eastlund
bd9b6e9e97
Made unit contract test regular expressions more robust.
...
svn: r17782
2010-01-23 18:31:32 +00:00
Carl Eastlund
88aba214c9
Merged changes from trunk. No conflicts.
...
svn: r17780
2010-01-23 17:44:27 +00:00
Robby Findler
5dfed472c7
svn: r17777
2010-01-23 16:03:50 +00:00
Ryan Culpepper
ef138249f4
syntax/parse: fixed bugs (thanks samth)
...
Please propagate this to the release branch.
svn: r17756
2010-01-19 21:03:51 +00:00
Carl Eastlund
e5c74e7a25
Fixed bug I introduced when changing make-proj-contract to simple-contract.
...
svn: r17744
2010-01-19 07:33:03 +00:00
Carl Eastlund
35a716d5d3
Fixed blame detection regexp.
...
svn: r17742
2010-01-19 07:14:17 +00:00
Carl Eastlund
9d7ca20eeb
Replaced guilty-party with equivalent.
...
svn: r17739
2010-01-19 06:29:15 +00:00
Carl Eastlund
888045dcf9
Replaced make-proj-contract with simple-contract in tests.
...
svn: r17737
2010-01-19 05:31:18 +00:00
Sam Tobin-Hochstadt
3fc133a0b8
Correct typing for `or'.
...
svn: r17665
2010-01-15 19:39:46 +00:00
Sam Tobin-Hochstadt
5e1b355e32
Syntax for predicates with non-empty paths
...
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
d69c96cf06
update to the final version of this code
...
svn: r17658
2010-01-14 22:09:31 +00:00
Sam Tobin-Hochstadt
104adf9c62
Types for the other `check-expect'-style forms.
...
svn: r17657
2010-01-14 21:24:47 +00:00