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
Sam Tobin-Hochstadt
5767e23d87
checkpoint
...
svn: r17258
2009-12-10 15:32:17 +00:00
Sam Tobin-Hochstadt
cd0a94d465
sync to trunk
...
svn: r17249
2009-12-09 19:44:12 +00:00
Robby Findler
a429c3ff8d
first attempt at randomly clicking on drscheme into drdr
...
svn: r17243
2009-12-08 22:24:38 +00:00
Sam Tobin-Hochstadt
be77cee733
Fix parsing of quoted lists in types to produce list types.
...
svn: r17237
2009-12-07 15:50:51 +00:00
Sam Tobin-Hochstadt
70f085713d
PR 10647
...
svn: r17235
2009-12-07 13:55:36 +00:00
Eli Barzilay
f83bf42796
use "anonymous-module" for modules without a source file
...
svn: r17228
2009-12-06 10:46:05 +00:00
Eli Barzilay
6a88daecd8
fixed test for binding of delay that moved again
...
svn: r17223
2009-12-06 05:15:20 +00:00
Eli Barzilay
259350a7e1
untabity and minor formatting
...
svn: r17222
2009-12-06 05:06:40 +00:00
Robby Findler
ada899f158
added more examples and tests for order-of-magnitude
...
svn: r17212
2009-12-05 20:38:38 +00:00
Robby Findler
1a8bca736f
PR 10581
...
svn: r17210
2009-12-05 18:35:25 +00:00
Eli Barzilay
b5114a14c1
formatting
...
svn: r17192
2009-12-05 02:23:46 +00:00
Stevie Strickland
5650cb9647
Fix the module-reader tests.
...
svn: r17183
2009-12-04 20:18:14 +00:00
Matthew Flatt
c73b587e98
inline flvector-length
...
svn: r17178
2009-12-03 18:04:02 +00:00
Matthew Flatt
4eef1b3cee
flvectors
...
svn: r17177
2009-12-03 16:42:32 +00:00
Robby Findler
61da010d5f
PR 10636
...
svn: r17163
2009-12-02 17:09:07 +00:00
Carl Eastlund
3b9d254fda
Merged changes from branches/cce/plt+contract-tests:
...
- Added tests for make-proj-contract
- Added tests for opt/c, specifically to track 'positive-position?' blame
- Fixed 'positive-position?' in opt/c (bug 10629)
svn: r17105
2009-11-30 04:40:51 +00:00
John Clements
b2bcfdbec9
updated srfi 19 tests from dave gurnell
...
svn: r17084
2009-11-28 02:31:17 +00:00
Matthew Flatt
d3ff146643
fix JIT bug in multi-arity arithmetic inlining
...
svn: r17076
2009-11-27 03:35:36 +00:00
Matthew Flatt
f03ab78c40
another syntax hack to fix 'scheme/package'; other test corrections
...
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
61dd4ca0b9
add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
...
svn: r17068
2009-11-26 15:07:16 +00:00
Carl Eastlund
edae542b58
unstable module for source location manipulation
...
svn: r17065
2009-11-25 20:49:29 +00:00
Sam Tobin-Hochstadt
e3bafbe298
checkpoint
...
svn: r17054
2009-11-25 02:30:41 +00:00
Sam Tobin-Hochstadt
1efedeb758
sync branch to trunk
...
svn: r17046
2009-11-24 18:47:48 +00:00
Sam Tobin-Hochstadt
29c4a84183
checkpoint
...
svn: r17045
2009-11-24 17:10:44 +00:00
Matthew Flatt
79817a2087
slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
...
svn: r16952
2009-11-22 02:34:40 +00:00