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
Sam Tobin-Hochstadt
1ab2a41092
Paths for first' and
rest'
...
svn: r17654
2010-01-14 20:00:37 +00:00
Sam Tobin-Hochstadt
33592b4f6c
Typecheck `or' correctly.
...
svn: r17653
2010-01-14 19:53:28 +00:00
Ryan Culpepper
97135f112c
macro-debugger: fixed bug re local-expansion and macro hiding
...
svn: r17642
2010-01-13 23:41:23 +00:00
Jay McCarthy
a1d7945958
PR10689
...
svn: r17621
2010-01-12 21:51:35 +00:00
Matthew Flatt
331c6d2f5f
fix bignum expt (PR 10690); also fixed a doc typo
...
svn: r17614
2010-01-12 02:16:12 +00:00
Sam Tobin-Hochstadt
4fa4f6fd2d
Propogate expected type through `reverse'.
...
New loop special case for `for/list'.
svn: r17609
2010-01-11 20:48:26 +00:00
Eli Barzilay
55d4ac93b3
another case of this
...
svn: r17602
2010-01-11 06:38:19 +00:00
Eli Barzilay
384cadd579
express expected result of []s using []s, so these tests make sense for readers that use []s in a different way too
...
svn: r17601
2010-01-11 06:31:01 +00:00
Eli Barzilay
6b7c199326
* Some reorganization of code
...
* Rename `make-repeated-sequence-generator' -> `sequence->repeated-generator'
* Several tests for `sequence->generator'
svn: r17586
2010-01-09 04:45:39 +00:00
Stevie Strickland
ab3dd78cb1
Removing scheme/load I used for editing this.
...
svn: r17580
2010-01-08 21:04:21 +00:00
Stevie Strickland
1c47ecc346
Just fixing the unit testcases so that they don't error.
...
svn: r17579
2010-01-08 21:03:17 +00:00
Sam Tobin-Hochstadt
f13453e889
`andmap' now works as a predicate in Typed Scheme
...
svn: r17575
2010-01-08 19:05:58 +00:00
Stevie Strickland
ea20ee160f
Add a dummy lambda expansion to signature compilation to ensure that the
...
expressions only refer to locally-bound names or names that are part of the
signature itself.
svn: r17573
2010-01-08 18:47:51 +00:00
Stevie Strickland
9e0f2a3c5f
Identifiers in signature contracts don't use whatever prefixing or such may be
...
in play in the body of a unit, so we need to rename the "external" version to
the "internal" version. This fixes PR 10246.
svn: r17571
2010-01-08 17:20:19 +00:00
Sam Tobin-Hochstadt
05a0e722f9
use of member, memq, memv as predicates working properly
...
svn: r17568
2010-01-08 15:55:32 +00:00
Sam Tobin-Hochstadt
0d46fcb48a
Create new `typed/test-engine' collection.
...
Remove dependence of `typed-scheme' on `test-engine'.
svn: r17567
2010-01-08 15:38:17 +00:00
Jon Rafkind
b497787b89
one more name change
...
svn: r17556
2010-01-07 22:31:29 +00:00
Jon Rafkind
f5ea84cbb4
add infinite-generator macro. change name infinite to make-repeat-generator
...
svn: r17555
2010-01-07 22:28:37 +00:00
Sam Tobin-Hochstadt
b7f9899439
`member' can now be used a predicate.
...
svn: r17554
2010-01-07 22:11:54 +00:00
Jon Rafkind
9fc7b4c445
add infinite generator test
...
svn: r17553
2010-01-07 21:54:07 +00:00
Sam Tobin-Hochstadt
eaad64d612
Better error message for functions that don't have the same arity as
...
the expected.
Add some tests for errors.
svn: r17551
2010-01-07 21:45:57 +00:00
Sam Tobin-Hochstadt
08457d35e3
Improve error messages in the simple case.
...
Change 'typecheck to Type Checker in error messages.
svn: r17542
2010-01-07 19:41:42 +00:00
Matthew Flatt
41261c6047
fill out fl and fx operations; repair fixnum-overflow bug in quotient
...
svn: r17524
2010-01-07 03:30:33 +00:00
Sam Tobin-Hochstadt
a8e1c829c2
Fix `type-apply'
...
Fix duplicate filters
svn: r17522
2010-01-07 00:55:51 +00:00
Sam Tobin-Hochstadt
c7cb124c95
Put dynamic behavior of `check-expect' into functions.
...
Give those functions types.
svn: r17519
2010-01-06 23:03:08 +00:00
Robby Findler
68efb4008a
normalized the results of procedure-arity
...
svn: r17504
2010-01-06 19:34:29 +00:00
Sam Tobin-Hochstadt
ac9d2d8d9e
Support prefab struct literals in quasipatterns.
...
Fixes PR 10050.
svn: r17495
2010-01-06 16:41:17 +00:00
Matthew Flatt
6151119d5e
JIT tweak for flonum comparisons; better bytecode-compiler transformations for expressions used as branch tests
...
svn: r17486
2010-01-05 20:24:59 +00:00
Matthew Flatt
3902824d88
adjust inlining algorithm again; better JIT compilation of nested branches; better JIT handling of literal floating-point numbers
...
svn: r17484
2010-01-05 15:13:03 +00:00
Sam Tobin-Hochstadt
b802c7dfd0
Fix PR 10140
...
svn: r17473
2010-01-04 01:12:58 +00:00
Matthew Flatt
38d7e8fea2
built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
...
svn: r17461
2010-01-02 16:33:28 +00:00
Robby Findler
e821a0c461
separated 2htdp/universe from htdp/image, allowing either htdp/image or 2htdp/image to be used
...
svn: r17430
2009-12-29 23:59:39 +00:00
Robby Findler
37613b0bde
fixed use of random for 64 bit machines
...
svn: r17401
2009-12-25 20:03:32 +00:00
Matthew Flatt
b18ba4a4e5
fix use of 'random' in fixnum test suite
...
svn: r17397
2009-12-25 13:14:57 +00:00
Robby Findler
195d608fe5
added scheme/fixnum
...
svn: r17391
2009-12-23 15:41:40 +00:00
Matthew Flatt
f332afc3dd
fix leak created by transitive thread-resume
...
svn: r17370
2009-12-20 15:39:55 +00:00
Eli Barzilay
942798196f
removed old copy of md5 tests from mzscheme tests
...
svn: r17368
2009-12-20 09:58:19 +00:00
Eli Barzilay
bf2992ff97
md5 tests in the file tests
...
svn: r17367
2009-12-20 09:57:26 +00:00
Eli Barzilay
4cd3d34b43
require md5 from file/md5
...
svn: r17364
2009-12-20 09:46:09 +00:00
Stevie Strickland
fb85388288
Add this%, which is the class counterpart of the object reference "this".
...
svn: r17359
2009-12-19 20:56:40 +00:00
Matthew Flatt
0a1e4e6e83
fix an allocation in bytecode compiler; add flvector equality
...
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
9192f073d0
compiler flonum tweaks
...
svn: r17349
2009-12-18 16:59:05 +00:00
Matthew Flatt
fdd7122994
scheme/flonum (v4.2.3.8)
...
svn: r17348
2009-12-18 15:40:00 +00:00
Matthew Flatt
bc47db42e4
unboxed known-flonum loop accumulators
...
svn: r17338
2009-12-17 15:58:29 +00:00
Sam Tobin-Hochstadt
142bbf19fd
fix to account for changes to common/cmdline.ss
...
svn: r17337
2009-12-17 15:46:48 +00:00
Sam Tobin-Hochstadt
9e6e9696af
Use flsqrt.
...
Eliminate pointless micro-optimizations.
svn: r17330
2009-12-16 16:24:54 +00:00
Matthew Flatt
45e84ca087
unboxing of let-bound flonums (v4.2.3.6)
...
svn: r17328
2009-12-16 13:30:40 +00:00
Sam Tobin-Hochstadt
b9fd34b925
Fix type of string->number
...
svn: r17313
2009-12-15 22:03:10 +00:00
Sam Tobin-Hochstadt
a8851a8a3d
Fix psyntax to work in DrDr
...
svn: r17311
2009-12-15 18:29:59 +00:00
Sam Tobin-Hochstadt
3687048bbb
use flvectors in spectralnorm-unsafe
...
Add input info for spectralnorm-unsafe
svn: r17306
2009-12-15 16:26:47 +00:00
Matthew Flatt
d13057d8c4
add psyntax as a kind of realistic-program benchmark (I'd like to have more)
...
svn: r17298
2009-12-14 23:51:09 +00:00
Sam Tobin-Hochstadt
3331d907ea
Add unsafe version of nbody shootout benchmark.
...
svn: r17288
2009-12-13 19:30:22 +00:00
Sam Tobin-Hochstadt
22903bffcd
Fix handling of logical props in `tc-if'.
...
New numeric hierarchy.
Quoted lists and vectors now use the expected type, and quoted lists have (List a b c) type.
Fix some contracts.
More general handling of polymorphic function application.
Use `make-provide/contract-transformer' to generate correct blame for typed provided identifiers.
Add mutable pairs.
Use `raise-syntax-error' for better error messages in mzscheme.
Use `match*' instead of `list'
Some fixes to appease the contract checking.
Catch-all printing cases.
Use names in Base contract generation.
Types for lots of new primitives.
Move numeric primitives to their own file.
Move indexing primites to their own abstracted file.
Better error message from `define-struct:'
Fix 'insert-large-letters.ss' for new Number hierarchy.
Add `typed/scheme' and `typed/scheme/base', which use new number hierarcy types, stricter indexing types.
svn: r17284
2009-12-13 04:45:17 +00:00
Matthew Flatt
5772fa0a9f
bytecode-compiler changes to help enable flonum unboxing
...
svn: r17283
2009-12-13 04:39:46 +00:00
Sam Tobin-Hochstadt
3e497704aa
fix unit tests
...
svn: r17269
2009-12-11 17:01:55 +00:00
Sam Tobin-Hochstadt
791ec55787
fixes
...
svn: r17265
2009-12-11 00:25:59 +00:00
Sam Tobin-Hochstadt
314270113a
sync to trunk
...
svn: r17263
2009-12-10 18:35:02 +00:00
Sam Tobin-Hochstadt
c8c9bd0556
Add `in-bytes-lines'
...
svn: r17261
2009-12-10 17:01:53 +00:00