Vincent St-Amour
d220e0a10b
Add read syntax for single-precision float specials.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
768bb63361
Fix optimizer to work with new types.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
a0a54b231d
Fix TR tests.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
e56663c943
Add a predicate field to base types, which makes checking for
...
subtyping of value types easier.
However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
d4c93cc12e
TR's numeric tower is now built from unions of non-overlapping base types.
...
A lot of the work that was done by special-casing number types can now be
done by TR's handling of unions. This makes it easier to add more numeric
types to the tower and should make writing down types for numeric
primitives much less error-prone.
In addition, this commit adds several numeric types that will help get
tighter bounds on integer arithmetic, such as Index types. They will have
to be integrated to the base environment before they can be useful.
2011-01-31 16:39:13 -05:00
Matthew Flatt
dd5f0dfc80
fix `read-language' exn construction in an EOF case
...
Closes PR 11683
Merge to 5.1
2011-01-31 06:49:13 -07:00
Eli Barzilay
6b5e09073a
Reorganize, improve, and extend lazy tests.
2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858
add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg
2011-01-30 12:12:55 -05:00
Matthew Flatt
bc5ab1e031
fix problems with `read-language' error reporting
2011-01-30 07:47:46 -06:00
Stephen Chang
9924ac8060
add tests for lazy take
2011-01-27 17:04:58 -05:00
Vincent St-Amour
36ae5a9d50
Fix nightly running of TR tests.
2011-01-27 16:49:45 -05:00
Jay McCarthy
0714c7222c
Fixing PR11661
2011-01-27 13:38:16 -07:00
Robby Findler
419ca0a36d
adjust the test-engine test suite to use the new preferences location
2011-01-27 11:00:49 -06:00
Matthew Flatt
3448767f97
fix SRFI-14 test
2011-01-27 08:04:39 -07:00
Stephen Chang
f60957282f
fix (take 0 nonemptylist) test in tests/lazy/langimpl.rkt
2011-01-26 18:14:34 -05:00
Stephen Chang
1ab22f7c2b
add tests for push#22080
2011-01-26 17:26:44 -05:00
Vincent St-Amour
2bd0145603
Generalize hash table literals and subtypes of symbol.
...
Closes PR 11670.
2011-01-26 14:23:19 -05:00
Robby Findler
85c955fad6
tweak to move interactions fetch to the eventspace handler thread
2011-01-25 20:58:39 -06:00
Matthew Flatt
60335d9b23
fix `vector-copy' range checking for starting position
2011-01-25 15:46:52 -07:00
Stevie Strickland
a04b8d9899
Change instanceof/c to allow more contracts.
...
Now instanceof/c no longer checks explicitly for a class/c contract, so
or/c or and/c of class/c contracts succeed.
2011-01-25 14:07:30 -05:00
Robby Findler
45a635339e
refactored to make testing check syntax renaming possible
...
made sure to remove duplicates from the list before doing renaming
closes PR 11659
2011-01-21 22:27:18 -06:00
Matthew Flatt
b112fd76df
add reparent' to
subwindow<%>'
2011-01-21 20:21:21 -07:00
Jay McCarthy
aadb1b60bb
Repenting of misunderstanding docs
2011-01-20 20:53:11 -07:00
Robby Findler
8c513f2b32
drracket tests: dont' insist on a stacktrace for break exceptions
2011-01-20 19:05:43 -06:00
Matthew Flatt
0c193a599a
fix uncaught-exception-handler handling of non-escaping escape handler
...
and change the emergency error display handler to log and error
Closes PR 11630
2011-01-20 14:01:33 -07:00
Kevin Tew
bc580ac125
call-with-file-lock/timeout
2011-01-20 13:33:02 -07:00
Jay McCarthy
87865cb1bd
Fixing PR11649
2011-01-20 12:13:13 -07:00
John Clements
d675c7b12a
updated PLAI (and test cases) to use racket language rather than scheme
2011-01-20 10:21:22 -08:00
Matthew Flatt
d5fdee7e06
add argument to `regexp-try-match' to match docs
...
Closes PR 6579 --- which was actually about the
now next-to-last argument, but close enough
2011-01-17 15:18:05 -07:00
Robby Findler
70e3074baf
found another place in the framework test suite where operations weren't happening on the eventspace handler thread
2011-01-17 15:35:35 -06:00
Robby Findler
ff800c997e
make the example-test private file's work be behind a thunk (so more drdr friendly)
2011-01-17 15:04:00 -06:00
Matthew Flatt
21eee45a48
fix `read-language' when input has only comments
2011-01-16 19:01:45 -07:00
Matthew Flatt
113e49aa5b
extend date->seconds' and
find-seconds' to work with UTC
...
Closes PR 6137
2011-01-16 17:53:30 -07:00
Robby Findler
6c974f6c5f
add missing require
2011-01-15 15:14:57 -06:00
Matthew Flatt
c2afc03b3b
fix interaction of `continuation-mark-set-first' and prompts
...
including a documentation fix
2011-01-15 08:05:55 -07:00
Robby Findler
90b8400d50
make up a new temp dir instead of using C:\tmp
2011-01-15 06:44:42 -06:00
Mike Sperber
d2aa1c1138
Make test-engine tests work with new gracket.
2011-01-15 12:25:39 +01:00
Robby Findler
255cb84b87
add an example tool (that actually does something) to the docs and make a test suite that sets that tool up and runs it
2011-01-13 20:11:55 -06:00
Matthew Flatt
2097e944b7
fix `regexp-replace*' with procedure and #f matches
2011-01-13 11:01:46 -07:00
Robby Findler
b8459737f0
disable the trace of all of the messages in the framework tests
2011-01-12 17:32:26 -06:00
Carl Eastlund
803ac4a412
Added a sample package to test Planet scribblings. No automated tests yet.
...
Currently one just has to build the package and "eyeball" its documentation.
2011-01-11 18:00:40 -05:00
Matthew Flatt
6afffb329c
add `svg-dc%'
2011-01-10 16:41:16 -07:00
Robby Findler
0411cddba5
added set/c and made sets print as set, seteq, or seteqv
...
closes PR 11454
2011-01-08 13:49:01 -06:00
Stevie Strickland
9ffb204682
Rename instanceof' to
instanceof/c'.
2011-01-08 11:24:25 -05:00
Jay McCarthy
f2a9aebba5
Fixing contract formatting change
2011-01-07 19:53:00 -07:00
Stevie Strickland
92775c5e4e
Add instanceof.
...
The instanceof contract combinator takes a class contract. The resulting
contract protects objects using the external field and method contracts
in the class contract.
2011-01-07 18:22:24 -05:00
Robby Findler
bf031be73e
what happened here?
2011-01-07 09:23:51 -06:00
Robby Findler
a32adbe7db
make the framework test suite only modify gui objects on the eventspace handler thread
2011-01-07 06:39:27 -06:00
Robby Findler
31a629ff9c
make provide/contract work properly when it is the only thing in a module body
...
closes PR 11596
2011-01-07 05:19:16 -06:00
Matthew Flatt
655f6045a2
fix shared' for
#:auto' fields and constructors without `make-'
...
Closes PR 11588
Closes PR 11591
2011-01-05 13:52:11 -07:00
Vincent St-Amour
b32287fa2d
Fixed a bug with complex numbers made from floats of differing precision.
...
It used to be that constructing complex numbers from a float and a
double sometimes caused incorrect coercions.
2011-01-05 14:42:31 -05:00
Vincent St-Amour
cb723092e2
Fix portable fixnum size.
2011-01-05 14:42:31 -05:00
Robby Findler
51ad306af2
changed real-in to be an alias for between/c
2011-01-04 15:40:32 -06:00
Matthew Flatt
553723627c
gradients: refine checking and docs to fit various conventions
2011-01-04 12:44:36 -07:00
Matthew Flatt
cd676fe81c
another context-cache repair
2011-01-03 18:04:11 -07:00
Robby Findler
d1e0e7e254
fixed a few places in the repl-test where it was accessing gui stuff on a non-GUI thread
2011-01-03 17:41:08 -06:00
Robby Findler
fbe6e06957
give up on predicting the stack trace contents when yield is used
2011-01-03 07:15:03 -06:00
Robby Findler
6fb6fca73b
make the test suite less picky about the contents of the stack (but not if it has content or not)
2011-01-02 19:53:39 -06:00
Matthew Flatt
241bb79cb0
allow a button% to have both a string and a bitmap for its label
2011-01-01 13:54:45 -07:00
Matthew Flatt
55693e090f
add port-try-file-lock?' and
port-file-unlock'
2010-12-31 14:40:27 -07:00
Robby Findler
699058d3a4
do a little bit better job keeping the manipulation of the gui state on the eventspace handler thread (in the syncheck test)
2010-12-31 15:29:23 -06:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Robby Findler
e75d6b3fae
replace one inherently racecondition-prone test with two others that approximate it
2010-12-31 10:50:27 -06:00
Robby Findler
6f9bcf0001
Rackety
2010-12-31 09:58:54 -06:00
Robby Findler
3dc5bbd0eb
moved interactive panel test into its own file
2010-12-31 09:58:53 -06:00
Robby Findler
900d74714e
fixed up panel:dragable so that it actually does the right thing now
...
adjusted the framework test suite so that it runs under windows
closes PR 10880
2010-12-31 09:58:51 -06:00
Matthew Flatt
a974dad8bf
add alpha value to `color%'
2010-12-30 07:05:25 -07:00
Robby Findler
fb25dc9a42
adjusted drracket test suites so that it is (more) careful to keep all manipulation of GUI objects (text% objects seem to have been the important one) on the drracket eventspace main thread in an effort to make the test suites more stable.
2010-12-29 20:31:40 -06:00
Matthew Flatt
d3fd1ba013
add `set-padding' to text%
2010-12-29 13:42:58 -07:00
Sam Tobin-Hochstadt
2431f8f706
Fix TR tests for new contract error messages.
2010-12-29 13:46:57 -05:00
Matthew Flatt
3b032893c1
don't JIT-inline `values' in a single-value position
2010-12-28 17:47:03 -07:00
Matthew Flatt
5339be7594
make language test work with cgc
2010-12-28 10:52:17 -07:00
Matthew Flatt
0b1f1a4f4e
add missing test case for premultiply-alpha fix
2010-12-27 19:34:59 -07:00
Matthew Flatt
705b11f2b8
a prompt-test fix like the previous one, but for post thunks
2010-12-27 15:24:33 -07:00
Robby Findler
6fe8643194
adjust teaching languages so that print works properly
2010-12-27 09:16:09 -06:00
Matthew Flatt
0d3fbb11fa
supress a prompt test that doesn't apply to composable continuations
2010-12-26 16:21:28 -06:00
Matthew Flatt
e77917db8c
fix another continuation bug discovered by Casey's random testing
2010-12-25 17:12:33 -06:00
Robby Findler
dd531dde9e
check syntax does not call eval-compile-time-part-of-top-level when
...
checking programs in the module language.
closes PR 10908
2010-12-25 15:38:08 -06:00
Matthew Flatt
e7b52bf10f
fix ffi handling of non-GCable pointers with offsets
...
Closes PR 11567
2010-12-25 09:34:07 -06:00
Robby Findler
bb9bd1b07a
new attempt at contract violation error messages
2010-12-22 10:39:59 -06:00
Robby Findler
53509bef5f
made module lang tests Windows friendly & Rackety
2010-12-20 08:43:28 -06:00
Sam Tobin-Hochstadt
491eeaa759
Move mred/private/wxme/style to racket/snip/private/style.
...
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Mike Sperber
79600e15a6
Merge remote branch 'origin'
2010-12-19 11:21:41 +01:00
Mike Sperber
fa854f62fc
Add vector signatures, and `vector-of' to the HtDP signature syntax.
2010-12-19 11:20:51 +01:00
Sam Tobin-Hochstadt
e9e45fdc2c
Fix test require.
2010-12-18 00:10:25 -05:00
Matthew Flatt
4195cf3297
more fixes for weird draw-bitmap mask and mode combinations
2010-12-17 05:51:23 -07:00
Matthew Flatt
98f6415c59
another fix to drawing a color bitmap to a monochrome target
2010-12-17 05:29:50 -07:00
Matthew Flatt
8a10c3d3db
fix use of color bitmap as mask when drawing after previous use
2010-12-16 21:02:11 -07:00
Matthew Flatt
f8ec47cdeb
test for draw-bitmap repairs
2010-12-16 19:36:13 -07:00
Noel Welsh
8040100eff
Merge branch 'master' of pltgit:plt into in-vector
2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4
Fix some errors with in-vector and derived forms:
...
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs
Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Matthew Flatt
965e8f96d1
fix get-char-height' and
get-char-width' in dc<%>
...
Closes PR 11526
2010-12-10 20:37:51 -07:00
Matthew Flatt
2ae9f14f9e
fix exn raised in refab-struct read errors
...
Closes PR 11530
2010-12-10 18:33:44 -07:00
Matthew Flatt
2b4f1a6908
extend `sync/timeout' to allow a tail-position fail thunk for polling
2010-12-10 18:06:21 -07:00
Carl Eastlund
5b18305e11
New test case for formatting bug in TR error messages.
2010-12-10 17:26:17 -05:00
Vincent St-Amour
09ffb70492
Update TR tests to reflect new contract error messages.
2010-12-10 16:59:13 -05:00
Vincent St-Amour
b9d67eea2f
Allow running individual TR tests.
2010-12-10 16:59:12 -05:00
Vincent St-Amour
407d9b5f07
Error when running TR's test harness with no tests.
2010-12-10 13:44:47 -05:00
Stevie Strickland
7ab53d8ddb
Fix unit contract tests due to new contract error format.
2010-12-10 13:06:56 -05:00
Robby Findler
94ebb1f317
update the mzlib contract test suite to the new error messages
2010-12-10 06:57:27 -06:00
Eli Barzilay
de4daa8d81
Add a hack to get the environment variables from the visual studio batch
...
file.
Also change the version number in the foreign tests to make them work.
Also fix getting the `test_gui' configuration.
2010-12-10 05:15:14 -05:00
Robby Findler
18dacad6c8
a first attempt at a rewording of the blame error messages to admit the possibility that the contract was wrong and also to claim that fixing the blamed module or the contract is all that is required
...
note that two test cases are failing, but only because they depend on the wording of the error messages; once that is set, I'll fix them.
2010-12-09 15:50:15 -06:00
Vincent St-Amour
365d272666
Test for errors in rhs.
2010-12-08 20:32:20 -05:00
Vincent St-Amour
81ef5f9418
Typecheck body of letrec using original types instead of potentially undefined type.
2010-12-08 20:32:20 -05:00
Vincent St-Amour
b045153177
letrec: consider outside bindings safe.
2010-12-08 20:32:19 -05:00
John Clements
368f345901
more stepper cleanup
2010-12-08 16:37:15 -08:00
John Clements
ff973b628b
stepper refactoring and cleanup
2010-12-08 16:37:15 -08:00
Sam Tobin-Hochstadt
87eab889d6
Allow arbitrary filter specification in function types.
...
Allow (A -> B -> C) for curried function types.
2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
cb6d78698b
Count pairs as having size 1, not 0, in minimizing edit distance.
2010-12-08 18:22:29 -05:00
Sam Tobin-Hochstadt
73dbf42e0e
Better handling of `hash-*' functions, and hashes as sequences.
2010-12-08 18:22:29 -05:00
Vincent St-Amour
dc2df4882b
Take into account potentially undefined values in letrec.
...
Closes PR11511.
2010-12-08 18:17:06 -05:00
Jay McCarthy
7ac2b8e316
Fixing tests
2010-12-08 14:08:54 -07:00
Jay McCarthy
5285dc6a16
Fixing tests
2010-12-08 14:08:54 -07:00
John Clements
5456e83ce4
massively faster due to reuse of namespace
2010-12-07 20:44:35 -08:00
John Clements
0d2a4b98db
moving to another machine
2010-12-07 20:44:34 -08:00
John Clements
6f84a1c143
checkpointing progress toward applicable structs instead of hash table
2010-12-07 20:44:34 -08:00
Stevie Strickland
37349ca053
Allow uses of recursive-contract to specify the type of contract to create.
2010-12-07 18:30:20 -05:00
Jay McCarthy
d28dc2ae41
Revert "Adding dynamic/c and coerce/c"
...
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
58494c125b
Big bang coercion
2010-12-07 14:14:55 -07:00
Jay McCarthy
d7bd9ddc5f
Adding compat0 test cases
2010-12-07 14:14:54 -07:00
Jay McCarthy
78a65f0662
More exhaustive test
2010-12-07 14:14:54 -07:00
Jay McCarthy
b5a39d03e4
Discussing compatibility
2010-12-07 14:14:54 -07:00
Jay McCarthy
d6d9f3ef8c
Adding dynamic/c and coerce/c
2010-12-07 14:14:53 -07:00
Jay McCarthy
f5e9e0dad1
Fixing example
2010-12-07 14:14:52 -07:00
Jay McCarthy
4ca1dac51c
write-xexpr test cases
2010-12-07 14:14:51 -07:00
Jay McCarthy
ca6c37bccf
Adding header
2010-12-07 14:14:50 -07:00
Jay McCarthy
16f8b3a2a6
Adding test case and fixing un-terminated requests
2010-12-07 14:14:50 -07:00
Jay McCarthy
9b066d0f04
Correcting tests and examples
2010-12-07 14:14:49 -07:00
Jay McCarthy
419c184c94
Using response/xexpr
2010-12-07 14:14:49 -07:00
Jay McCarthy
05c9fcd412
First pass at Xexpr removal
2010-12-07 14:14:49 -07:00
Jay McCarthy
dc01f00afc
New benchmarks
2010-12-07 14:14:49 -07:00
Stevie Strickland
5b8e5d6380
Extend struct/c to allow impersonator contracts for mutable fields.
...
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Stevie Strickland
10eb818f95
Conversion of struct/c to chaperones when appropriate.
2010-12-07 04:11:26 -05:00
Stevie Strickland
ebf01cc664
Converting case-> to chaperones and impersonators.
2010-12-06 16:12:49 -05:00
Matthew Flatt
fda0228631
fix broken inexact-reader configuration
...
Closes PR 11496
2010-12-04 16:22:17 -07:00
Matthew Flatt
116d88577e
restore old behavior of _fixint' and
_ufixint'
...
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
7ec0731cda
don't use unsafe-string-ref' in
for'
...
because `unsafe-string-ref' is for ASCII results, only
2010-12-03 11:10:11 -07:00
Noel Welsh
3b234010a0
Merge branch 'master' of pltgit:plt into in-vector
2010-12-03 14:36:48 +00:00
Noel Welsh
899e31e2ce
Add tests for extended in-flvector and in-fxvector forms, refactoring common code to for-util.rkt
2010-12-03 14:33:38 +00:00
Noel Welsh
6e2d67e58a
Fix typo
2010-12-03 12:18:04 +00:00
Noel Welsh
6761ae8618
Merge branch 'master' of pltgit:plt into in-vector
2010-12-03 10:27:34 +00:00
Stevie Strickland
778f0c9fc4
Actually turn on old object-info hack mentioned in 4e451a1
.
2010-12-02 13:02:59 -05:00
Robby Findler
60d986b6df
added a not-quite-right test case (drracket's test suites don't run well in gr2 yet)
2010-12-02 10:40:43 -06:00
Robby Findler
9501a9d7f8
adjustments to match gr2
2010-12-02 10:40:43 -06:00
Stevie Strickland
30afcd3bf5
Fix object=?.
...
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.
2010-12-01 15:11:25 -05:00
Stevie Strickland
2bd7760412
Conversion of object/c and object-contract to use impersonators.
2010-12-01 15:11:20 -05:00
Matthew Flatt
082515d6db
fix namespace-anchor on non-module namespaces
2010-12-01 06:52:11 -07:00
Jon Rafkind
cf3b9680ba
remove 0 arg set-union. add workaround to docs
2010-11-29 00:34:57 -07:00
Jon Rafkind
46244f81fc
make set-union with 0 args return an empty set
2010-11-28 23:08:28 -07:00
Robby Findler
eabbb7dff2
improve the leak test a little by looking to see tabs get gc'd and so do the user's namespaces.
2010-11-28 19:26:38 -06:00
Matthew Flatt
0b19c6e798
fix bug in composable continuations
...
--- as deiscovered by Casey's random tester
2010-11-27 09:52:11 -07:00
Matthew Flatt
abcaa1775c
add width' and
height' arguments to post-script-dc% and pdf-dc%
...
and document the change that the PS bounding box is no longer
inferred from drawing operations
2010-11-26 20:40:43 -07:00
Jay McCarthy
ee2b11630f
Adding containers
2010-11-26 19:59:32 -05:00
Jay McCarthy
eee5c6b14a
Adding response/port
2010-11-26 19:59:32 -05:00
Jay McCarthy
8320517192
Adding page
2010-11-26 19:59:32 -05:00
Matthew Flatt
2edadd6113
add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui
2010-11-26 10:35:05 -07:00
Matthew Flatt
7da127227a
gtk & cocoa: frame iconize repairs
...
In the "windowing.rktl" tests, for Gtk there are still race conditions
between the program and the window manager. But for the first
time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Matthew Flatt
1f61bbdc51
win32: frame size and iconize fixes
2010-11-26 08:10:58 -07:00
Robby Findler
4c9794acc6
drracket frames leak; add a test case
2010-11-26 08:51:37 -06:00
Matthew Flatt
8e8844641c
fix `draw-bitmap-section-smooth' method of bitmap-dc<%>
2010-11-25 11:00:32 -07:00
Jay McCarthy
bd7ffb282f
This code appears to have been copied from the other
2010-11-25 12:03:10 -05:00
Jay McCarthy
6474b519bb
Fixes usage of argb-pixels
2010-11-25 12:01:44 -05:00
Jay McCarthy
e081af2aef
This test relied on the old source location losing behavior of Rackunit
2010-11-25 11:38:43 -05:00
Matthew Flatt
347869fc9e
fix some racket/gui tests and fix cocoa frame centering
2010-11-25 08:03:33 -07:00
Jay McCarthy
eecbc539c1
Fixing problem with previous "fix" to mutator-begin
2010-11-24 23:33:42 -05:00
Jay McCarthy
c9dcbb9edb
Failing test
2010-11-24 23:33:42 -05:00
Jay McCarthy
b686cc84a9
Removing test because we reintroduced gensym
2010-11-24 23:33:42 -05:00
Matthew Flatt
1034c9be4e
fix hashing on C pointers and missing tests
2010-11-24 15:44:18 -07:00
Jay McCarthy
e3153e6d21
Adding normalization display
2010-11-23 15:42:39 -07:00
Vincent St-Amour
102419f009
Fixed command-line options for gambit in benchmarks.
2010-11-19 12:10:42 -05:00
Jay McCarthy
24dbffaf3b
Fixing problem found at Brown
2010-11-17 04:58:09 -07:00
Jon Rafkind
5f2d18c1f9
add in-queue
2010-11-16 23:09:19 -07:00
Jon Rafkind
27b32464c5
add test for sequence used as an expression
2010-11-16 23:09:19 -07:00
Matthew Flatt
1762a9a872
fix set!' of
define-for-syntax'ed varable in `let-syntax' RHS
2010-11-16 20:18:11 -07:00
Jon Rafkind
7b24eaf58e
rename queue-count to queue-length
2010-11-16 14:36:49 -07:00
Jon Rafkind
73be67942d
add queue->list
2010-11-16 14:36:49 -07:00
Jon Rafkind
58188ad0c6
add queue-count
2010-11-15 22:32:08 -07:00
Matthew Flatt
c3e0a7af13
manual tests for refresh behavior
2010-11-12 20:47:07 -07:00
Matthew Flatt
42a4465fb0
fix bytecode compiler bugs in tracking known-flonum arguments
2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e
Add shuffle' to
racket/list'.
2010-11-12 17:21:11 -05:00
Noel Welsh
2b799e2714
Merge branch 'master' of pltgit:plt
2010-11-12 10:30:08 +00:00
Robby Findler
5a9c469b0f
added forall to go along with exists contracts
2010-11-11 14:39:43 -06:00
Matthew Flatt
27752c4695
plot bug fixes, including new images and a more forgiving image-equality test
2010-11-10 09:18:50 -07:00
Matthew Flatt
8d1827222c
improve docs in 'interior allocation mode and improve 'interior-atomic
2010-11-10 09:18:31 -07:00
Matthew Flatt
a0a414465d
fix problem with multiple captures of the same continuation
...
--- a bug introduced when enabling full continuations
to escape past continuation barriers in v5.0.1
Closes PR 11409
2010-11-09 16:48:23 -07:00
Matthew Flatt
0a179481a5
fix continuation capture in continuation transferred to a thread
...
where the prompt is the implicit one at the thread's creation
Closes PR 11382
2010-11-08 18:06:07 -07:00
Matthew Flatt
90ac279096
add 'can-impersonate option to `make-struct-type-property'
2010-11-08 14:00:59 -07:00
Eli Barzilay
f5f1243b33
Move "fuzz.rkt" test to "tests/racket/stress".
2010-11-08 09:48:00 -05:00
Matthew Flatt
7f67b6569c
v5.0.99.2: proxy' ->
impersonator'
2010-11-08 06:23:16 -07:00
Matthew Flatt
bc2c95f564
fix cm test that used gl-info_rkt.zo (which is now gone)
2010-11-07 19:21:03 -07:00
Matthew Flatt
39596efef5
cocoa and gtk: fix combo% `on-popup' method
2010-11-05 15:54:56 -06:00
Matthew Flatt
e033d9edf1
cocoa & gtk: fix some test failures
2010-11-05 15:54:54 -06:00
Matthew Flatt
4f2e59e7a6
some fixes prompted by the test suite
2010-11-05 15:54:48 -06:00
Matthew Flatt
d2275f4179
level-2 finalization from ffi/unsafe and late-weak references
2010-11-05 15:54:47 -06:00
Matthew Flatt
73dd8cc697
fix gc handling of ephemeron chains
2010-11-05 15:54:47 -06:00
Matthew Flatt
ca64c25cf9
cocoa: control fonts
2010-11-05 15:54:43 -06:00
Matthew Flatt
16b34c236a
gtk: misc fixes
2010-11-05 15:54:41 -06:00
Matthew Flatt
b4fafc1888
cocoa: printer-dc%
2010-11-05 15:54:38 -06:00
Matthew Flatt
70b26a5885
win32: more menus and widgets
2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803
win32 widgets, mouse events, and cursors
2010-11-05 15:54:32 -06:00
Matthew Flatt
5809bc7790
fix slider value display and 'plain option
2010-11-05 15:54:27 -06:00
Matthew Flatt
c3fa1f01e8
cocoa mouse event and cursor fixes
2010-11-05 15:54:22 -06:00
Matthew Flatt
a747047145
special-option-key for cocoa
2010-11-05 15:54:19 -06:00
Matthew Flatt
a7a629e45b
showkey as module
2010-11-05 15:54:18 -06:00
Matthew Flatt
40c1c2ffef
cocoa cursors
2010-11-05 15:54:16 -06:00
Matthew Flatt
b020c2f858
fix gtk widget size info for sizing and positioning
2010-11-05 15:54:12 -06:00
Matthew Flatt
cc55bd7e93
restore auto-scroll canvases; fix text-rotation bug
2010-11-05 15:54:12 -06:00
Matthew Flatt
b69d4322af
fix canvas dc size reporting
2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e
auto-scroll canvases and frame status lines
2010-11-05 15:54:10 -06:00
Matthew Flatt
626ceef11b
misc repairs
2010-11-05 15:54:06 -06:00
Matthew Flatt
d7289c253f
support general transformation matrix
2010-11-05 15:54:04 -06:00
Matthew Flatt
049e4dbdcb
fix clipping
2010-11-05 15:54:00 -06:00
Matthew Flatt
dc00e22b85
fix drawing bugs and improve backward compatibility
2010-11-05 15:53:58 -06:00
Matthew Flatt
88606ae251
drawing repairs
2010-11-05 15:53:58 -06:00
Vincent St-Amour
4c081c127a
Fixed a fixnum typechecking issue.
2010-11-04 17:27:34 -04:00
Casey Klein
bd0ebc7511
Adds auto-completion to LaTeX and TeX inspired keybindings
2010-11-02 22:34:05 -05:00
Jay McCarthy
6d2042fbd9
The stacks appear to be different, so maybe the JIT is different on Linux and disabling it will get stable output?
2010-11-02 15:44:35 -06:00
Jay McCarthy
7c452ad7ea
Maybe the DrDr error is related to flushing?
2010-11-01 10:20:31 -06:00
Eli Barzilay
a7220062de
old typo
2010-11-01 08:25:35 -04:00
Jay McCarthy
690ed259ad
Wrapping standalone tests so that no stderr is produced
2010-10-29 22:35:20 -06:00
Jay McCarthy
ec7157744f
Repairing tests
2010-10-29 21:32:31 -06:00
Blake Johnson
783418ce37
only creating zo file
2010-10-29 19:50:12 -06:00
Blake Johnson
b2b5875e3e
replacing self modidx refs and tests
2010-10-29 19:50:12 -06:00
Blake Johnson
0688c18593
fixing logging and running code in zo-exs
2010-10-29 19:50:11 -06:00
Blake Johnson
77c46d07ee
debugging
2010-10-29 19:50:11 -06:00
Jay McCarthy
ac4fb05f0c
Correct error in mutator quote
2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083
Correct handling of procedure env roots in mutator
2010-10-28 11:18:27 -06:00
Sam Tobin-Hochstadt
561fdc8db5
Avoid dumb parsing bugs in require/typed.
2010-10-26 18:09:45 -04:00
Matthew Flatt
5d8e000d6d
swap vector*-ref' and
vector-ref', etc.
...
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
c512dbd6d3
fix bogus reordering of floating-point args in unboxing mode
...
Merge to 5.0.2
Closes PR 11272
2010-10-22 21:19:18 -06:00
Stevie Strickland
2847ac86bd
Rearrange ->d appropriately to use proxies/chaperones.
...
Also remove the old tests for tail-call behavior with ->d.
I think it was a faulty way of doing the optimization, and we can't even
do it in the same way now, since we can't get the original "raw" arguments
to the right place via continuation marks.
->i has a much better chance of having this optimization where possible,
and when I start converting ->i, I'll make sure to add appropriate tests.
2010-10-22 16:06:56 -07:00
Robby Findler
31f4a120f1
added two stress tests for ->i performance
2010-10-22 14:07:30 -05:00
Jon Rafkind
4ee161b296
dont require core files
2010-10-22 10:48:09 -06:00
Jon Rafkind
a3fefc1c35
add struct example
2010-10-22 10:48:07 -06:00
Jon Rafkind
a998a57000
add function tests
2010-10-22 10:48:06 -06:00
Sam Tobin-Hochstadt
dcd3f9a9aa
Flush output in fuzz testing.
2010-10-21 23:40:12 -07:00
Jay McCarthy
c2f8e4c0fe
Adding attributes to select-input
2010-10-21 22:29:28 -07:00
Eli Barzilay
aebf9e77ef
Fix require in test suite
2010-10-21 20:25:37 -04:00
Eli Barzilay
2f5265854a
Rename seqn-*' to
stream-*'.
...
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Stevie Strickland
b272c02548
Have unconstrained-domain-> do tail checks as well.
2010-10-21 16:22:51 -07:00
Stevie Strickland
84f3cb115b
Add proxies for -> and ->*.
...
Attempt to do a recently intelligent job by using more specific lambdas
when possible (i.e., when the arity of the function matches the arity
specified by the contract).
Also, change testcases that test creation of proxy contracts to stop
depending on the proxy-ness of -> contracts. This also uncovered a bug
in the testcase that checks that proxy contracts aren't allowed for
the domain in hash/c.
2010-10-21 15:03:42 -07:00
John Clements
b37187da59
added universe-test
2010-10-21 07:19:10 -07:00
John Clements
d18f43a488
cosmetic changes only
2010-10-20 12:05:06 -07:00
Vincent St-Amour
a15236ea4f
Fix opt-lambda:. Merge to 5.0.2.
2010-10-20 14:32:37 -04:00
Robby Findler
b91a0da469
fixed and ->i bug that could cause expressions to be evaluated twice
2010-10-20 08:37:26 -05:00
John Clements
70898379c5
copied 'mzlib/convert-prop attachment from outer layer to inner layer.
2010-10-19 23:28:45 -07:00
Sam Tobin-Hochstadt
9cc35d59fe
Fix fuzz tester prop.
2010-10-19 17:58:29 -07:00
John Clements
0536d52efd
looks like a fix for cond
2010-10-19 17:50:35 -07:00
Robby Findler
ea985a81d6
added some more information to the error messages when a syncheck test case fails
2010-10-19 18:41:20 -05:00
Sam Tobin-Hochstadt
50bf3dc1be
Add zo-read/parse/run fuzz tester.
2010-10-19 14:51:13 -07:00
John Clements
2083181d2e
got testing harness working again.
2010-10-19 14:37:44 -07:00
Jay McCarthy
afd3a90607
Adding preamble to make-xexpr-response
2010-10-19 11:29:49 -07:00
Matthew Flatt
ddca8cd29b
fix non-inlined `in-vector' sequence on proxied vectors
...
Merge to 5.0.2
Closes PR 11225
2010-10-18 13:48:22 -07:00
Mike Sperber
32455894bc
Unbreak the test-engine-test.rkt test suite.
...
- signatures are only in ASL now
- the error messages for the DMdA languages are different
2010-10-18 09:37:48 +02:00
Matthew Flatt
caa747e5c6
fix an interaction of `dynamic-wind' pre thunks and composable continuations
...
Merge to 5.0.2
2010-10-16 19:44:33 -06:00
Jay McCarthy
e6b2965d39
Re-enabling tests
2010-10-15 13:08:39 -06:00
Jay McCarthy
f6fbc85d1b
Adding test printing tests
2010-10-15 13:08:38 -06:00
Jay McCarthy
e8ceade2a5
Little stress tests
2010-10-15 13:08:38 -06:00
Vincent St-Amour
12a5454b14
Removed logging when no optimization actually happens.
2010-10-14 14:13:06 -04:00
Robby Findler
dac011bc9f
move the signature coverage test to ASL since signatures are now only in ASL
2010-10-14 11:45:04 -05:00
Robby Findler
61188f3e44
adjusted to new error messages
2010-10-14 10:06:26 -05:00
Vincent St-Amour
3f5ea8a5be
Fixed a test to reflect implicit let in cond instead of implicit begin.
2010-10-14 10:53:43 -04:00
Robby Findler
3e9858b001
added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed.
2010-10-13 15:55:17 -05:00
Robby Findler
798e35bb4c
fixed a bug in the test suite so that test errors are now (all) reported to stderr instead of stdout
...
also added a test suite for teh 'language in the source' language
2010-10-13 15:55:17 -05:00
Matthew Flatt
6e23fcda5f
fix _short' and other non-
_int' integer types, and add `_intptr' test
2010-10-13 08:50:47 -06:00
Matthias Felleisen
df62ca47e9
added 'function', Closes PR 11283
2010-10-13 10:31:00 -04:00
Mike Sperber
bb098fc77c
Added rudimentary test suite for test engine.
2010-10-13 14:01:07 +02:00
Vincent St-Amour
27e722f27b
Inexact-Complex -> Float-Complex
2010-10-12 16:47:46 -04:00
Vincent St-Amour
a59a99c42d
Changed the TR numeric tower to use the new flonums.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
f3ae9c73b0
Changed the interface for running single optimizer tests.
2010-10-12 16:47:45 -04:00
Matthew Flatt
bf4fc2574c
fix syntax colorer for #true and #false
2010-10-12 08:22:12 -06:00
Matthew Flatt
99df8e1267
allow internal definitions in when',
unless', cond,
case', `match'
2010-10-12 06:41:49 -06:00
Eli Barzilay
6295824851
Some additional tests, and use () instead of {} for racket sexprs
2010-10-11 15:07:28 -04:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Mike Sperber
219c91d8e7
Check parametric struct/record signatures eagerly.
2010-10-08 17:01:47 +02:00
Mike Sperber
87da2f35b9
Provide English and German versions of deinprogramm/signature/signature.
2010-10-08 11:19:38 +02:00
Vincent St-Amour
db0046101c
Improved TR's error messages when all domains but one have been eliminated.
2010-10-07 18:30:35 -04:00
Matthew Flatt
65ad6aee20
fix `touch' to run a suspended future in the runtime thread
...
if no future thread is running the future; also adjust the
policy for suspending a future so that even synchronized
operations can suspend if there's other work to be done;
also also fix `current-future' for nested `touch'es and when
parallel futures are disabled
2010-10-07 14:58:53 -06:00
Matthew Flatt
15302dc844
adjust futures to decouple blocked futures from worker threads
...
which required adding a notion of "lightweight continuation" to
the runtime system, where a lightweight continuation involves
only frames from JIT0generated code (so that details of the stack
layout are known, for example)
2010-10-07 07:39:16 -06:00
Vincent St-Amour
3ec9503da9
Changed the typed benchmark harness to reflect optimization on by default.
2010-10-06 17:32:31 -04:00
Vincent St-Amour
abcbce129b
Changed the optimizer's test harness for optimization on by default.
2010-10-06 17:32:30 -04:00
Jon Rafkind
2f730f479c
add keyword argument to eli-tester that allows for silent successes
2010-10-06 11:10:43 -06:00
Jay McCarthy
57d27373ac
Fixing struct pattern optimization
2010-10-05 09:55:16 -06:00
Matthew Flatt
5a7ef5ee3f
some unsafe-...* fixes on chaperones
2010-10-05 06:29:47 -06:00
Matthew Flatt
649242ac86
fix JIT-inlined vector-set!' and
set-box!' to not mutate immutable
2010-10-05 06:29:47 -06:00
Eli Barzilay
8709715bf4
Add a test file to check the hack that errortrace uses.
...
(Makes it easy to know when it breaks, and hopefully to fix it when that
happens)
2010-10-04 22:22:24 -04:00
Jay McCarthy
0c47e572c0
Using unsafe operations in racket/match
2010-10-04 15:54:59 -06:00
Ryan Culpepper
ad76c9ea7b
fixed splay-tree bug
2010-10-04 11:54:03 -06:00
Ryan Culpepper
4aef03795d
added ordered-dict test
2010-10-04 11:54:03 -06:00
Vincent St-Amour
5a67535a95
Got rid of a broken subtyping rule.
2010-10-01 17:48:47 -04:00
Vincent St-Amour
f7436b59fb
Delete compiled benchmarks when testing.
2010-10-01 17:48:46 -04:00
Matthew Flatt
d6684dad8c
fix cstruct alignment handling
2010-10-01 10:49:40 -06:00
Matthew Flatt
4b120e5d86
add `proxy-prop:application-mark'
2010-09-29 12:26:46 -04:00
Robby Findler
2649e21e4b
fixed race-condition in hangman test case
2010-09-24 20:33:58 -05:00
Matthew Flatt
c1aa594657
add fvectors and unsafe-{s,u}16-{ref,set!}
2010-09-24 16:32:07 -06:00
Stevie Strickland
d2a3cbf6d0
Add better first-order checking for ->d and ->i.
...
Closes PR 11247.
2010-09-23 14:35:45 -04:00
Matthew Flatt
3d16dd698a
fix JIT-generated code for `vector-length' on a fixnum
...
and also code for operations like `fl<' on fixnums in
certain build modes (CGC, PPC)
2010-09-23 06:46:10 -06:00
Mike Sperber
593f8588fe
Implement lazy signature checking for ordinary pairs.
2010-09-22 11:03:01 +02:00
Robby Findler
8499a4e65d
added a test suite for the hangman teachpack
2010-09-21 15:27:49 -05:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Kevin Tew
faa0c86f50
Places: fix asynchronous receive
2010-09-20 08:42:55 -06:00
Matthew Flatt
fa7dd9b522
rename file to avoid :, which is not allowed under Windows
2010-09-20 03:31:18 -06:00
Stevie Strickland
3325350026
At Robby's request, remove the check for proxy-of?.
...
Due to the bad interaction between procedure-rename and getting the
contract info from the proxy/chaperone, this will cause a failure in
the contract test cases. I'm submitting a bug report for that issue.
2010-09-18 13:55:09 -04:00
Matthew Flatt
d92c4e44e2
fix make-reader-graph on proxied vectors
2010-09-17 18:42:29 -06:00
Ryan Culpepper
0d76f8ecbf
added data/order, docs
...
changed splay-tree, skip-list constructors to take orders
2010-09-17 16:54:54 -06:00
Ryan Culpepper
b74f3461e1
added general order functions
2010-09-17 16:54:54 -06:00
Matthew Flatt
f663307252
fix problem with procedure-chaperone, keywords, and proxy properties
2010-09-17 16:29:15 -06:00
Matthew Flatt
3866c3e450
generalize `flvector-copy' to support start and end indices
2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456
Added flvector-copy (with tests and docs).
2010-09-17 13:35:01 -06:00
Robby Findler
c6fc7137ee
Adjusts the contract system so that it preserves the names of functions.
...
closes PR 11220
Altho, this does not fix the case where a function is being passed thru
another contracted function. Eg, when you give the identity function
this contract: (-> (-> integer? integer?) (-> integer? integer?))
if you pass some function with a name in there, it won't come
back with a name anymore (indeed, it won't even have the name
anymore in the body of the function).
For that, the fix would have to be put into each of the function
contract combinators.
2010-09-17 11:30:04 -05:00
Matthew Flatt
232a580e53
add prop:proxy-of'; Fix
chaperone-of' on keyword-accepting procedures
2010-09-17 08:55:46 -06:00
Jay McCarthy
2447d8d07c
Adding test case to clarify student's error
2010-09-16 21:00:05 -06:00
Jay McCarthy
01a41a812e
Closing pr11216. Adding one armed check-error to teaching languages.
...
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]
Here is an example:
(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)
Here is the output:
Ran 4 tests.
2 of the 4 tests failed.
No signature violations.
Check failures:
check-error encountered the following error instead of the expected divide by zero
:: /: division by zero
in ex.rkt, line 2, column 0
check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Stevie Strickland
a930719a87
Add the contract information to chaperoned boxes, hashes, and vectors.
2010-09-16 20:49:04 -04:00
Jay McCarthy
afcc7c818d
Fixing redirectget test
2010-09-16 13:42:47 -06:00
Ryan Culpepper
1a03a47842
updated splay-tree & skip-list interfaces, docs, tests, performance tests
2010-09-16 13:20:07 -06:00
Ryan Culpepper
19be445d89
contracts for gvector, skip-list
...
reorganized tests
2010-09-16 13:20:06 -06:00
Stevie Strickland
2677cbf1a4
Cleanups to first-order checking for box/vector/hash contracts.
...
* We no longer capture a contination when we have blame information.
* We perform first-order checks more eagerly in the mutable case.
2010-09-16 15:04:41 -04:00
Stevie Strickland
b416b7e5bb
Now migrate vector/c and vector-immutable/c.
...
Also add old-style vector/c to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
3028f2d142
Convert vectorof/vector-immutableof to the new regime.
...
Also add old-style vectorof to mzlib/contract.
2010-09-16 15:04:41 -04:00
Blake Johnson
c88eb704c7
removing indirects from zo handling
2010-09-16 12:45:37 -06:00
Jay McCarthy
4f49658835
Fixing problem reported by Robby.
...
Contracts intefere with safety marks.
2010-09-16 12:45:37 -06:00
Jay McCarthy
ab5a9ff1e8
Removing extra run-tests
2010-09-16 12:45:37 -06:00
Jay McCarthy
1f4c525245
Fixing pr11214
2010-09-16 12:45:37 -06:00
Jay McCarthy
4a89ccea5d
Fixing an annoyance with eli-tester when the error string contains ~
2010-09-16 12:45:36 -06:00
Vincent St-Amour
7e2094f2d7
Added a test for optional let annotations.
2010-09-16 13:24:10 -04:00
Vincent St-Amour
e03e53b1cb
Fix some optimizer test logs to reflect racket changes.
2010-09-16 10:48:28 -04:00
Vincent St-Amour
9f87b5a7e6
Made some type annotations optional in the for: macros.
2010-09-15 20:21:51 -04:00
Vincent St-Amour
8b60085a17
Removed useless requires.
2010-09-15 20:21:51 -04:00
Vincent St-Amour
a10d145f25
Added annotated versions of the for macros that generate vectors.
...
They are purposedly left out of the documentation since the typchecker
can't currently handle their expansion.
2010-09-15 20:21:50 -04:00
Vincent St-Amour
65c502f9d7
Added a test to make sure derived lists accessors don't get optimized then they shouldn't.
2010-09-15 20:21:50 -04:00
Stevie Strickland
e3678a937e
Change box-immutable/c to use box/c with #:immutable #t.
2010-09-15 17:05:34 -04:00
Stevie Strickland
99e5d6fd6c
Add appropriate syntax properties to uses of box/c.
2010-09-15 16:57:17 -04:00
Stevie Strickland
994ad6d10f
Now change box/c to use proxies or chaperones appropriately.
...
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract. Change the docs so that the docs for mzlib/contract
contain the right information.
Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat. Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).
2010-09-15 16:57:17 -04:00
Stevie Strickland
4a48da022b
Adding syntax properties for contract obligations to uses of hash/c.
2010-09-15 15:01:27 -04:00
Stevie Strickland
56b83e4a96
Add chaperone-based hash/c contracts.
...
* Domain contracts must be either flat or chaperone contracts.
* When the domain is a chaperone contract, hash/c must check
that the hash is equal?-based.
2010-09-15 13:57:50 -04:00
Stevie Strickland
d2b3ee8892
Code and test fixes for new chaperone-based hash/c contracts.
2010-09-15 13:37:37 -04:00
Robby Findler
3121ab0fce
I agree with Stevie that 1 is the right answer here.
2010-09-15 08:23:34 -05:00
Stevie Strickland
ec0711bf49
Add chaperone contract-related properties.
...
* Flat contracts are chaperone contracts, and chaperone contracts
are (proxy) contracts.
* Check in chaperone contracts that a chaperone (or chaperone-friendly
value) is indeed returned.
2010-09-14 18:29:39 -04:00
Stevie Strickland
56a5a2627e
Enforce that flat contracts return the original value.
...
Also fix up tail call contract handling, which was affected by this change.
2010-09-14 18:28:46 -04:00
Ryan Culpepper
ae645a18c1
added dict-*-contract to racket/dict
...
added experimental ordered-dict generics (not public yet, no docs)
2010-09-14 12:31:26 -06:00
Ryan Culpepper
58aa6873fe
added data/heap tests
...
doc fixes
2010-09-14 12:31:26 -06:00
Matthew Flatt
b601aa1ca3
fix pretty-print graph bug
2010-09-14 08:05:35 -06:00
Ryan Culpepper
999c33827c
tests for splay-tree and skip-list
2010-09-13 13:21:04 -06:00
Jay McCarthy
43d527818e
Fixing pr11196 and fixing bug in hash-eqv serialization
2010-09-13 10:44:21 -06:00
Robby Findler
1dc555e0af
fixes _ in contract-names for ->i
...
closes PR 11185
2010-09-11 07:48:50 -05:00
Robby Findler
93ecaa0535
fixed object-contract name tests
2010-09-11 07:36:21 -05:00
Robby Findler
d8a495de94
fixed first half of PR 11185
2010-09-11 07:12:17 -05:00
Sam Tobin-Hochstadt
979561354d
Fix internal error when single value expected.
2010-09-10 18:29:34 -04:00
Blake Johnson
1cb11ce6cc
re-enabling tests
2010-09-10 14:46:04 -06:00
Blake Johnson
407a36c9d2
Changing memory limit
2010-09-10 14:46:04 -06:00
Blake Johnson
e94823b82c
Removing pieces of zo-test-worker we dont care about
2010-09-10 14:46:03 -06:00
Blake Johnson
0d136ba4c7
never sharing hashes and trace debugging
2010-09-10 14:46:03 -06:00
Blake Johnson
32a9e60abe
traversing inside closures and using a seen set for lists
2010-09-10 14:46:03 -06:00
Blake Johnson
2dfaab00f4
fixing closure problem
2010-09-10 14:46:03 -06:00
Blake Johnson
ecc9ceb842
zo-marshal fixes and switching back to prefabs
2010-09-10 14:46:03 -06:00
Blake Johnson
54f2d34a2e
encoding wraps and fixes for zo-marshal sharing
2010-09-10 14:46:02 -06:00
Blake Johnson
9599304ca9
zo-marshal fixes and read.c fix for hash tables in symbol table
2010-09-10 14:46:02 -06:00
Blake Johnson
f27fe3d5c9
zo-parse debugging and read in zo-exs
2010-09-10 14:46:01 -06:00
Matthew Flatt
ff9b535dc6
fix hash proxying in the case that proxied key has no value
2010-09-10 12:46:58 -06:00
Robby Findler
44fe632da5
fixed two bugs in ->i:
...
- when optional arguments didn't also have rest args,
it generated the wrong wrapper function
- the object-contract interaction was broken;
it was not adding the this argument in
Also removed the hack added earlier this eve.
closes PR 11180
2010-09-09 21:42:41 -05:00
Vincent St-Amour
0166ece180
Extended pair optimization to the rest of the standard derived pair accessors.
2010-09-09 18:54:34 -04:00
Vincent St-Amour
7450821068
Refactoring.
2010-09-09 18:54:34 -04:00
Vincent St-Amour
024f873947
Extended pair optimizations to some derived pair accessors.
2010-09-09 18:54:33 -04:00
Vincent St-Amour
7f546434ed
Included expected optimization logs in the test files.
2010-09-09 18:54:33 -04:00
Will M. Farr
81b1ed6e8b
New updates to for/vector, for*/vector, for/flvector and for*/flvector.
...
Now use for/fold to thread the index through the iteration form, so
that all variants can take advantage of the optional #:length
argument. Previously, only the for/vector and for/flvector used the
The behavior when #:length does not match the number of iterations has
changed: iteration stops when either the vector is full, or the
requested number of iterations has been achieved, whichever comes
first. If #:length is larger than the number of iterations performed,
then the remaining slots in the vector are filled with the default
argument of (make-vector ...), which is currently 0.
2010-09-09 16:23:04 -04:00
Will M. Farr
3d016150a3
Updates to for/vector, for/flvector forms and documentation.
...
- Now the faster forms take a #:length keyword to designate the length
of the vector to pre-allocate.
- The for/[fl]vector forms take multiple body expressions and set the
vector component to the value of the last one.
- When given a #:length argument, the for/vector and for/flvector
forms check that the iteration is not exceeding the given length,
raising exn:fail if it does.
- Test cases for the multiple body expressions and the exception for
excessive iterations have been added.
- Doc modifications to bring the docs in line with the new forms.
- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.
- Note that no test is made for a number of loop iterations that is
smaller than the given vector length. Also, the for*/[fl]vector
forms do not optimize when given a #:length argument. These are
areas for future improvement.
2010-09-09 16:22:53 -04:00
Sam Tobin-Hochstadt
00a8a85f9d
Fix typechecker tests for new environment setup.
2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
b6b840076b
Lots more laziness, and useless require removal.
2010-09-09 16:08:03 -04:00
Casey Klein
a773471b7e
Strengthens the definition-finder tests
2010-09-09 13:42:15 -05:00
Robby Findler
72afa3d7b3
fixed the teachpack test suite for the new teachpack dialog
2010-09-09 13:17:27 -05:00
Casey Klein
f1be76f2e2
Special-cases DrRacket's definition-finder to find Redex metafunction definitions
2010-09-09 12:07:24 -05:00
Kevin Tew
324a0ce815
Places: check arguments
2010-09-09 10:28:34 -06:00
Kevin Tew
732c62b2a5
Places: benchmarks
2010-09-09 10:28:34 -06:00
Eli Barzilay
ee587ce327
Move the contract stress tests into their proper place.
2010-09-09 12:22:03 -04:00
Robby Findler
ba78b8389b
added a test to show a performance problem in the contract library
2010-09-09 09:29:42 -05:00
Mike Sperber
9d35548997
Unbreak `list-of'.
2010-09-09 13:17:22 +02:00
Sam Tobin-Hochstadt
a0e77705e5
Propogate #:mutable for polymorphic structs.
...
Closes PR 11127
2010-09-08 10:47:51 -04:00
Sam Tobin-Hochstadt
91fefa055e
Make syntax of #{} less accepting of errors.
2010-09-08 10:24:58 -04:00
Vincent St-Amour
14097dd90e
Fix broken tests that depended on an unsafe optimization.
2010-09-07 20:11:44 -04:00
Stevie Strickland
6d7be2bab3
Fix expected result from contract test that fails due to sorting.
2010-09-07 11:47:14 -04:00
Ryan Culpepper
cf47297a07
gvector tests, fixed bugs, added for/gvector docs
2010-09-06 22:15:29 -06:00
Jay McCarthy
f440332768
Fixing confusing printing from Arjun
2010-09-06 17:03:16 -06:00
Jay McCarthy
f2b5a454bd
Fixing problem reported by Nadeem Abdul Hamid
2010-09-06 10:35:03 -06:00
Robby Findler
a2b11a0329
unbroke the test suite ...
2010-09-04 11:18:39 -05:00
Robby Findler
994c28d8b0
started a test suite for the check syntax coloring annotations that the contract system leaves behind
2010-09-04 11:18:38 -05:00
Matthew Flatt
26e0ad955a
fix `unsafe-set-box*!'
2010-09-03 15:44:34 -06:00
Robby Findler
ad9548db7d
added a README
2010-09-02 15:41:02 -05:00
Robby Findler
a12f47f506
moved the teaching language test suites to their own directory
2010-09-02 15:41:02 -05:00
Jay McCarthy
f272acec5f
Correcting bug discovered by Arjun
2010-09-02 07:04:22 -06:00
Matthew Flatt
962ceb6b63
fix interaction between copy prop and once-used binding elimination
...
in the bytecode compiler, which could cause an expression to be
duplicated
2010-09-01 15:22:32 -06:00
Matthew Flatt
69658697b1
add proxies and rename chaperone properties to proxy properties
...
where a proxy is less constrained in its conversions but more
constrained in where it can be used
2010-08-31 19:15:20 -06:00
Ryan Culpepper
bfb1eed2e9
updated test
2010-08-31 17:15:36 -06:00
Ryan Culpepper
712a8f60e9
updated syntax/parse/exp./splicing, updated honu use
...
fixed stress.rkt
2010-08-31 16:21:44 -06:00
Ryan Culpepper
d7a87c79e0
Merged changes to syntax/parse
...
Changed backtracking algorithm, runtime representations
- syntax classes, ~describe no longer implicitly commit
- ~describe no longer delimits effect of cut
Added keyword & optional args for stxclasses
Added ~do and #:do, ~post, ~commit and #:commit,
~delimit-cut and #:no-delimit-cut
Added syntax/parse/debug, syntax/parse/experimental/*
- expr/c for contracting macro sub-expressions
moved from syntax/parse to syntax/parse/experimental/contract
- syntax class reflection (~reflect, ~splicing-reflect)
- eh-alternative-sets (~eh-var)
- provide-syntax-class/contract
(only for params, not attrs so far)
Changed ~fail to not include POST progress (#:fail still does)
old (~fail _) is now (~post (~fail _))
Made msg argument of ~fail optional
Removed generic "repetition constraint violated" msg
Removed atom-in-list stxclass
Removed unnecessary datum->syntax on cdr of pair pattern
massive improvements to long-list microbenchmarks
Optimization: integrable syntax classes (id, expr, keyword)
need better measurements
Optimization: ad hoc elimination of head/tail choice point
for (EH ... . ()) patterns
Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Matthew Flatt
76c3c76214
fix yet more ss<->rkt problems that interfered with *SL executables
...
Closes PR 11106
2010-08-30 14:35:18 -06:00
Kevin Tew
bc5d1c2011
Places: added shared-flvector and shared-byte string
2010-08-30 08:50:07 -06:00
Robby Findler
cfa1c9bf43
fixed a bug in the test suite (so that now the language is only changed when needed)
2010-08-30 09:23:34 -05:00
Robby Findler
35de0b22d0
added a test coverage test suite
2010-08-30 09:23:34 -05:00
Robby Findler
ab839f9efd
minor rackety
2010-08-30 09:23:34 -05:00
Robby Findler
eb75edfaa1
renamed drracket test suite
2010-08-30 09:23:33 -05:00
Jay McCarthy
f899e03b59
Moving stress tests
2010-08-30 06:39:12 -06:00
Jay McCarthy
6a43e379e1
Correct test usage of port
2010-08-30 06:39:11 -06:00
John Clements
4d1d1e5b0e
removed new stepper test from automatic testing (until fixed).
2010-08-29 10:38:27 -07:00
Vincent St-Amour
e1fd445fa4
Ignored a rounding error between PPC and x86.
2010-08-29 10:17:56 -04:00
Robby Findler
23739a21d8
fixed indentation
2010-08-29 05:17:41 -05:00
Robby Findler
454f8772ab
unbroke Eli's change
2010-08-29 05:17:41 -05:00
Jay McCarthy
bc15f398f2
Increasing FTP test stability
2010-08-28 18:52:39 -06:00
Jay McCarthy
c24d6f94e7
Supporting empty programs in datalog languages, fixes pr11140
2010-08-28 15:54:38 -06:00
Robby Findler
36c2eea571
an attempt to be more windows friendly
2010-08-28 14:06:01 -05:00
Jay McCarthy
33d7eb40e3
Fixing pr11136 and adding tests and fixing old tests re extension change
2010-08-28 08:30:14 -06:00
John Clements
3b94602e2e
added test case for PR 11120
2010-08-27 16:42:32 -07:00
Vincent St-Amour
b386f01ee4
Improved sandboxing with code from Eli.
2010-08-27 18:18:51 -04:00
Vincent St-Amour
f06c2d4926
Removed obsolete comment.
2010-08-27 18:18:51 -04:00
Vincent St-Amour
9f540bce01
Better way to setup the sandbox input.
2010-08-27 14:43:22 -04:00
Vincent St-Amour
1c9e8e05b0
Cleanup of the test harness.
2010-08-27 13:29:43 -04:00
Vincent St-Amour
7cfba9f02d
Renamed tests directory to make more sense with the new structure.
2010-08-27 13:29:43 -04:00
Vincent St-Amour
ca16ac4db5
Improved logging since it's now used for testing.
2010-08-27 13:29:42 -04:00
Vincent St-Amour
18af26ec9b
Test expected optimizations by comparing optimizer logs instead of expanded code.
2010-08-27 13:29:42 -04:00
Robby Findler
c8e68e5e31
updated the docs to reflect that the various checks return void. Also added in some tests to that effect.
2010-08-27 11:27:29 -05:00
Jay McCarthy
7190d423f7
Fixing pr11125
2010-08-26 17:14:09 -06:00
Jay McCarthy
d4e3946ba2
Adding apply stress test from Will M. Farr
2010-08-26 17:14:09 -06:00
Sam Tobin-Hochstadt
0635fc6d75
Create data/ collection.
...
- Initially populated with queues, skip-lists, and interval-maps from unstable/
- Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Vincent St-Amour
46b2a2113a
Use sandboxes instead of duplicate files to test results when optimizing.
2010-08-26 18:08:41 -04:00
Vincent St-Amour
eadc2a7e4c
Exclude directories when testing TR's optimizer.
2010-08-26 17:46:59 -04:00
Vincent St-Amour
ea472a9d57
Added with-asserts, from code from Neil Toronto.
2010-08-26 17:46:58 -04:00
Sam Tobin-Hochstadt
7fc38693ec
Fix tests for new output.
2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
3e4ddde808
Tests for new optimizer additions.
2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
fd2d37a710
Add optimization for `magnitude', fix handling of functions that return floats, not complexes.
2010-08-26 16:59:12 -04:00
Eli Barzilay
8e0f8dd39c
More "~n" -> "\n" changes
2010-08-26 12:11:00 -04:00
Eli Barzilay
7dc4d2e5a6
Change a bunch of "~%" and "~n" in format strings to "\n".
2010-08-25 17:17:01 -04:00
Eli Barzilay
606b7f60dc
Lots of "~e" to "~.s" changes.
2010-08-25 17:17:01 -04:00
Eli Barzilay
e179449d0e
Switch to `racket/base', change some "~e"s to "~.s"s, also reformat and
...
a few minor improvements.
2010-08-25 17:17:01 -04:00
Eli Barzilay
da083f05e8
avoid relying on bash
2010-08-25 17:17:01 -04:00
Kevin Tew
19a00d887e
Places: allow channels in compound data communications
2010-08-25 15:10:15 -06:00
Jay McCarthy
45a8854398
Adding immutable hash operations to ASL
2010-08-25 10:36:36 -06:00
Jay McCarthy
368d711ae2
Optional arguments to hash table constructors in ASL
2010-08-25 10:36:34 -06:00
Sam Tobin-Hochstadt
b08de170bc
Add Futureof' type, types for
future' and `touch'
2010-08-25 10:27:07 -04:00
Matthew Flatt
cf300b91b9
JIT-inline even?' and
odd?' on fixnums
2010-08-24 19:29:20 -06:00
Robby Findler
5de6ff2ada
Adjusts the prompt handling so that it submits expressions that signal
...
arbitrary read errors, but does not submit those that raise eof errors.
closes PR 11126
2010-08-24 20:06:45 -05:00
Kevin Tew
b86e48a567
Places: benchmark tests
2010-08-24 10:39:07 -06:00
Jon Rafkind
e077b87d50
fix PR 11123: 0-ary generator yield
2010-08-24 00:11:22 -06:00
Jon Rafkind
4bca9842f5
Make in-generator work when yield returns multiple values
2010-08-23 12:50:08 -06:00
Mike Sperber
a4e7ef3594
Push mixed' contracts down into lazy
struct' contracts.
2010-08-23 14:40:21 +02:00
Sam Tobin-Hochstadt
72f31ffec0
Use current-readtable as the base for the TR readtable.
...
Closes PR 1115.
2010-08-21 14:05:46 -04:00
Robby Findler
32f1f1d8f1
the error window for check syntax now goes away when you Run or edit the definitions window
...
closes PR 11101
2010-08-20 17:39:45 -05:00
Robby Findler
d93fc805f3
maybe this will help with some of the race conditions showing up in drdr
2010-08-20 17:39:45 -05:00
Jay McCarthy
54e16b18ff
Fixing error message on different root installations
2010-08-20 10:35:36 -06:00
Jay McCarthy
9e2ee8ecc6
Fixing another print related test
2010-08-20 10:35:36 -06:00
Jay McCarthy
a8b0a7dce6
Adding zo size reporter test
2010-08-20 10:35:36 -06:00
Robby Findler
22f2e18a99
Fixed a bug in provide/contract that caused it to lose the source location of the original contract, when .zo files were compiled
2010-08-19 23:12:33 -05:00
Will M. Farr
82096abb1b
Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector.
2010-08-19 18:45:13 -04:00
Jay McCarthy
44b34c37a8
Small adjustment to Matthews change
2010-08-19 16:39:54 -06:00
Jay McCarthy
5eb8f181f6
Adding WebSocket stress test and improving fit output
2010-08-19 16:34:16 -06:00
Jay McCarthy
1f61e7eb7f
Adding WebSocket example
2010-08-19 16:34:15 -06:00
Jay McCarthy
347e946548
Adding WebSocket support
2010-08-19 16:34:15 -06:00
Jay McCarthy
6f272d2e6a
Improving PLAI testing
2010-08-19 10:00:36 -06:00
James Swaine
1a2c0546a6
current-future now returns #f if not inside a future, instead of null. Added documentation for current-future.
2010-08-19 09:36:25 -05:00
Matthew Flatt
50d5dc352e
add missing test for *SL define-struct
2010-08-19 07:58:43 -06:00
James Swaine
a41c9b882a
Added (current-future) to the futures module (as an inlined, nonblocking primitive).
2010-08-18 23:33:22 -05:00
Robby Findler
3885223cee
fixed an ->i bug
2010-08-18 19:30:36 -05:00
Matthew Flatt
e99c53eee8
change `define-type' to use #:reflection-name instead of prop:custom-write
2010-08-18 16:13:58 -06:00
Matthew Flatt
4299b12d5b
fix pretty-print problems, especially related to the custom-write property
2010-08-18 16:13:57 -06:00
Sam Tobin-Hochstadt
90eeef60d7
Provide -> in typed-scheme/no-check.
...
- Closes PR 10882
2010-08-18 16:37:32 -04:00
Kevin Tew
57bda136ea
Places: prevent mastergc gen0.big_pages from leaking onto a places gen0.big_pages list
2010-08-18 13:53:08 -06:00
Jay McCarthy
9a31ac5363
Fixing formlet additions
2010-08-18 13:17:11 -06:00
Jay McCarthy
e6219740b8
Correcting problems in Horace's path
2010-08-18 13:17:11 -06:00
Jay McCarthy
3d43c7e7ac
Initial versions from Horace Dynamite
2010-08-18 13:17:11 -06:00
Jay McCarthy
04d3a23e1c
Removing unnecessary newlines and making tests newline accurate
2010-08-18 13:17:11 -06:00
Jay McCarthy
3be8e3ba86
A little documentation
2010-08-18 13:17:10 -06:00
Jay McCarthy
1aac3c8e53
Expanding stress library
2010-08-18 13:17:10 -06:00
Matthew Flatt
0d9f5016ba
fix bytecode-writing inconsistencies related to syntax objects and paths
...
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Jay McCarthy
fe91e997ee
Adding stress testing library
2010-08-13 15:06:14 -06:00
Jay McCarthy
58b9c7a6e4
Fixing seqn-count
2010-08-13 15:06:14 -06:00
Jay McCarthy
339681018a
Fixing pr11100
2010-08-13 15:06:13 -06:00
Noel Welsh
5a71a20af9
Merge branch 'master' of pltgit:plt
2010-08-13 17:54:20 +01:00
Sam Tobin-Hochstadt
3359032ad5
Handle structs with special constructors and mutability.
...
Closes PR 11089.
2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
0c1dfd3c5e
Require flat contracts in box/c, hash/c, and vector/c.
...
Closes PR 11085.
2010-08-13 11:06:56 -04:00
John Clements
215c8dc960
best guess on what keystrokes will trigger insert-()-pair under windows & unix.
2010-08-13 11:01:05 -04:00
John Clements
cfe503f1ce
updated framework test framework:
...
- can now test multi-key sequences
- can now use tests with 'escape
- README changed .ss to .rkt
- added test cases for c:c;c:[
2010-08-13 11:01:04 -04:00
Robby Findler
bdd37c58f0
made the optional arguments clause itself optional for ->*
2010-08-13 08:14:13 -05:00
Robby Findler
120e6a25ee
added #:pre and #:post to ->*
2010-08-13 07:05:27 -05:00
Stevie Strickland
a9f6ea69bf
Fix creation of a reversed List type from ListDots substitution.
2010-08-12 17:46:39 -04:00
Jay McCarthy
8c32de33c6
Adding sequence support for mlists and more sequence xrefs
2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762
Adding more sequence operators
2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd
Adding vector-set* and dict-set* exn tests
2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6
Adding dict-has-key? and updating unstable
2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8
Removing dict functions from unstable
2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb
Adding dict-ref bang
2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309
Add dict-set*
2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a
Adding dict-keys,values,->list
2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea
Rename hash-range and domain to keys and values
2010-08-12 14:10:17 -06:00
Jay McCarthy
e06f0e78b2
Adding hash-set* and hash-set*bang
2010-08-11 17:39:48 -06:00
Jay McCarthy
58ad011ce9
Adding hash->list
2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7
Adding hash-domain and hash-range to racket/base
2010-08-11 16:37:46 -06:00
Jay McCarthy
928dfd6fa2
FTP tests without a network connection
2010-08-11 13:49:10 -06:00
Robby Findler
367779fd27
added contract-struct (like define-contract-struct, but with a
...
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Robby Findler
26187fed8f
fixed a bug in the mzlib contracts test suite
2010-08-10 19:27:17 -05:00
Robby Findler
d15fc5c102
added naming to ->i contracts
2010-08-10 16:52:26 -05:00
Robby Findler
d7503195df
fixed a bug where and/c (when given ho contracts) would check them in the wrong order
2010-08-10 16:52:26 -05:00
Robby Findler
561d33fddd
improved the name printing for between contracts
2010-08-07 14:35:08 -05:00
Robby Findler
98fb0e5b3a
moved a bunch of tests into the official test suite.
2010-08-07 14:35:08 -05:00
Robby Findler
9d98533e23
cleaned up a few little things here and there to pass the last of the existing tests
2010-08-07 14:35:08 -05:00
Robby Findler
da9f5bd61a
fixed a few bugs in the ->i implementation and the test suite.
2010-08-07 14:35:07 -05:00
Robby Findler
5922ceda74
improved parsing of #:pre and #:post for ->i (fixed bugs and added more checks to the syntax)
2010-08-07 14:35:06 -05:00
Robby Findler
c1b558e1a3
adjusted the syntax of ->i so that #:post and #:pre get a list of variables now
2010-08-07 14:35:06 -05:00
Robby Findler
8f6080733f
fixed some bad ->i test cases
2010-08-07 14:35:05 -05:00
Robby Findler
64a1ddcda9
adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite
2010-08-07 14:35:05 -05:00
Robby Findler
18e9d886e2
added an ->i test suite, based on the ->d one (doesn't test for indy-ness tho)
2010-08-07 14:35:04 -05:00
Jay McCarthy
8a67fceb4a
Added attributes to textarea-input based on patch from Horace Dynamite
2010-08-06 20:08:21 -06:00
Vincent St-Amour
4d43c21565
Added a test for unboxed nested loops.
2010-08-05 17:21:54 -04:00
Vincent St-Amour
c653a8e655
Changed optimization order for reals in complex operations.
...
Made generated names more informative and updated tests accordingly.
2010-08-05 16:43:36 -04:00
Kevin Tew
35a65f90c2
Places: refactor place-channel use
2010-08-05 11:05:54 -06:00
Vincent St-Amour
b18f2353ca
Generalize naturals to integers to minimize annotations on mutated variables.
2010-08-05 09:04:25 -04:00
Vincent St-Amour
b1e744b1e1
Fixed tests that used complex literals.
2010-08-05 09:04:24 -04:00
Vincent St-Amour
bdf84f371d
Optimize coercion of integer literals.
2010-08-05 09:04:23 -04:00
Vincent St-Amour
1fb68707fc
Fixed a test.
2010-08-05 09:04:23 -04:00
Vincent St-Amour
fb31a6556e
Added optimization for make-polar
2010-08-05 09:04:22 -04:00
Kevin Tew
3744e224b7
Places: fix sending place channels over place channels
2010-08-04 13:23:00 -06:00
Vincent St-Amour
b47a77dd57
Eliminate user-introduced boxing.
2010-08-02 21:33:30 -04:00
Sam Tobin-Hochstadt
431ff8d794
Don't treat Error types as potentially non-regular. (Reported by SK)
2010-08-02 15:41:42 -04:00
Robby Findler
5e8e4c6ffc
a change to hopefully improve the error message this file (sometimes) get in drdr
2010-07-31 10:29:07 -05:00
Matthew Flatt
0e8af6bc5d
fix acc/mut error msgs from `define-struct' in teaching languages
...
Merge to 5.0.1
Closes PR 11062
2010-07-30 11:16:32 -06:00
Vincent St-Amour
27f8279711
Extended use-site analysis to look through trivial rebindings, to support for loops.
2010-07-29 18:29:59 -04:00
Vincent St-Amour
260de85a6e
Make sure that let-bound functions don't escape through a rhs before we change their interface.
2010-07-29 18:29:58 -04:00
Vincent St-Amour
f08456cf07
Extended unboxing of let-bound functions to support let loops.
2010-07-29 18:29:57 -04:00
Vincent St-Amour
3e9e5560bf
Be more aggressive when unboxing let bindings.
2010-07-29 18:29:54 -04:00
Vincent St-Amour
bb14424918
More tests for unboxed args of let-bound functions.
2010-07-29 18:29:54 -04:00
Vincent St-Amour
9d471df8b9
Added unboxed arguments to let-bound functions.
2010-07-29 18:29:53 -04:00
Vincent St-Amour
b0d299d1b8
Added unboxed letrec-syntaxes+values bindings.
2010-07-29 18:29:52 -04:00
Vincent St-Amour
8dc23d43eb
Added unboxed letrec bindings.
2010-07-29 18:29:52 -04:00
Blake Johnson
8b195d1c3c
closing stderr in zo-test
2010-07-28 14:42:48 -06:00
Jay McCarthy
8d36dfad81
Fixing parts of zo-marshal re protect-quote; parallelizing zo-test; there is no the path error again in zo-marshal though
2010-07-27 11:10:54 -06:00
Jay McCarthy
28432037af
Fixing up a few things in zo-parse/etc
2010-07-26 12:18:01 -06:00
Blake Johnson
8eeed89982
zo-marshal wrap fixes, optional port for zo-parse
2010-07-26 12:06:02 -06:00
Vincent St-Amour
4803eafa67
Fixed a bug with exact complexes.
2010-07-25 22:15:18 -04:00
Vincent St-Amour
ec39ea5f33
Added one more test for unboxed let bindings.
2010-07-24 17:01:23 -04:00
Vincent St-Amour
5d86813267
Fixed a test that could not work because of shadowing in hand-optimized code.
2010-07-23 18:52:46 -04:00
Vincent St-Amour
ea580e6ff8
Added a test to the optimizer.
2010-07-23 18:52:43 -04:00
Vincent St-Amour
83987fffac
let bindings of inexact-complex numbers can be replaced by bindings
...
for each of their components.
This allows unboxing of intermediate results that are bound and only
ever used in positions where they would be unboxed.
2010-07-23 18:52:42 -04:00
Vincent St-Amour
063b87697a
Optimized extracting parts of inexact complexes.
2010-07-23 18:52:42 -04:00
Vincent St-Amour
0493e6f762
Refactoring of the optimizer.
2010-07-23 18:52:41 -04:00
Sam Tobin-Hochstadt
5bb730f72c
Optimize (apply + (map f l)) to avoid the intermediate list.
2010-07-23 14:11:40 -04:00
Jay McCarthy
407dcee206
Adding match to ASL
2010-07-22 15:39:53 -06:00
Jay McCarthy
9eb053d4db
Adding define-datatype to ASL
2010-07-22 11:36:04 -06:00
Noel Welsh
74dd59e963
Add missing SRFI-41 and SRFI-98 to tests
2010-07-22 04:45:49 +01:00
Vincent St-Amour
ca106a4134
Replaced the safe specialized nbody benchmark by the unsafe version.
2010-07-21 21:09:43 -04:00
Vincent St-Amour
0ee0886cab
Optimizations on one-argument cases of arithmetic operations.
2010-07-21 21:09:43 -04:00
Vincent St-Amour
4e944f73ab
Added optimization for string-length and bytes-length.
2010-07-21 21:09:42 -04:00
Vincent St-Amour
d6ce6e664f
Added box optimizations.
2010-07-21 21:09:42 -04:00
Vincent St-Amour
b13075a1c0
Changed the interface to typed racket's test harness.
2010-07-21 21:09:40 -04:00
Vincent St-Amour
47195410cb
Added optimization for zero?.
2010-07-21 21:09:40 -04:00
Matthew Flatt
ce03a34318
another ss->rkt repair to exe creator
...
Merge to 5.0.1
2010-07-20 06:37:02 -06:00
Matthew Flatt
f602d11a7f
raco exe: fix missing ss->rkt conversion and remove debugging printf
...
Merge to 5.0.1
2010-07-19 14:00:23 -06:00
Jay McCarthy
5417d7a5b7
Fixing path-only documentation and adding new test case
2010-07-19 13:56:01 -06:00
Matthew Flatt
1ea0880f65
add missing test for continuation change
2010-07-16 20:55:07 -06:00
Vincent St-Amour
8aa4fae613
Added whitespace to the typed racket test harness.
2010-07-16 19:08:21 -04:00
Vincent St-Amour
8563f02ba8
Don't abort typed racket's tests if the main tests fail.
2010-07-16 19:08:21 -04:00
Vincent St-Amour
60bfce14bc
Fixed unsafe optimization that considered floats as complexes.
2010-07-16 19:08:20 -04:00
Vincent St-Amour
01c170c52f
Fixed a segfault in the nbody benchmark.
2010-07-16 19:08:20 -04:00
Vincent St-Amour
b8b852dbc1
Added a test for inexact imaginaries.
2010-07-16 19:08:20 -04:00
Vincent St-Amour
3dab2fbbfc
Fixed benchmarks to typecheck even when not-really-dead code is typechecked.
2010-07-16 19:08:19 -04:00
Vincent St-Amour
4d5b50dee9
Further fixes in overlap checking.
...
Rhss of code dispatching on overlapping structs are no longer
considered dead, and as such, are now typechecked.
Had to fix a test that passed only because some not-really-dead code
was not being typechecked.
2010-07-16 19:08:19 -04:00
Vincent St-Amour
fc29e7e856
Added mutable pair optimizations.
2010-07-16 12:22:16 -04:00
Vincent St-Amour
f21454e711
Fixed an infinite loop.
2010-07-16 12:22:16 -04:00
Vincent St-Amour
c587038b33
The imaginary parts of reals are ignored when doing complex division.
2010-07-16 12:22:15 -04:00
Vincent St-Amour
443d8b9f91
Fixnums and integers can now be coerced for complex operations.
2010-07-16 12:22:15 -04:00
Vincent St-Amour
c645aa7ebc
The imaginary parts of inexact reals are ignored when doing complex multiplication.
2010-07-16 12:22:15 -04:00
Vincent St-Amour
b0788372ea
Fixed bugs in the tests.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
566aeedb59
Better error reporting by the optimizer's test harness.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
7fb1b41a28
The optimizer's test harness now makes sure that optimized and
...
non-optimized versions of the same code evaluate to the same thing.
Unfortunately, this leads to a lot of code duplication. We can't
abstract over optimization like we do for the benchmarks since the
wrapper module would interfere with testing expanded code for
equality.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
748e9e47ad
The imaginary parts of inexact reals are ignored when doing complex
...
addition or subtraction.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
025af5b815
Added coercions for floats with unboxed complex operations.
...
However, this generates superfluous operations involving their
imaginary part of 0.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
fff71e6a1d
Enabled optimization of complex conjugate at the top level of complex operations.
2010-07-16 12:22:12 -04:00
Vincent St-Amour
063211d922
Added unboxed complex conjugate.
2010-07-16 12:22:12 -04:00
Vincent St-Amour
0b0da84eba
Added optimizations for iterating over vectors and strings.
2010-07-16 12:22:12 -04:00
Vincent St-Amour
1e550139aa
Added dead code elimination.
2010-07-16 12:22:11 -04:00
Vincent St-Amour
4e6fc3154b
Added a test for cross-module struct optimization.
2010-07-16 12:22:10 -04:00
Jay McCarthy
c9ccf6d48b
Adding all hash prims per SK
2010-07-16 09:43:03 -06:00
Jay McCarthy
d17deb5fef
Adding hash table functions to ASL
2010-07-15 15:45:54 -06:00
Mike Sperber
de94854243
Unbreak stepper tests.
...
... via a spectacularly ugly hack.
2010-07-14 14:07:13 +02:00
Matthew Flatt
90b586365f
upgrade to latest libffi from git repo (between v3.0.9 and v3.0.10)
2010-07-13 21:12:59 -06:00
Ryan Culpepper
4693abf074
macro-stepper: re-enabled block test
2010-07-13 09:38:52 -06:00
Ryan Culpepper
e36c964a9a
macro-stepper: updated tests
2010-07-13 09:22:52 -06:00
Ryan Culpepper
b8bf5c571a
macro-stepper: add support for #%stratified-body
2010-07-13 09:22:51 -06:00
Mike Sperber
5f25c239f2
Merge remote branch 'local-plt/master'
...
Conflicts:
collects/deinprogramm/define-record-procedures.scm
collects/test-engine/scheme-tests.rkt
collects/test-engine/test-display.scm
2010-07-13 17:13:30 +02:00
Matthew Flatt
818ac8f712
fix bug in new int-def parsing
2010-07-12 18:58:38 -06:00
Matthew Flatt
49ad309630
allow full continuations to escape past a continuation barrier
2010-07-10 07:31:58 -06:00
Matthew Flatt
52d04449a1
improve racket/serialize to handle cycles with mutable prefabs
2010-07-09 14:19:59 -06:00
Matthew Flatt
195b37831b
fix `planet'-path bug in module-name resolver for generated eecutables
2010-07-09 09:48:41 -06:00
Matthew Flatt
0eeb18f4d8
Improve the bytecode optimizer's ability to simplify `letrec's
...
to smaller `letrec' groups or even `let*'.
The goal of the change is to avoid performance surprises
when using internal definitions, especially when mixing
experessions with definitions.
It's a somewhat scary change. Besides the new transformation,
the optimizer pass's coordinate system for `letrec' (and sometimes
`let*') bindings changed.
No standard benchmarks were harmed during the making of this
optimization. (None were improved, either.)
2010-07-08 13:43:40 -06:00
Vincent St-Amour
12a427f5ea
Changed the size of the maze2 benchmark.
2010-07-07 20:46:06 -04:00
Vincent St-Amour
3334d71491
Fixed the fft benchmark.
2010-07-07 19:42:56 -04:00
Vincent St-Amour
7853d33349
Improved unboxed complex operations.
...
Intermediate results are kept as unboxed floats as long as we stay
within complex arithmetic code.
2010-07-07 19:42:56 -04:00
Vincent St-Amour
7921074eef
Avoid boxing intermediate results when doing multiple complex
...
operations in a row.
However, because of values and let-values, we lose float unboxing.
If we have a single complex operation, this is much slower than my
previous implementation (though still faster than generic
operations). With 2 complex operations, the new implementation becomes
faster.
2010-07-07 19:42:55 -04:00
Vincent St-Amour
de52d2ce9f
Avoided duplicate computation in inexact complex division.
2010-07-07 19:42:55 -04:00
Vincent St-Amour
3fb69bc764
Generic inexact complex arithmetic operations are now replaced with
...
the right combinations of unsafe float operations.
2010-07-07 19:42:54 -04:00
Vincent St-Amour
e52d63ee68
Added an optimization for vector-length of known-length vectors.
2010-07-07 19:42:54 -04:00
Matthew Flatt
54216b5ced
internal-definition contexts allow expressions mixed with definitions
...
while the new `#%stratified-body' form provides access to the old
convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
63ec520885
fix problem with Windows pipe writing
2010-07-06 10:59:16 -06:00
Matthew Flatt
96a6f56572
fix problem sharing Windows file handles to subprocess
2010-07-06 06:49:59 -06:00
Matthew Flatt
04fa6c6acd
add `subprocess-group-enabled' for process-group support
...
and fix problems with places and subprocesses
and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Matthew Flatt
5c2ae50e45
add current-subprocess-custodian-mode
2010-07-04 12:42:25 -06:00
Matthew Flatt
fb730cb1c2
custodian box as synchronizable event
2010-07-04 10:42:38 -06:00
Robby Findler
f83784452e
made ->d's optional argument spec itself optional
2010-07-02 20:52:48 -05:00
Vincent St-Amour
389a20795a
Added support for make-flrectangular, flreal-part, flimag-part and
...
their unsafe counterparts to Typed Scheme and its optimizer.
2010-07-02 20:58:30 -04:00
Vincent St-Amour
556734a223
Added coercion of fixnums to floats to the optimizer.
2010-07-02 20:58:29 -04:00
Vincent St-Amour
e8a0a26c2f
Changed the optimizer's test harness to ignore type tables.
2010-07-02 20:58:29 -04:00
Vincent St-Amour
cb0e058cff
Removed spectralnorm-unsafe from the shootout harness.
2010-07-02 20:58:29 -04:00
Vincent St-Amour
a6d11a1df0
Added struct optimizations.
2010-07-02 20:58:28 -04:00
Vincent St-Amour
5d61c7fab8
Ported the maze2 benchmark to typed Scheme.
2010-07-02 20:58:28 -04:00
Sam Tobin-Hochstadt
e989631d56
Add flags for running the optimizer tests and compiling the benchmarks
2010-07-02 19:00:57 -04:00
Matthew Flatt
439bc0a293
add flreal-part',
flimag-part', `make-flrectangular', and unsafe variants
2010-07-02 16:08:15 -06:00
Matthew Flatt
eef7a8ba9d
JIT inline real-part, imag-part, make-rectangular
2010-07-02 16:08:14 -06:00
Matthew Flatt
491ab3c12b
expose internal display/write/print-limiting functionality via `printf'
...
addition of ~.
2010-07-02 16:08:14 -06:00
Sam Tobin-Hochstadt
0e400291e7
Fix inference for heterogenous vectors.
2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
570df7d665
Generalize fixed-length lists to listofs.
...
Closes PR10057.
2010-07-02 17:25:07 -04:00
Vincent St-Amour
458b6b65c9
Added optimization when iterating over lists.
2010-07-02 15:48:06 -04:00
Vincent St-Amour
1886572906
Added support for the 2 versions of optimizer tests to be written in
...
different languages.
2010-07-02 15:48:05 -04:00
Vincent St-Amour
f6077b02f1
Fixed some tests that used to test for an invalid optimization that is
...
now valid.
2010-07-02 15:48:04 -04:00
Vincent St-Amour
f79f617ee8
Calls to vector now return heterogenous vectors, to preserve length
...
information.
2010-07-02 15:48:03 -04:00
Vincent St-Amour
f469e0d8bf
Changed some benchmarks to use known-length vectors.
2010-07-02 15:48:02 -04:00
Vincent St-Amour
8c25e46141
Literal vectors are now given HeterogenousVector types to preserve
...
length information.
2010-07-02 15:48:00 -04:00
Vincent St-Amour
25cb5ef568
Fixed some tests to reflect changes to the optimizer.
2010-07-02 15:47:59 -04:00
Vincent St-Amour
351de3f767
Fixed the behavior of the optimizer on sqrt.
2010-07-02 15:47:58 -04:00
Vincent St-Amour
816cc75654
Fixed tests for invalid optimizations to actually test something.
2010-07-02 15:47:57 -04:00
Vincent St-Amour
ae242e2f88
Propagated Sam's changes to spectralnorm to the generic and unsafe versions.
2010-07-02 15:47:56 -04:00
Vincent St-Amour
cdfbbc5476
Fixed the type of real->decimal-string.
2010-07-02 15:47:56 -04:00
Vincent St-Amour
636fca1a83
Generalization is now done on vector types.
2010-07-02 15:16:11 -04:00
Vincent St-Amour
06279de2ca
Nonnegative-Floats are now generalized to Floats.
2010-07-02 15:16:10 -04:00
Ryan Culpepper
a543c2137e
unstable: removed byte-counting-port.rkt (use open-output-nowhere instead)
...
updated test to verify that open-output-nowhere has same behavior
2010-07-01 17:05:06 -06:00
Sam Tobin-Hochstadt
71bb63c128
Better typing for `make-sequence'.
2010-07-01 17:12:59 -04:00
Matthew Flatt
3de7dbd2fd
add chaperone-evt
2010-07-01 14:59:01 -06:00
Sam Tobin-Hochstadt
3d347f117b
Add --just flag for running tests.
2010-07-01 13:47:02 -04:00
Sam Tobin-Hochstadt
4f3e3625b3
Fix error spec for this test.
2010-07-01 13:45:52 -04:00
Sam Tobin-Hochstadt
c0a9704ebc
Rewrote spectral-norm benchmark based on Lua version.
2010-07-01 11:35:21 -04:00
Sam Tobin-Hochstadt
75bd26d326
Better error message for multiple ->
...
Closes PR 10493.
2010-07-01 11:35:21 -04:00
Robby Findler
8a6058fa0f
added some printouts to say what this file is doing.
2010-07-01 06:03:08 -05:00
Robby Findler
896bbfaabb
Adding support to do memory profiling of drr startup that drdr can track.
2010-07-01 06:03:07 -05:00
Robby Findler
b4d176466a
Added a logger to drdr for tracking drracket's memory use on startup
2010-07-01 06:03:07 -05:00
Vincent St-Amour
e4cd5329fb
Fixed benchmarks to work with Nonnegative-Floats.
2010-06-30 19:27:18 -04:00
Vincent St-Amour
62a15df3eb
Added the Nonnegative-Float type.
2010-06-30 14:53:22 -04:00
Vincent St-Amour
dcfb2d8a94
Added the Inexact-Complex type.
2010-06-30 14:53:21 -04:00
Vincent St-Amour
ef576e27c5
Fixed the type of min and max to only operate on reals.
2010-06-30 14:53:20 -04:00
Vincent St-Amour
dfafc0b295
Added fixnum optimizations.
2010-06-30 14:53:18 -04:00
Jay McCarthy
06844073c7
Switch to using substitutions in returns and remove old parts of the interface
2010-06-30 10:54:13 -06:00
Sam Tobin-Hochstadt
c01b239779
Refactor struct type representation.
...
- fields now represented by fld struct.
- mutability on per-field basis
- accessors are per field
This fixes lots of existing bugs, allows future #:mutable on fields.
2010-06-29 17:33:36 -04:00
Jay McCarthy
e46dbe3db5
Fixing bug in formlet macro
2010-06-29 15:17:13 -06:00
Jay McCarthy
fc91321f21
Close connection sooner
2010-06-29 13:49:01 -06:00
Jay McCarthy
df30cda523
Port registry and changing benchmarks to not conflict on ports
2010-06-29 13:38:36 -06:00
Jay McCarthy
2e5c04f083
Nail down port and dont conflict
2010-06-29 13:23:23 -06:00
Jay McCarthy
0062a4eb23
Fixing tests, adding provide, clarifying names
2010-06-29 13:18:04 -06:00
Jay McCarthy
a6852d8f61
Adding FFI to Datalog
2010-06-29 11:09:07 -06:00
Jay McCarthy
b4cc683f08
Fixing output port
2010-06-28 19:58:18 -06:00
Matthew Flatt
47c7c1a27b
JIT support for inexact->exact', add
unsafe-fl->fx', etc.
2010-06-28 15:57:49 -06:00
Jay McCarthy
da7d4d4042
Adding datalog macro
2010-06-28 13:22:53 -06:00
Jay McCarthy
12797fef41
Using the datalog reader for racklog
2010-06-28 11:24:01 -06:00
Sam Tobin-Hochstadt
23553392df
Rewrite typed common benchmark wrapper.
2010-06-28 12:12:32 -04:00
Sam Tobin-Hochstadt
e7c33c2244
Rewrite shootout benchmark wrapper.
...
- Now only needs one wrapper, conditions on module name
- use with #lang s-exp
- uses typed reader
2010-06-28 11:09:59 -04:00
Mike Sperber
faf8ec358f
Rename DMdA/HtDP "contract" to "signature".
2010-06-28 14:58:16 +02:00
Matthew Flatt
dc99e1992c
restore support for sub-matches in `regexp-replace*'
2010-06-26 18:23:54 -06:00
Jay McCarthy
c48d1b58b4
Uses a more traditional read/expand/eval pipeline
2010-06-26 15:25:22 -06:00
Jay McCarthy
07142e2305
Use capitalized letters for variables in paren version
2010-06-26 13:17:10 -06:00
Jay McCarthy
0bda9efa96
Removing old sexp library and correct docs for warning
2010-06-25 22:36:13 -06:00
Jay McCarthy
e90de7196d
Moving tests
2010-06-25 22:36:12 -06:00
Eli Barzilay
f5a0e6e0b8
Undo the racket/init symbolic form thing.
...
It needs to be (lib "racket/init") because that's the way that racket
uses the -I flag. I think that I ran into this in the past, so drop in
a comment explaining this.
This reverts commit f58b58383f
.
2010-06-25 16:05:58 -04:00
Vincent St-Amour
28acece484
Fixed Typed Scheme's optimizer's test harness to work with drdr.
2010-06-25 13:25:42 -04:00
Eli Barzilay
f58b58383f
Adjust tests to requiring racket/init in symbolic form.
2010-06-25 11:01:05 -04:00
Vincent St-Amour
17f0d146f1
Adjusted benchmark sizes.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
bc0d0a6e18
Unified the nbody-vec benchmarks so that they only differ by their use
...
of flonum or unsafe operations.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
369ce44416
Made the default nbody benchmark unsafe.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
a14c31a1de
Changed dderiv to be closer to the untyped version.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
b345d5f0f0
Typed Scheme now optimizes (fl)vector-length for all vectors and
...
vector-(ref,set!) for vectors of known length.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
fd987546b3
Wrote a test harness and a couple of tests for Typed Scheme's optimizer.
2010-06-25 11:00:23 -04:00
Vincent St-Amour
8c8dbf0895
Fixes to some benchmarks due to the new fixnum types.
2010-06-25 11:00:23 -04:00
Vincent St-Amour
cea65c195b
Fixed typed wrappers for the typed versions of mandelbrot.
2010-06-25 11:00:22 -04:00
Vincent St-Amour
a4236b0b3b
Propagated Eli's bugfix to the typed version of binarytrees.
2010-06-25 11:00:22 -04:00
Sam Tobin-Hochstadt
4b1c62c978
Add Fixnum type.
2010-06-24 18:05:55 -04:00
Eli Barzilay
b46cb492bb
Reorganize as function calls, to make it easier to customize.
2010-06-24 17:17:10 -04:00
Sam Tobin-Hochstadt
5b1118d514
More options for test runner.
2010-06-24 16:46:31 -04:00
Sam Tobin-Hochstadt
3c8952d63d
Use the correct field numbers in substructs.
...
Maintain table of struct accessors/mutators.
2010-06-24 14:53:38 -04:00
Jay McCarthy
428412036f
Fixing PR 10970
2010-06-23 16:29:23 -06:00
Eli Barzilay
3f36d054f6
Turn contracts on enqueue!' and
dequeue!' into the usual error checks.
...
On a simple benchmark of:
(let ([N 100000]
[M 20]
[q (make-queue)])
(time (for ([i (in-range M)])
(for ([i (in-range (* i N))]) (enqueue! q i))
(unless (for/and ([i (in-range (* i N))]) (list i (dequeue! q)))
(error "poof")))))
I get these timings:
original version: cpu time: 24438 real time: 24439 gc time: 8164
single-links: cpu time: 17848 real time: 17849 gc time: 4859
this version: cpu time: 6519 real time: 6519 gc time: 3032
In addition, cleaned up the documentation a little, and mention the fact
that it is not thread safe.
2010-06-23 16:13:54 -04:00
Eli Barzilay
d986fed725
Uses a simpler single-linked list, about half of the meat code, and much
...
faster due to the removed overhead of dealing with the redundant
pointers.
2010-06-23 16:13:53 -04:00
Matthew Flatt
42c7b2b9d3
fix missed parts of the hash-table hahing bug
2010-06-23 07:09:59 -10:00
Matthew Flatt
bfd769a29c
fix hashing of hash-table values
...
the order of keys+values in the table could affect the
hash code, due to an interation with the depth-limiting
counter
Closes PR 10985
2010-06-23 07:00:29 -10:00
Eli Barzilay
0ffe4c1efb
Revert "Adding XPM parser"
...
Not needed, since an XPM parser was already implemented.
This reverts commit 4d58a10ff4
.
2010-06-23 07:34:40 -04:00
Eli Barzilay
e0c18c3a4b
Remove the temporary file when done with it.
2010-06-23 07:34:39 -04:00
Eli Barzilay
acace4bc18
Fixes two bugs that I somehow missed completely.
...
(Also removed leftover `time'.)
2010-06-23 07:34:17 -04:00
Vincent St-Amour
ef1da61fd0
Added S-Expression diff to unstable.
2010-06-22 18:42:28 -04:00
Vincent St-Amour
d3c5ca7537
Propagated Eli's changes to the binarytrees benchmark to the typed
...
version.
2010-06-22 18:42:27 -04:00
Vincent St-Amour
7d1040283e
Added support for unsafe struct operations to Typed Scheme.
2010-06-22 18:42:25 -04:00
Vincent St-Amour
c9383cffc2
Propagated Eli's changes to reversecomplement and fasta to the typed
...
versions.
2010-06-22 18:42:08 -04:00
Vincent St-Amour
4f501726fb
Fixed a bug in the shootout harness.
2010-06-22 18:29:58 -04:00
Vincent St-Amour
bc794b443c
Propagated Eli's changes to the mandelbrot benchmark to the generic
...
and typed versions.
2010-06-22 18:29:57 -04:00
Vincent St-Amour
5234809baf
The moments benchmark now gets floats as input.
2010-06-22 18:29:56 -04:00
Vincent St-Amour
61545c4e75
Made make-vector's type more convenient.
2010-06-22 18:29:56 -04:00
Vincent St-Amour
dd858bc11f
Got rid the the mandelbrot-unsafe benchmark, to reflect Eli's
...
changes.
2010-06-22 18:29:55 -04:00
Sam Tobin-Hochstadt
6e1954d79b
Add `struct:'
2010-06-22 16:29:35 -04:00
Jay McCarthy
4d58a10ff4
Adding XPM parser
2010-06-22 11:33:06 -06:00