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
Sam Tobin-Hochstadt
bce2cedf38
Typecheck `map' expression, not just #'map.
2010-06-22 10:12:54 -04:00
Sam Tobin-Hochstadt
95c5f942e6
Initialize `infer' for tests
2010-06-22 10:11:14 -04:00
Sam Tobin-Hochstadt
0c7c722e16
support `map' over multiple ListDots with the same bound
...
- also support ListDots + Listof (map errors when not same length)
2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
44d46e4cd7
Refactor substitution.
...
- new file types/substitute
- use structs for substitutions
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
dcc8beb5cd
This test case now passes.
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
e235c837b0
The inference engine doesn't need this annotation anymore.
2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
7b2de53733
Re-enable the printer here.
2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
12384c6c3f
Change type variable environments from hash tables to sets.
2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
e9f8cc9aca
Refactor test harness.
2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
f7b59f78e9
Generalize ListDots to Listof in inference of loop var types.
2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
a2af89bafd
Inference for passing ListDots as Listof.
2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
fd5a662ccc
Subtyping between (List T ... a) and (Listof T[Any/a])
2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
4cbeb0b2f0
Change type of ... rest args to have (List T ...) types.
2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
e40d1824b0
Initial ListDots test.
2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
50f93b9ed7
More environment refactoring.
...
- rationalize naming of files
- split files by env constructed
2010-06-21 18:29:55 -04:00
Jay McCarthy
a13edb18b6
Transparent XML structs
2010-06-21 12:48:26 -06:00
Jay McCarthy
801419693a
Default args to eliminate-whitespace
2010-06-21 12:48:26 -06:00
Eli Barzilay
554f026c71
"The Great Computer Language Shootout" -> "The Computer Language Benchmarks Game"
...
As requested by Isaac Gouy.
2010-06-20 22:19:43 -04:00
Eli Barzilay
ee57029a92
One more optimization, getting it to 60x.
2010-06-20 18:37:07 -04:00
Eli Barzilay
eec0f4bf66
Yet another 2x factor.
...
(Total ~22x.)
2010-06-20 18:37:06 -04:00
Eli Barzilay
c78f367d9f
Another simple improvement, making things about twice faster.
...
Total speedup is now ~14x.
2010-06-20 18:37:06 -04:00
Eli Barzilay
26c89b2ac6
And one more optimization gets this to a total of 6x improvement.
2010-06-20 18:37:06 -04:00
Eli Barzilay
e975e8e0c8
Another optimization, makes the `fl->fx' issue from the last one
...
irrelevant since it's not using it in the tight loop, but buys a bigger
improvement anyway.
2010-06-20 18:37:06 -04:00
Eli Barzilay
96006264ad
Some improved shootout benchmarks.
...
* An improved version of the `fasta' benchmark: ~2.5 times faster, and
if an inlined `unsafe-fl->fx' is added it is probably going to be
about ~3.5 times faster.
* `reversecomplement' -- revised code that is ~2.5 times faster, further
tweaks and unsafe ops gets it to ~4.5 times.
* Doing the structs differently in `binarytrees' and a few minor tweaks
get it to be ~1.5 times faster. This is probably because a leaf has
now only one field.
* `mandelbrot' improved a little (~1.2x), but the code is pretty much a
rewrite. (Given some more flonum inlining it can probably do much
better.)
* Added a comment to `pidigits-gmp' saying that it was used without
attribution.
These versions use unsafe operations, but I'm not putting them in
separate files since it's easy to turn them off. I've also removed
"mandelbrot-unsafe.rkt", since it was identical to the safe version.
2010-06-20 18:36:25 -04:00
Sam Tobin-Hochstadt
1e15ce1f32
Fix error message for 1-arg apply
2010-06-19 14:58:52 -04:00
Vincent St-Amour
f16732adbe
Fixed a typo in the shootout harness.
2010-06-18 20:30:15 -04:00
Robby Findler
4cd7152b62
made the drracket test suite match the new labels in the language dialog.
2010-06-18 17:38:54 -05:00
Vincent St-Amour
416f4fd3c3
Added input generation for the regexmatch benchmark.
2010-06-18 17:43:06 -04:00
Vincent St-Amour
894d159123
Disabled thread-ring in the harness, since it calls exit and doesn't
...
display its running time.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
1dc963684b
Rewrote the typed partialsums benchmark to be closer to the untyped
...
version.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
31f285d23c
Adjusted benchmark sizes.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
343e9d23b4
Ported some new benchmarks and variants to Typed Scheme.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
ffad1edd7a
Added the fannkuch-redux benchmark, which replaced fannkuch on the
...
shootout roster.
2010-06-18 17:43:03 -04:00
Vincent St-Amour
7ccae0fb1d
Got rid of assertions in the benchmarks caused by naturals as indices.
2010-06-18 17:43:02 -04:00
Vincent St-Amour
54eefc52ed
Relaxed some type constraints on the ray tracer benchmark.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
e0b880d1ea
Fixed the sumcol benchmark to obey the new type for read-line.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
72ec18cc68
Rewrote the moments benchmark to potentially benefit from unboxing of
...
loop accumulators.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
06eb544fd6
Fixes to the shootout benchmarks to reflect the new weaker promotion
...
rules.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
ff1c3874cc
Added a coercion to inexact to avoid the case: (* <float> 0) -> exact 0
...
which causes a segfault when the result is used with an unsafe-fl
operation.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
cff4eef7b2
Adjusted input size for the shootout benchmarks.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
31d4da6f39
Added an empty benchmark to measure Typed Scheme's startup time.
2010-06-18 17:42:59 -04:00
Vincent St-Amour
7bb8405871
Fixed a bug in the shootout harness, which threw away generated input.
2010-06-18 17:42:59 -04:00
Vincent St-Amour
3e0446d774
Modified some of the untyped shootout benchmarks to be closer to the
...
typed versions.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
7f3db138e7
Integrated the typed shootout benchmarks to the untyped harness.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
d48f1bb6aa
Racketified the untyped shootout benchmarks.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
4fde1e8ccb
Ported most of the shootout benchmarks to Typed Scheme.
2010-06-18 17:42:57 -04:00
Sam Tobin-Hochstadt
77e4bbb5eb
base-types-new -> base-types
2010-06-17 11:47:16 -04:00
Sam Tobin-Hochstadt
bdbb6d48e6
Try harder to find types for loop variables.
...
- use `find-annotation' more
- recognize (let ([x y]) ...)
2010-06-17 11:26:33 -04:00
Vincent St-Amour
93e5d0e9dc
Added an option to subtract the running time of the empty benchmark to
...
the tabulator.
2010-06-15 16:39:32 -04:00
Vincent St-Amour
a33372eb78
Added an option to display the coefficient of variation to the
...
tabulator.
2010-06-15 16:21:51 -04:00
Sam Tobin-Hochstadt
4cc86cc8c8
set-mc[ad]r!, inference, printing, tests for mpairs
2010-06-15 16:10:16 -04:00
Sam Tobin-Hochstadt
f73d63e1af
eq? is a predicate for eof
2010-06-15 14:59:08 -04:00
Sam Tobin-Hochstadt
cf5c74a2ca
Generate -> instead of ->* when required by case->.
...
Closes PR 10977.
2010-06-13 15:01:57 -04:00
Sam Tobin-Hochstadt
d4d286d31d
Allow (All (A) A -> A), dropping pair of parens.
2010-06-13 14:38:03 -04:00
Vincent St-Amour
fe09ce3dee
Added Jeff Siskind's ray tracer to the racket-specific benchmarks.
2010-06-11 19:48:23 -04:00
Vincent St-Amour
727000fbfb
Fixed the common benchmark harness to compile the typed benchmarks
...
before running them.
2010-06-11 19:48:22 -04:00
Sam Tobin-Hochstadt
1cff0a1f85
Actually typecheck actuals even when there's a type annotation.
2010-06-11 19:35:56 -04:00
Sam Tobin-Hochstadt
7ece2a4872
Fix type of `zero?' to properly handle 0.0.
2010-06-11 18:54:05 -04:00
Matthew Flatt
d6d5c914f7
cases when number functions produce 0: clarify docs and fix (atan 0 x)
...
for positive exact x;
also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Sam Tobin-Hochstadt
fd1b20c93d
Fix optimizer for refactoring.
2010-06-11 14:21:42 -04:00
Sam Tobin-Hochstadt
b649575afc
new bug with mutation
2010-06-11 11:55:22 -04:00
Sam Tobin-Hochstadt
0379e534e3
New interface for unstable/mutated-vars
...
- functional hash tables
- fix clients
2010-06-10 13:28:29 -04:00
Stevie Strickland
7b38cef4e8
Fix first-order cons/c check in mzlib contract tests.
2010-06-09 15:52:29 -04:00
Vincent St-Amour
6b4ca4d7b0
Added tests and documentation for Thread and Channel types.
2010-06-09 14:54:37 -04:00
Vincent St-Amour
0741b48c99
Modified the for: macros to use sequence types.
2010-06-09 14:54:34 -04:00
Vincent St-Amour
f42880c320
Moved the typed common benchmarks to a separate subdirectory.
2010-06-09 14:54:33 -04:00
Vincent St-Amour
077e1d9bca
Increased the size of the pseudoknot benchmark and ported it to
...
idiomatic racket, then to Typed Scheme.
2010-06-09 14:51:52 -04:00
Stevie Strickland
99bb46d225
Fix flat immutable container ctcs so that errors pinpoint specific elements.
...
* Fixes immutable container contract combinators so that, if given flat
contracts, they report blame errors in terms of the specific element
that failed, instead of reporting the entire container as failing.
This fixes issues seen with contracts such as (listof string?), where
the contract is applied to a list with far too many elements to print
all at once and the failing element is never printed.
* Fixes vector-immutable/c so that if all the element contracts are flat,
we create a flat contract, like the other immutable container contract
combinators.
* Also have more appropriate first-order checks for each combinator
than just "Is it the right type of container?".
These changes affect:
listof
non-empty-listof
vector-immutableof
cons/c
box-immutable/c
vector-immutable/c
2010-06-09 13:29:04 -04:00
Matthew Flatt
d6ddbe15d5
support kw/opt args in define-syntax' and
define-for-syntax'
2010-06-09 13:05:43 -04:00
Sam Tobin-Hochstadt
78023d08f9
Sequenceof type.
...
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
2010-06-09 11:03:12 -04:00
Sam Tobin-Hochstadt
78832fe332
Support case-lambda with multiple branches with keyword arguments.
2010-06-08 17:50:48 -04:00
Sam Tobin-Hochstadt
6d2b5569f4
Remove bogus #lang line
2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
9fc7a1eca4
Use `assert' for casts in typed benchmarks.
2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
5f5dca4c69
Undo changes to benchmarks to use `sub1'.
2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f
Special-case (- x 1) for use in loops.
2010-06-08 12:05:56 -04:00
Mike Sperber
30f9cd0dab
Merge remote branch 'local-plt/master'
2010-06-08 14:22:51 +02:00
Mike Sperber
f54dc18326
Fix file names for loading.
2010-06-08 11:19:28 +02:00
Sam Tobin-Hochstadt
7df8e32793
Properly handling immutable invariant structs.
2010-06-07 14:03:06 -04:00
Mike Sperber
93d7ec9446
Don't recheck DMdA lazy contracts we've already checked.
...
We avoided re-applying contracts that haven't been checked, but not
those that have. Do so now.
2010-06-07 17:06:07 +02:00
Carl Eastlund
a915d7c053
Changed unstable/debug to use error printing instead of logger output.
2010-06-06 20:31:36 -04:00
Carl Eastlund
ddc889532e
Replaced unstable/debug with unstable/cce/debug.
2010-06-06 20:31:36 -04:00
Carl Eastlund
5faced0c23
Moved unstable/cce/set to unstable/set.
2010-06-06 20:31:35 -04:00
Carl Eastlund
7131198974
Moved unstable/cce/define to unstable/define.
2010-06-06 20:31:33 -04:00
Carl Eastlund
ce85a96978
Moved the contents of unstable/cce/syntax to multiple other modules:
...
unstable/syntax, unstable/contract, and unstable/planet-syntax.
2010-06-06 20:31:32 -04:00
Carl Eastlund
fb53d5d191
Moved unstable/cce/dict to unstable/dict.
2010-06-06 20:31:31 -04:00
Carl Eastlund
86a3c3ed18
Moved unstable/cce/class to unstable/class.
2010-06-06 20:31:31 -04:00
Carl Eastlund
1360d02728
Added unstable/cce/exn to unstable/exn.
2010-06-06 20:31:30 -04:00
Carl Eastlund
402232237c
Moved unstable/cce/port to unstable/port.
2010-06-06 20:31:21 -04:00
Carl Eastlund
2db3a9d38a
Moved unstable/cce/regexp to unstable/regexp.
2010-06-06 20:30:48 -04:00
Carl Eastlund
3a525b9a12
Replaced unstable/hash with unstable/cce/hash.
2010-06-06 20:30:48 -04:00
Carl Eastlund
286319d723
Added unstable/cce/contract contents to unstable/contract.
2010-06-06 20:30:47 -04:00
Carl Eastlund
70858e93e5
Moved unstable/cce/queue to unstable/queue.
2010-06-06 20:30:40 -04:00
Carl Eastlund
1d0c069a6c
Moved unstable/cce/web to unstable/web.
2010-06-06 20:29:59 -04:00
Carl Eastlund
14b2daab66
Moved unstable/cce/values to unstable/values.
2010-06-06 20:29:56 -04:00
Carl Eastlund
a22a1a4c15
Added unstable/cce/match macros to unstable/match.
2010-06-06 20:29:55 -04:00
Carl Eastlund
6bcf77fe65
Moved unstable/cce/text to unstable/text.
2010-06-06 20:29:54 -04:00
Carl Eastlund
8d10a6343b
Adapted unstable/cce/function to unstable/function.
2010-06-06 20:29:54 -04:00
Jay McCarthy
add2cbbbda
Correcting test
2010-06-02 12:12:44 -06:00
Jay McCarthy
2985001a79
Fixing PR10950
2010-06-02 10:20:20 -06:00
Jay McCarthy
3ff7b0461c
Debugging
2010-06-02 10:20:19 -06:00
Matthew Flatt
61d39f2568
bytecode compiler convert (apply f .... (list arg ...))
2010-06-01 19:22:39 -06:00
Sam Tobin-Hochstadt
0e3c2b71cc
Test for PR 10946.
2010-06-01 13:38:45 -04:00
Eli Barzilay
d0ecc73df5
More plt-scheme -> racket-lang, specifically for planet and bugs urls.
2010-05-31 15:11:27 -04:00
Vincent St-Amour
64ff5555fb
Corrected some of the typed benchmarks to typecheck with Naturals as indices.
2010-05-29 14:23:11 -04:00
Vincent St-Amour
2229173b82
Changed the types of some numerical operations to be closed on naturals.
2010-05-29 11:31:47 -04:00
Sam Tobin-Hochstadt
d323a794e8
Change `typed-scheme' numerics.
...
- `number?' no longer `real?'
- Number no longer Real
- remove obsolete environments
- Fix tests to use Real where necessary.
- Fix typed/mred and typed/framework
- Fix insert-large-letters to use `sub1' for type-safe loop
Merge to 5.0.
2010-05-28 19:24:46 -04:00
Vincent St-Amour
311be27422
Changed the common benchmark harness to compile benchmarks before
...
running them.
2010-05-28 19:05:45 -04:00
Vincent St-Amour
e9a0014630
Disabled multi-valued seq-exprs in the for: macros because using them
...
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
c92ae73859
Wrote tests for the for: macros.
2010-05-28 19:05:44 -04:00
John Clements
2b7797ad17
comments added, & 1 test
2010-05-28 14:57:18 -07:00
Matthew Flatt
9f7a08663d
fix bug in JIT handling of with-continuation-mark
...
The bug was specific to the case of a wcm in tail position
of another wcm, where its mark should replace the outer one,
and where the outer one is not in tail position with respect
to the enclosing function
Merge to v5.0
2010-05-28 14:28:06 -06:00
Jay McCarthy
0a9e3da26e
Renaming formlet* source
2010-05-28 14:09:07 -06:00
Jay McCarthy
c907fae871
Adding formlet*
2010-05-28 14:09:07 -06:00
Matthew Flatt
d923ef135f
add examples from J-P Roy's textbook to check before a release
2010-05-27 15:30:00 -06:00
Matthew Flatt
6006a4c84d
fix helper file for raco ctool test
2010-05-27 13:33:51 -06:00
Jay McCarthy
612bd22bfe
Cyclic zo tests
2010-05-27 12:33:25 -06:00
Jay McCarthy
08a48a67a0
Making string->xexpr more permissive
2010-05-27 10:48:42 -06:00
Sam Tobin-Hochstadt
34fef6e538
Re-enable test.
2010-05-27 12:46:29 -04:00
Sam Tobin-Hochstadt
9701ae0065
Avoid requiring old base-types.
2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
63dbde1e9e
Fix test for new `do:' behavior.
2010-05-27 10:10:26 -04:00
Vincent St-Amour
44a7a71923
Corrected the typed versions of some benchmarks to be closer to the
...
untyped versions.
2010-05-27 09:30:49 -04:00
Vincent St-Amour
ca9e35b9be
Changed some of the benchmarks to run for more iterations.
2010-05-26 19:48:32 -04:00
Vincent St-Amour
61f6a2579b
Documented the typed benchmarks.
2010-05-26 19:48:31 -04:00
Matthew Flatt
7442f14305
fix problems with raco exe
...
Merge to v5.0
2010-05-26 17:07:09 -06:00
Jay McCarthy
47f6b264a0
Specifying when R5RS is required for a benchmark and enabling running from other directories
...
Enabling running all benchmarks in DrDr
2010-05-26 14:53:15 -06:00
Jay McCarthy
225c08312a
Commenting out time display I don't understand
2010-05-26 14:53:15 -06:00
Eli Barzilay
5c702976c2
A few more stray "racunit"s.
2010-05-26 15:21:55 -04:00
dvanhorn
c9d0bd10a1
Added remf to unstable/list.
...
Signed-off-by: Jay McCarthy <jay@racket-lang.org>
2010-05-26 10:08:29 -06:00
Stevie Strickland
24c5a9aed8
Fix for optional keyword contracts used on make-keyword-procedure results.
...
This fix should go into the 5.0 release.
2010-05-25 13:01:42 -04:00
Jay McCarthy
2df8fac233
Fixing a bug reported by 张虎成. Original and small test case were added. I reimplemented Knuth-Morris-Pratt because I couldn't debug the existing implementation.
...
Please include in 5.0
2010-05-25 07:47:23 -06:00
Jay McCarthy
50fd0278ba
Fixing an innoculous test case failure I introduced, by override the platform's time zone.
...
Relaxing the contract on date->string to accord with previous documentation.
Changing web-server example to use more restrictive contract
Please include in 5.0
2010-05-25 06:54:28 -06:00
Sam Tobin-Hochstadt
775e1b06a5
Test for former bug. Closes PR 10470.
2010-05-25 00:09:03 -07:00
Sam Tobin-Hochstadt
27e971dce2
Check that at least one require spec is provided.
...
Closes PR 10617.
Merge to v5.0.
2010-05-24 22:33:31 -07:00
Jay McCarthy
3f1a89b8f8
Fixing dumb bug from me
2010-05-24 18:46:31 -06:00
Vincent St-Amour
6e16a76b51
Revert "Added a /dev/null-like output port to unstable."
...
open-output-nowhere already does something similar.
2010-05-24 18:57:05 -04:00
Vincent St-Amour
9c12b7d2e7
Added a /dev/null-like output port to unstable.
2010-05-24 18:41:13 -04:00
Sam Tobin-Hochstadt
3b90cdb872
Merge branch 'master' of git.racket-lang.org:plt
2010-05-24 14:05:29 -07:00
Sam Tobin-Hochstadt
af689b2531
Tests for bug found by David Van Horn.
2010-05-24 14:04:43 -07:00
Sam Tobin-Hochstadt
f320d36e9c
Fix parsing of All on RHS of ->
2010-05-24 13:26:29 -07:00
Jay McCarthy
1b6b721aee
Adding date->seconds
2010-05-24 14:25:35 -06:00
Jay McCarthy
4d892983fa
Adding test cases to verify changes
2010-05-24 14:23:52 -06:00
Jay McCarthy
758b944996
Contract was too strict
2010-05-24 13:14:35 -06:00
Jay McCarthy
f44e3123b5
Adding byte counting ports
2010-05-24 13:14:35 -06:00
Jay McCarthy
85a7509034
Removing test auto run
2010-05-24 09:56:35 -06:00
Jay McCarthy
15d9a7dd8a
Initial ftp test cases
2010-05-24 09:56:35 -06:00
Jay McCarthy
52281d7089
rkt suffixes
2010-05-24 09:56:35 -06:00
Stevie Strickland
77b4106c84
Allow the structure name to be used as a constructor.
...
Push to 5.0.
2010-05-21 17:16:51 -04:00
Eli Barzilay
12211fff72
Various lazy-related fixes etc.
...
* A long-standing bug, which happened with
(let ([x (lazy (delay 1))]) (force x) (force x))
not being properly handled.
* Added `delay/strict', mostly for the below.
* Made srfi/45 reprovide it as `eager'.
* Also restricted the exports from srfi/45 to its interface.
All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Sam Tobin-Hochstadt
188f080c79
Handle set! transformers in match expanders.
...
- use prop:set!-transformer
- extract set!-transformers where necessary
Closes PR 10481
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
230f1a59c6
More precise types for: truncate, floor ceiling
2010-05-21 10:41:24 -04:00
Vincent St-Amour
afdccf7a23
Used the .rktl extension for unwrapped typed benchmarks and set props
...
to not have drdr run the typed benchmarks.
2010-05-19 18:28:30 -04:00
Matthew Flatt
9fc5cbfa2c
Fix syntax error in ASL
...
Closes PR 10914
Merge to v5.0
2010-05-19 15:11:41 -06:00
Matthew Flatt
993d80eb2a
rackety shootout benchmarks
2010-05-19 15:10:46 -06:00
Sam Tobin-Hochstadt
e9ac3651a4
Add test file.
...
Closes PR 10594.
2010-05-19 15:22:22 -05:00
Sam Tobin-Hochstadt
9fe3747a19
Allow expected type to have weaker filters and objects.
...
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3
Allow recursive types in type annotations for `list'.
...
Closes PR 10562.
Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
Vincent St-Amour
63be1f51ed
Added error checking in the graphs-typed benchmark.
2010-05-19 13:10:40 -04:00
Vincent St-Amour
1ac3f6905f
Changed the typed benchmarks and the benchmark harness to use wrapper
...
modules to turn typed Scheme's optimization on and off.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
20cd21440f
Ported some more of the common benchmarks to Typed Scheme.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
1e15826159
Switched from using the module form to using #lang in the typed benchmarks.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
fb09e9da23
Updated some of the typed benchmarks.
2010-05-19 13:10:38 -04:00
Vincent St-Amour
e90e37ec62
Ported some more of the common benchmarks to Typed Scheme.
2010-05-19 13:10:38 -04:00
Vincent St-Amour
46fdef3f3f
Ported some of the common benchmarks to Typed Scheme.
2010-05-19 13:10:38 -04:00
Vincent St-Amour
790658886b
Wrote tests for the new pair accessor type signatures.
2010-05-19 13:10:36 -04:00
Sam Tobin-Hochstadt
3fd5c49172
Add test for PR 10318.
...
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
638245e4c5
Better type annotation support.
...
- Delay more errors for additional reporting.
- Don't re-check expressions that were checked for inference.
Closes PR 10098.
2010-05-19 10:10:54 -05:00
Eli Barzilay
14cfb73902
"Raclog" -> "Racklog"
2010-05-18 23:47:31 -04:00
Stevie Strickland
4336f29273
Quick fix to get the right struct info out of define-struct/contract.
...
Closes PR 10526. Closes PR 10561.
2010-05-18 13:14:14 -04:00
Sam Tobin-Hochstadt
535dc73fad
More fixes for Vincent.
2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5
Fix repeated type ascription.
2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
0d1d61c725
rename to .rkt
2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f
Fix for git/rkt
2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1
rename to rkt
2010-05-17 15:29:12 -05:00
Eli Barzilay
7b14a1f585
"Racunit" -> "Rackunit"
2010-05-17 12:07:32 -04:00
Jay McCarthy
5b38155e7f
Using raw response file in test
2010-05-17 11:05:22 -05:00
Eli Barzilay
939af28a4c
Some random ".ss" -> ".rkt"s
2010-05-17 05:58:19 -04:00
Eli Barzilay
9c352f5704
More svn -> git changes.
...
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*". (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
1e5dbe553b
Fix two random emails.
2010-05-17 04:03:28 -04:00
Eli Barzilay
bcab28e5d2
Misc tests/drracket improvements.
...
Removed "info.rkt", since all entries were unused; switched ".ss" to
".rkt" in both real code and tested code (except for the teachpack
tests); modernized some tests to use symbolic requires (which would also
make it easier to deal with).
2010-05-17 03:07:10 -04:00
Eli Barzilay
fcedc30ee4
Rename "collects/tests/mred" -> ".../gracket".
...
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b
A lot of "DrScheme" -> "DrRacket"s.
2010-05-17 01:27:03 -04:00
Eli Barzilay
a46743211b
A lot of "plt-scheme.org" -> "racket-lang.org"s.
2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c
Update the text message at the top of WXME files, including the URL.
...
Also, update the message in existing files. Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version. Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be
A lot of "MrEd" -> "GRacket"s.
2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d
A lot of "MzScheme" -> "Racket"s.
2010-05-16 18:26:26 -04:00
Eli Barzilay
a82bb41950
some prop fixes
2010-05-16 18:26:25 -04:00
Matthew Flatt
900784c8e4
fix regexp sub-pattern reporting
2010-05-15 08:36:11 -06:00
Jay McCarthy
b58932ba39
Off by one
2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90
Add annotation to test.
...
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1
sensible handling of literal vectors
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f
more sensible version of het vectors.
...
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8
Finish het vectors
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb
more testing
2010-05-14 11:00:22 -04:00
Jay McCarthy
bac7ff3bdf
Fixing X11 test bugs
2010-05-13 14:34:34 -06:00
Jay McCarthy
fb8e8640bb
This error should not be on stderr, because it is intended
2010-05-13 14:25:39 -06:00
Sam Tobin-Hochstadt
a893116391
fix more tests
2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
dcf8507fd6
Fix incorrect tests.
2010-05-13 12:35:14 -04:00
Sam Tobin-Hochstadt
60aed123ce
fix more tests
2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
499f36ee69
add simple test
2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf
switch to typed/
2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
ec942b6dab
Merge remote branch 'origin/master' into samth/new-logic2
2010-05-12 10:59:29 -04:00
Sam Tobin-Hochstadt
4548426cd4
Merge remote branch 'origin/master' into samth/new-logic2
2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06
Changed the common benchmark wrapper to use the racket language and to
...
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf
Got rid of one-armed ifs in the common benchmarks.
2010-05-11 14:56:43 -04:00
Eli Barzilay
50753b6364
more fixes to automated tests
2010-05-10 23:36:14 -04:00
Eli Barzilay
8b3ff3e297
Use racket for automated tests.
2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f
change prop:custom-print-as-constructor to more general prop:custom-print-quotable
2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
a81de56b30
add test for bug found by vincent
2010-05-10 17:55:29 -04:00
Carl Eastlund
ff5b8da551
Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself.
2010-05-10 16:39:07 -04:00
Sam Tobin-Hochstadt
fe10457f4e
more test errors
2010-05-10 16:22:41 -04:00
Sam Tobin-Hochstadt
08d0df5256
fix test suite errors
2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
b1a49470ee
fix `implied-atomic?'
2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
82ee73ab51
Merge remote branch 'origin/master' into samth/new-logic2
...
Conflicts:
collects/typed-scheme/scribblings/begin.scrbl
collects/typed-scheme/scribblings/quick.scrbl
collects/typed-scheme/scribblings/ts-guide.scrbl
collects/typed-scheme/scribblings/ts-reference.scrbl
collects/typed-scheme/scribblings/varargs.scrbl
2010-05-10 10:36:21 -04:00
Matthew Flatt
41e1fe958f
test repairs
2010-05-10 06:23:37 -06:00
Matthew Flatt
ed1d7f81c9
move drscheme and tests/drscheme to drracket and tests/drracket
2010-05-09 15:34:50 -06:00
Robby Findler
155cc4ac05
fixed the way preference file restoration works in the case that there is no preferences file to start with
2010-05-08 16:22:56 -05:00
Robby Findler
eb5c839b97
changed an ss to a rkt
2010-05-08 16:18:04 -05:00
Jay McCarthy
8c918c489a
Fixing test re printing output... again :)
2010-05-07 12:44:12 -06:00
Matthew Flatt
e5a259bdf0
document latest printing convention
2010-05-06 18:01:21 -06:00
Matthew Flatt
43027a8d9b
switch printer to constructor+quote style
2010-05-06 10:33:42 -06:00
Sam Tobin-Hochstadt
1146ffa76d
Merge branch 'master' into samth/new-logic2
...
Conflicts:
collects/typed-scheme/private/parse-type.rkt
collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Matthew Flatt
27cd77c16c
fix problem with chaperone of chaperoned hash
2010-05-05 09:23:40 -06:00
Matthew Flatt
7c52a82216
fix another hash chaperone bug
2010-05-05 07:52:48 -06:00
Matthew Flatt
60446bcd95
fix racket/vector test and doc typo
2010-05-05 06:18:52 -06:00
Sam Tobin-Hochstadt
90f7f522f8
minor test edits
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
a728bae3cb
use racunit better to get expected/actual info
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
d678e7657d
use `test-begin' in test
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
3ebd04550a
typed/racunit:
...
- fix more contracts
- make test tests not fail
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
0a2b16f804
fix some racunit types, add test case
2010-05-04 19:47:37 -04:00
Ryan Culpepper
d0cc31b35e
syntax/parse: reverted error message, fixed error test
2010-05-04 14:12:49 -06:00
Matthew Flatt
8af4134991
move result-chaperoning procedure to start of chaperioning procedure's results
2010-05-04 13:56:21 -06:00
Jay McCarthy
bfc43a7ebd
More permissive cookie parser
2010-05-04 11:20:22 -06:00
Jay McCarthy
3f19ad6fce
Including version in cookie output
2010-05-04 10:42:57 -06:00
Matthew Flatt
a097b2ef6a
fix chaperone-hash to be more consistent with key handling
2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
d5776a1266
use `vector-member'
2010-05-03 18:03:01 -04:00
Sam Tobin-Hochstadt
69e2122af6
vector-mem{ber,q,v}
2010-05-03 17:08:36 -04:00
Sam Tobin-Hochstadt
34e64b650f
Add test for bug 10868
...
Add 'unit' command line arg to 'run.rkt' command to just run the unit tests
2010-05-03 15:13:33 -04:00
Sam Tobin-Hochstadt
92a3085658
rename
2010-05-03 13:18:56 -04:00
Sam Tobin-Hochstadt
996405af9c
fix problem reported by Sigrid on plt-scheme
2010-05-03 13:15:19 -04:00
Sam Tobin-Hochstadt
6b5305afe7
run .rkt files
2010-05-03 13:01:58 -04:00
Matthew Flatt
5a93e8c5e0
more test repairs
2010-05-02 08:31:12 -06:00
Matthew Flatt
e504acb726
use .rktl suffix for files meant to be 'load'ed
2010-05-01 09:58:16 -06:00
Matthew Flatt
043f97df97
fix more test files
2010-05-01 07:23:05 -06:00
Matthew Flatt
fa538620e8
fix cm test
2010-04-30 20:19:53 -06:00
Sam Tobin-Hochstadt
85fad33c4c
loadtest.ss -> loadtest.rkt
2010-04-30 16:35:48 -04:00
Sam Tobin-Hochstadt
9a170047f4
.ss -> .rkt
2010-04-30 16:29:10 -04:00
Jay McCarthy
e40f89fed2
Adding mark params
2010-04-30 13:06:55 -06:00
Sam Tobin-Hochstadt
5e9ae84b15
Merge remote branch 'origin/master' into samth/new-logic2
...
Conflicts:
collects/tests/typed-scheme/unit-tests/typecheck-tests.rkt
2010-04-30 13:48:49 -04:00
Jay McCarthy
e3a9aa8162
Fixing test of pprint
2010-04-30 11:07:02 -06:00
Jay McCarthy
645b0b06fe
Merge branch 'master' of git.racket-lang.org:plt
2010-04-30 10:57:38 -06:00
Jay McCarthy
bc5cf30ebe
Renaming rktunit to racunit
2010-04-30 10:57:32 -06:00
Sam Tobin-Hochstadt
04f58cab86
Merge remote branch 'origin/master' into samth/new-logic2
...
Conflicts:
collects/drscheme/private/insert-large-letters.ss
collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
f20d3db75f
fix some DrDr tests
2010-04-29 19:55:39 -06:00
Matthew Flatt
7ed0d4e00a
futures: protect use of mfence by processor count
2010-04-29 17:11:42 -06:00
Jay McCarthy
f70ffca756
Renaming schemeunit to rktunit and adding compat layer
2010-04-29 15:00:02 -06:00
Jay McCarthy
5cb8f4e3d9
Renaming logic/schelog to raclog, supporting unification for all racket datatypes
2010-04-29 13:41:12 -06:00
Jay McCarthy
7cd703f034
Renaming schelog to logic and racketing
2010-04-28 13:37:57 -06:00
Jay McCarthy
8a6cdfe582
Merge branch 'master' of git.racket-lang.org:plt
2010-04-28 13:21:53 -06:00
Jay McCarthy
7d1c7d874b
Changing unstable, xml, html, and web-server to be rackety
2010-04-28 13:21:30 -06:00
Matthew Flatt
6a28bd0e4b
fix some tests for drdr
2010-04-28 11:02:31 -06:00
Carl Eastlund
8879f4a61d
Updated unstable/srcloc tests for racket.
2010-04-28 12:30:25 -04:00
Matthew Flatt
882b7dce0e
move tests/mzscheme to tests/racket
2010-04-27 18:28:39 -06:00
Sam Tobin-Hochstadt
b5acbe3168
move d/c/p
...
fix tc-e/t
2010-04-27 19:29:10 -04:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Jay McCarthy
94a6aac517
failure-prefix form and failure-format parameter in eli-tester
2010-04-27 16:12:32 -06:00
Jay McCarthy
5b779d22ac
slatex test, slatex contracts and props
2010-04-27 11:00:24 -06:00
Jay McCarthy
e258476748
Supporting multiple value returns in formlets
2010-04-27 10:41:56 -06:00
Jay McCarthy
dbe00ce0b4
Fixing test re banner change
2010-04-27 09:44:57 -06:00
Jay McCarthy
5823da1710
Moving error output to stderr
2010-04-27 09:35:01 -06:00
Jay McCarthy
306e67f3ab
Fixing test finding
2010-04-27 09:31:05 -06:00
Jay McCarthy
96a3f47ea0
Fixing cookie regex
2010-04-27 08:48:07 -06:00
Sam Tobin-Hochstadt
f1401ad9b6
Merge remote branch 'origin/master' into samth/new-logic2
2010-04-27 10:27:26 -04:00
Sam Tobin-Hochstadt
53a4e4a2e4
remove debugging printfs, comment out fail test
2010-04-27 10:23:30 -04:00
Sam Tobin-Hochstadt
83c1671972
strnum? works
2010-04-27 10:16:21 -04:00
Sam Tobin-Hochstadt
d935b63290
so close
2010-04-27 09:50:39 -04:00
Jay McCarthy
97f5e690b5
Rearranging docs and renaming assert
2010-04-26 16:04:02 -06:00
Jay McCarthy
8cbfe949be
Unit tests
2010-04-26 15:44:20 -06:00
Jay McCarthy
33583fd5ca
Unit tests
2010-04-26 15:34:26 -06:00
Jay McCarthy
a8027280b5
Merge branch 'master' of git.racket-lang.org:plt
2010-04-26 13:42:54 -06:00
Jay McCarthy
78eab1a245
Adding predicates and using alists
2010-04-26 13:15:29 -06:00
Jay McCarthy
ca987f9020
New test
2010-04-26 12:26:08 -06:00
Jay McCarthy
9fce3c6963
Automated tests
2010-04-26 11:54:09 -06:00
Jay McCarthy
3cf1dc3440
Moving examples to tests
2010-04-26 11:36:52 -06:00
Sam Tobin-Hochstadt
10c23b0002
Merge branch 'master' into samth/new-logic2
2010-04-26 11:50:15 -04:00
Sam Tobin-Hochstadt
8047e32662
Treat static struct info as pattern constructor.
2010-04-26 11:44:37 -04:00
Sam Tobin-Hochstadt
df2291b955
Merge remote branch 'origin/master' into samth/new-logic2
2010-04-26 10:12:50 -04:00
Sam Tobin-Hochstadt
2889f37ed4
Merge branch 'samth/new-logic2' of git.racket-lang.org:plt into samth/new-logic2
2010-04-26 10:05:19 -04:00
Matthew Flatt
a6694a08b7
fix make-base-namespace in scheme/base (PR 10870)
2010-04-26 06:47:02 -06:00
Sam Tobin-Hochstadt
a46461d4f7
racket/base instead of scheme/base, see PR 10870
2010-04-25 18:43:10 -04:00
Matthew Flatt
616080c7c4
change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc.
2010-04-25 12:10:36 -06:00
Sam Tobin-Hochstadt
0f9d50fa23
Merge branch 'master' into samth/new-logic2
2010-04-24 09:53:10 -04:00
Matthew Flatt
76754c5443
set-subset? to subset?
2010-04-24 07:18:11 -06:00
Matthew Flatt
7cb13860ee
reference racket conversions and scribble qq repairs
2010-04-23 17:00:53 -06:00
Sam Tobin-Hochstadt
b173f70ad1
Merge remote branch 'origin/master' into samth/new-logic2
2010-04-23 18:36:46 -04:00
Sam Tobin-Hochstadt
f7bf6d8a22
more progress towards let
2010-04-23 18:36:15 -04:00
Sam Tobin-Hochstadt
788630d26a
progress towards let
2010-04-23 16:40:05 -04:00
Sam Tobin-Hochstadt
2d88d698c2
implication works
2010-04-23 12:31:22 -04:00
Matthew Flatt
ab7f9acee2
add for/set
2010-04-23 08:26:20 -06:00
Sam Tobin-Hochstadt
9c59782a37
progress, fix some dumb bugs
2010-04-21 19:00:12 -04:00
Sam Tobin-Hochstadt
c50cb0ff18
Merge branch 'master' into samth/new-logic2
2010-04-21 15:19:36 -04:00
Sam Tobin-Hochstadt
a979bbdbdf
typecheck-tests compiles
2010-04-21 15:07:53 -04:00
Sam Tobin-Hochstadt
462b7f1b92
eta abstraction seems to work
2010-04-21 11:34:04 -04:00
Matthew Flatt
d7e4db3efd
fix some tests and docs after racket move
2010-04-20 17:28:07 -06:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Sam Tobin-Hochstadt
8bea31d725
finished with the examples
2010-04-20 15:30:07 -04:00
Sam Tobin-Hochstadt
5f0597b834
add tests for occurrence typing work
2010-04-20 14:49:38 -04:00
Sam Tobin-Hochstadt
fca1044972
Merge branch 'master' into samth/new-logic2
2010-04-19 16:14:11 -04:00
Eli Barzilay
5640fe77c5
Ignores that are roughly the same as the ones in svn
2010-04-18 10:47:32 -04:00
Matthew Flatt
9ca5f6b340
fix regexp-replace*
2010-04-16 17:27:53 -04:00
Matthew Flatt
2fb34bcfdc
fix Scribble reader test regexp-split pattern
2010-04-15 19:15:53 -04:00
Jay McCarthy
918f2caf34
Adding generics
2010-04-15 16:33:31 -04:00
Matthew Flatt
4bc155905a
Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855)
2010-04-14 22:53:14 -04:00
Matthew Flatt
1c34ccec44
improve regexp support (PR 10855, halfway)
2010-04-14 18:40:08 -04:00
Sam Tobin-Hochstadt
41e469d7ae
Update structure types to have constructor ids.
...
Use constructor to generate better contracts for poly structs.
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
0c730ae50a
test improvements
...
svn: r18814
2010-04-14 17:11:21 +00:00
Mike Sperber
9d20fd713d
Lazy contract checking for DMdA's `define-record-procedures-parametric'.
...
svn: r18806
2010-04-13 07:57:57 +00:00
Sam Tobin-Hochstadt
25a817e4aa
Fix thinko in subtyping.
...
svn: r18802
2010-04-12 22:23:39 +00:00
Matthew Flatt
bdb71498e3
module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
...
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
5e22bb81f5
constant-folding repairs to some unsafe operations
...
svn: r18745
2010-04-07 12:48:15 +00:00
Matthew Flatt
2c36427b20
fix compiler bug with unsafe-c[ad]r and constant folding (PR 10850)
...
svn: r18742
2010-04-07 02:25:27 +00:00
Matthew Flatt
aec586d2be
fix a GC problem related to future and wcm; also fix a race condition related to JITing a delay-loaded procedure (and maybe specific to future-demanded JITting)
...
svn: r18739
2010-04-06 16:44:53 +00:00
Matthew Flatt
3cc95b31ef
add prop:struct-info
...
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
2cb9f378aa
Racket experiments
...
svn: r18725
2010-04-02 21:29:59 +00:00
Jay McCarthy
2a87df9e5c
Supporting arguments in dispatch pattern arguments
...
svn: r18724
2010-04-02 20:55:36 +00:00
Jay McCarthy
7b61ba023d
New library formlets
...
svn: r18720
2010-04-02 18:53:29 +00:00
Kevin Tew
191b111109
Communciate Structs
...
svn: r18715
2010-04-01 17:03:51 +00:00
Matthew Flatt
b2d65a1b95
fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
...
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
581cbb461b
Change `generator' to have a form of (generator () body ...). The empty
...
place will have initial input names, so having this first will make
existing code break with an easy to fix syntax error, rather than having
confusing failures. (Also made it throw a very clear error message if
there is no () now.)
svn: r18705
2010-04-01 07:45:41 +00:00
Robby Findler
6cc7e81db8
updated to match new error message
...
svn: r18691
2010-03-31 14:36:58 +00:00
Matthew Flatt
417be5d8e2
move definedness check for imported variable to link time instead of access time; add errortrace meta-language; tweak errortrace to avoid an unnecessary and loop-obscuring annotation; improve slightly bytecode optimizer's handling of w-c-m; improve JIT handling of w-c-m
...
svn: r18678
2010-03-30 20:21:28 +00:00
Jay McCarthy
0289edf0cb
Repairing SchemeUnit tests re: DrDr
...
svn: r18673
2010-03-30 17:42:16 +00:00
Jay McCarthy
04d1fa6a26
Parsing patch from Dave Gurnell
...
svn: r18671
2010-03-30 17:05:51 +00:00
Noel Welsh
cfab7a8d97
Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
...
svn: r18667
2010-03-30 13:33:45 +00:00
Matthew Flatt
baab09fc1b
drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
...
svn: r18661
2010-03-29 15:06:47 +00:00
Noel Welsh
f655a38ead
Fix the SchemeUnit test suite so it runs without error following changed introduced in r18618.
...
svn: r18659
2010-03-29 12:58:13 +00:00
Matthew Flatt
b8c3112b98
fix chaperones on parameters
...
svn: r18654
2010-03-28 15:56:04 +00:00
Matthew Flatt
73807aef24
chaperones (v4.2.5.3)
...
svn: r18650
2010-03-28 01:10:33 +00:00
Sam Tobin-Hochstadt
d4e0c16d55
a new branch of the whole tree
...
svn: r18648
2010-03-27 14:49:58 +00:00
Mike Sperber
19793ca54b
Disable a test that exposes a hard-to-fix problem in the image
...
primitives.
svn: r18645
2010-03-27 13:52:49 +00:00
Sam Tobin-Hochstadt
752e93fc88
add simple tests
...
svn: r18638
2010-03-27 00:31:29 +00:00
Matthew Flatt
72db535760
fix optimizer bug for inlining procedures under 'let' in rator position
...
svn: r18622
2010-03-25 20:09:41 +00:00
Jay McCarthy
55c3176934
Adding a work around for the compiler bug... plus I like it better. And adding a regression test for the compiler.
...
svn: r18619
2010-03-25 18:14:11 +00:00
Noel Welsh
af84b331a1
Add the fx to fl conversion functions to Typed Scheme
...
Add tests for flonum operations to Typed Scheme test suite
Fix the compiler bug tests above uncovered
svn: r18609
2010-03-24 13:18:37 +00:00
Noel Welsh
cf017110a9
Fix a problem generating contracts for FlVector exports. Add test for problem.
...
svn: r18603
2010-03-23 10:30:24 +00:00
Sam Tobin-Hochstadt
23d16b904f
fix embed-in-c
...
svn: r18584
2010-03-19 15:27:47 +00:00
Stevie Strickland
dde2011ec7
Add ->dm and case->m, which are the implicit method versions of ->d and
...
case->.
This should be included in the release.
svn: r18579
2010-03-18 21:28:41 +00:00
Kevin Tew
8299803e06
[Places] channel tests
...
svn: r18577
2010-03-18 16:42:14 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93
Fix bug in match reported by jay.
...
svn: r18563
2010-03-17 18:21:09 +00:00
Noel Welsh
5f6aeb364f
Check that the FlVector type is exported. Currently this test fails.
...
svn: r18557
2010-03-17 15:26:30 +00:00
Noel Welsh
39a1489403
Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
...
svn: r18555
2010-03-17 14:49:29 +00:00
Kevin Tew
e7b6b4a3da
place holder for place-channel tests
...
svn: r18548
2010-03-15 21:28:57 +00:00
Stevie Strickland
c7c8f7061e
Add documentation, and also add tests for appropriate init-field behavior.
...
svn: r18541
2010-03-15 08:47:09 +00:00
Stevie Strickland
924842d9e9
* Fix inits so that we either call the previous class/c wrapper's init
...
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.
svn: r18540
2010-03-15 08:29:22 +00:00
Stevie Strickland
7ec061cdbf
* Factor out zipping of inits/contracts of the init closure
...
* Add tests for higher-order behavior
svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
1bd29dd7e9
Okay, we're going to add back init contracts, which I'd somewhat done before.
...
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted. I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.
svn: r18534
2010-03-15 06:49:49 +00:00
Stevie Strickland
7b831e86a6
Correct with-type so it handles result types of the form (values t ...).
...
svn: r18531
2010-03-14 02:32:20 +00:00
Sam Tobin-Hochstadt
9035e2e584
Prevent unbound identifiers from being in the base env.
...
Fix some bugs caught by this.
svn: r18526
2010-03-12 16:25:40 +00:00
Noel Welsh
97924ffc65
Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
...
svn: r18523
2010-03-12 12:13:10 +00:00
Sam Tobin-Hochstadt
b3be4f32f7
Null does not overlap with structs.
...
svn: r18508
2010-03-10 23:43:47 +00:00
Stevie Strickland
40b35a2b73
Now that we have a way of marking procedures as methods at runtime,
...
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.
svn: r18504
2010-03-10 04:07:00 +00:00
Stevie Strickland
86a26d7947
Sync up to trunk.
...
svn: r18500
2010-03-10 01:11:31 +00:00
Sam Tobin-Hochstadt
c24daa5dbb
Add `define-predicate'
...
svn: r18497
2010-03-10 00:10:03 +00:00
Stevie Strickland
0982626a67
Add test cases, which let us see where we're failing at the moment.
...
svn: r18496
2010-03-09 23:56:20 +00:00
Matthew Flatt
4673b36dcf
adjust inlining heuristics again
...
svn: r18479
2010-03-06 03:44:07 +00:00
Sam Tobin-Hochstadt
87f978e59e
Fix PR 10813
...
svn: r18477
2010-03-05 21:52:54 +00:00
Stevie Strickland
bf60da75e1
Refactor out new has-contract?/value-contract functionality so that it's
...
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.
svn: r18469
2010-03-04 21:10:44 +00:00
Sam Tobin-Hochstadt
80fcee2577
Fix PR 10806.
...
svn: r18464
2010-03-04 13:45:25 +00:00
Casey Klein
cd2fc95d4e
Fixes typos in r18451
...
svn: r18459
2010-03-04 00:14:40 +00:00
Stevie Strickland
5fe0a790c1
Change how contracts for multiple values are handled to be a little cleaner
...
syntactically.
svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3
Add the ability to contract more than one value returned from a with-contract
...
block in expression position.
svn: r18456
2010-03-03 21:54:18 +00:00
Robby Findler
7c1b076ee1
svn: r18451
2010-03-03 19:13:43 +00:00
Jay McCarthy
62e077e90d
Applying Dave Gurnell's serialization patch
...
svn: r18447
2010-03-03 16:55:42 +00:00
Matthew Flatt
fced29e946
fix regexp bug in unicode-category patterns
...
svn: r18427
2010-03-02 15:09:47 +00:00
Sam Tobin-Hochstadt
65b12a2af3
Use `current-contract-region' appropriately.
...
Maintain source locations.
Fix PR 10776.
svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
12257912e3
Fix bug 10763.
...
svn: r18418
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
78c14e434b
Add `with-type' for defintions, add #:result keyword.
...
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.
svn: r18416
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
1c1a2dde38
Fix pconvert of hashtables.
...
svn: r18414
2010-03-01 20:27:55 +00:00
Robby Findler
d7f8c62371
fixed immutable boxes and vectors
...
svn: r18407
2010-03-01 14:47:38 +00:00
Stevie Strickland
16dbb0edc1
Fix bug in field mutation on contracted objects.
...
svn: r18390
2010-02-27 20:59:40 +00:00
Sam Tobin-Hochstadt
31f0b5e305
Fix tests to use `test-suite' to delay execution.
...
Move hiding of errors down in stack.
svn: r18381
2010-02-27 15:07:45 +00:00
Stevie Strickland
8e3a67936e
Add `unregister-type'
...
Add type regions.
Untyped lexical vars not an internal error.
svn: r18374
2010-02-27 01:26:16 +00:00
Stevie Strickland
7dacfaea85
Add with-contract for expression positions.
...
svn: r18372
2010-02-27 01:05:03 +00:00
Jay McCarthy
1f4ab946e1
Removing reliance on SXML and adding little xpath evaluator for xexprs
...
svn: r18366
2010-02-26 21:16:56 +00:00
Sam Tobin-Hochstadt
21d0dfcf09
use new schemeunit
...
svn: r18361
2010-02-26 20:44:30 +00:00
Jay McCarthy
dd31aa9512
Switching many uses of old Schemeunit to new
...
svn: r18360
2010-02-26 20:39:56 +00:00
Matthew Flatt
02583a1a08
ad hoc car/cdr optimizations
...
svn: r18354
2010-02-26 19:14:56 +00:00
Sam Tobin-Hochstadt
2bda690d2d
remove error printf for drdr
...
svn: r18349
2010-02-26 14:37:51 +00:00
Robby Findler
ca8459a3a0
changed to schemeunit so the tests can be in a module and so we dont see random values in the printed output
...
svn: r18341
2010-02-25 21:32:48 +00:00
Carl Eastlund
8b93f081bc
Renamed make-set{,eq,eqv} to set{,eq,eqv} for uniformity with list, vector, etc.
...
svn: r18338
2010-02-25 19:46:36 +00:00
Jay McCarthy
24d76d0e82
Allowing any module path in mutators for the collector
...
svn: r18336
2010-02-25 16:24:36 +00:00
Robby Findler
3955ef69b4
try to debug new drdr failure
...
svn: r18329
2010-02-24 21:46:53 +00:00
Robby Findler
df049ea35e
normalized the output so drdr won't say that this is changing
...
svn: r18326
2010-02-24 19:46:24 +00:00
Stevie Strickland
9f9e83b671
Yes, I know that we get different results for how it prints out. This needs
...
to be fixed. But for now, I'm commenting this out with a note to myself to
get this fixed.
svn: r18322
2010-02-24 17:46:51 +00:00
Robby Findler
50a6a585b1
fixed some repl-printing related bugs that would make 'write' sensitive to pretty-print's parameters in drscheme's repl
...
svn: r18321
2010-02-24 17:35:09 +00:00
Stevie Strickland
232db39f54
Sync up to trunk to prepare for the grand merge.
...
svn: r18319
2010-02-24 16:38:32 +00:00
Jay McCarthy
652cdcf902
Changing bindings parser on requests to promises.
...
svn: r18310
2010-02-23 22:29:22 +00:00
Sam Tobin-Hochstadt
1616e27b4b
fix comment, add test
...
svn: r18307
2010-02-23 21:36:53 +00:00
Jay McCarthy
a4dfbfb1d6
Fixing mutator-cond
...
svn: r18305
2010-02-23 19:43:36 +00:00
Stevie Strickland
8cc22294ff
Sync up to trunk.
...
svn: r18291
2010-02-23 07:25:24 +00:00
Stevie Strickland
6326731a15
Fix the tests that break due to semantic changes in object-contract.
...
svn: r18290
2010-02-23 04:34:05 +00:00
Stevie Strickland
d820493feb
First cut of converting object-contract to share a common base that
...
object/c will also use.
svn: r18274
2010-02-22 21:55:32 +00:00
Ryan Culpepper
d4b0f917df
rewrote schemeunit test
...
svn: r18271
2010-02-22 21:12:11 +00:00
Sam Tobin-Hochstadt
e417da3598
Switch to the current version of schemeunit.
...
svn: r18263
2010-02-22 17:58:18 +00:00
Jay McCarthy
1eea5163cc
Supporting byte-regexps and boxes in tester. Improving speed/allocation of parser and noting places where we could do better. Updating struct contracts in code and docs.
...
svn: r18262
2010-02-22 15:47:57 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Stevie Strickland
6f3b676fa5
Syncing up.
...
svn: r18249
2010-02-21 03:37:21 +00:00
Stevie Strickland
a0769da5ea
Add the contract shorthands for -> and ->* to use for methods where we don't
...
care about properties of this.
svn: r18248
2010-02-21 02:54:06 +00:00
Ryan Culpepper
3b630af6f9
schemeunit:
...
moved internal modules to schemeunit/private
moved tests to tests/schemeunig
added schemeunit/gui
drscheme:
fixed bug in show-backtrace-window
svn: r18243
2010-02-21 01:03:42 +00:00
Stevie Strickland
ffa34e1f7d
Add augride, which is like augment but enables the contract writer to give
...
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).
svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
f72ca7bb1b
Now inherit works (and tests!)
...
svn: r18237
2010-02-20 22:54:11 +00:00
Stevie Strickland
370792b881
Refactoring done, and I think that's actually cleaned up things a bit. Now
...
to handle inherit.
svn: r18236
2010-02-20 22:44:53 +00:00
Stevie Strickland
a4d6252d16
Start inherit contracts (which are useful for mixins). Tests, plus parsing.
...
svn: r18232
2010-02-20 21:28:20 +00:00
Stevie Strickland
a169105ed0
Sync up to trunk, because keeping up to date is the right thing to do (and
...
hopefully it'll get rid of the issues in tests/future/future.ss).
svn: r18228
2010-02-20 19:36:15 +00:00
Robby Findler
92717e0f0b
used stderr when tests fail
...
svn: r18226
2010-02-20 17:16:54 +00:00
Matthew Flatt
457a2da675
try again to fix tests
...
svn: r18223
2010-02-20 13:39:51 +00:00
Matthew Flatt
e38e8d88e0
basic set library
...
svn: r18222
2010-02-20 13:00:48 +00:00
Matthew Flatt
d2bdc2eca8
fix test problems
...
svn: r18221
2010-02-20 12:23:01 +00:00
Stevie Strickland
c59805ab9e
Syncing up to trunk before I go to bed, so setup-plt can run while I
...
sleep.
svn: r18220
2010-02-20 10:59:49 +00:00
Stevie Strickland
c5c22e117c
Tests to make sure the first-order parts of method contracts are attributed
...
to the correct source upon failure.
svn: r18219
2010-02-20 10:46:54 +00:00
Stevie Strickland
cd4aa4c6f6
Forgot about the no-contract forms, so needed to add tests for those, also.
...
svn: r18218
2010-02-20 10:40:50 +00:00
Stevie Strickland
7830d55b42
Okay, that does it for augment, which means I'm done with coding. Now just
...
documentation and benchmarking, then this can go on trunk.
svn: r18217
2010-02-20 10:09:37 +00:00
Stevie Strickland
37e1cd2e2c
A few more tests to make sure we have everything right for augment once
...
implemented.
svn: r18216
2010-02-20 09:48:38 +00:00
Stevie Strickland
67d47e0a1d
Fixes in override ctcs and test suite. I thought I ran it, so I find it
...
weird that I found these on a subsequent run when adding some quick augment
tests to start the next batch. (Oh, those are included also.)
svn: r18215
2010-02-20 09:40:41 +00:00
Stevie Strickland
b5e2d5f93e
Okay, now override contracts are done, so only augments remain.
...
svn: r18214
2010-02-20 09:30:40 +00:00
Stevie Strickland
3b125d58fc
Tests for internal dynamic dispatch (Java-only)
...
svn: r18209
2010-02-20 08:08:17 +00:00
Stevie Strickland
aaf9a5aeac
Apply the inherit-field projections appropriately.
...
svn: r18204
2010-02-20 04:18:49 +00:00
Stevie Strickland
fcee6788d7
Parsing and first order checks for internal field access contracts.
...
svn: r18203
2010-02-20 04:02:59 +00:00
Stevie Strickland
d87794a8d2
External field contracts FTW!
...
svn: r18202
2010-02-20 03:52:47 +00:00
Stevie Strickland
95438db40f
Add set-field!. Because it's useful, because we have get-field, so why
...
not it, and because it's an easy way to later test external field contracts.
svn: r18199
2010-02-19 23:55:39 +00:00
Sam Tobin-Hochstadt
33c18b3985
providing static struct information to untyped code works
...
svn: r18198
2010-02-19 23:27:06 +00:00
Jay McCarthy
7d1a739df5
Adding comments and specs to parser.
...
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form
Improving inequality detector in tester: regexps and uninterned symbols
Correcting doc contract
svn: r18194
2010-02-19 19:47:15 +00:00
Robby Findler
7aa6ea4c76
PR 10645
...
svn: r18193
2010-02-19 19:43:14 +00:00
James Swaine
9170687148
moved futures random tests into /collects/tests/future
...
svn: r18192
2010-02-19 19:26:55 +00:00
James Swaine
cb12a81daf
added test notes to futures test suite
...
svn: r18191
2010-02-19 19:21:03 +00:00
James Swaine
a7332c09a2
moved futures tests to collects/tests/future directory
...
svn: r18190
2010-02-19 19:17:59 +00:00
Stevie Strickland
e9264b1fac
Syncing up before class.
...
svn merge ^/trunk
svn: r18188
2010-02-19 16:43:03 +00:00
Robby Findler
47b5892c92
probable fix to problems with this file (make sure find-relative-path's first argument is a directory)
...
svn: r18187
2010-02-19 15:29:54 +00:00
Stevie Strickland
55d39b0035
It was a good thing I decided to add some super/inner mixed examples here,
...
because it pointed out a bug in my implementation where we weren't getting
the right version of the super method (which gets the projection).
svn: r18180
2010-02-19 04:40:10 +00:00
Stevie Strickland
5cc68fdd0f
In some ways, I'm still trying to decide exactly what some of these forms mean.
...
For example, if we're in the java part of a beta-java chain, can we still add
an inner contract? If so, it should affect each java-style overriding method
until we reach the next beta-style augmenting method.
It can just be confusing, because one might thing that inner in a
contract => needs an augmenting method in the subclass, super => needs
an overriding method in the subclass. The latter is true, since only
the next immediate method can reach the super class's implementation,
but inner jumps to the next augmenting method, so the former isn't
necessarily true.
svn: r18179
2010-02-19 04:27:44 +00:00
Stevie Strickland
b59955bc01
Ah, that'd be the issue. THE TESTS WERE WRONG. All's well, and I've even
...
added a couple more tests to make sure we apply the projections in the right
order.
svn: r18176
2010-02-19 00:34:27 +00:00
Stevie Strickland
7fe863e792
Inner tests! They almost all fail! BUT WE SHALL CHANGE THAT.
...
svn: r18175
2010-02-19 00:09:47 +00:00
Stevie Strickland
6fcb61cc11
Add some test cases for super.
...
svn: r18172
2010-02-18 23:34:35 +00:00
Stevie Strickland
f8d5234148
Simplify the test case. Also, spam both my and Sam's inboxes.
...
svn: r18171
2010-02-18 23:24:15 +00:00
Stevie Strickland
38522f0dca
A tricky case, this.
...
svn: r18170
2010-02-18 23:22:51 +00:00
Stevie Strickland
cc52bcd197
Start throwing in higher-order checks.
...
svn: r18168
2010-02-18 23:09:42 +00:00
Stevie Strickland
8d9eda1459
I think that finishes all the first order tests.
...
svn: r18167
2010-02-18 22:53:35 +00:00
Stevie Strickland
b15dd9e689
You'll gasp, you'll cheer, you'll scream! MORE TESTS.
...
svn: r18165
2010-02-18 22:44:58 +00:00
Stevie Strickland
ce04db35a0
Rename tests to be more specific, start inner tests, fix introduced bug.
...
svn: r18164
2010-02-18 22:27:34 +00:00
Stevie Strickland
690b82da14
Check lots of crazy special cases for super contracts.
...
svn: r18163
2010-02-18 22:16:29 +00:00
Stevie Strickland
7abafad8b1
Tests of super contracts. Failing test here, because we're not checking for
...
non-final public methods when adding super (or later, override) contracts.
We should check for that in both cases, as the contract suggests that the
method in question is overrideable.
svn: r18160
2010-02-18 21:54:27 +00:00
Stevie Strickland
0971d37b70
Add first order checks for public fields and methods for both class/c
...
and object/c.
svn: r18159
2010-02-18 21:50:55 +00:00
Stevie Strickland
6e462ecb38
Forgot to quote the test expressions, which showed up once I added a
...
testcase for a blame error.
svn: r18158
2010-02-18 21:42:20 +00:00
Stevie Strickland
eeb2b52731
Start the MASSIVE TESTSUITE.
...
svn: r18157
2010-02-18 21:37:55 +00:00
Jay McCarthy
fb73b168d1
Adding testing for zo parser/marshaller/decompiler
...
svn: r18155
2010-02-18 21:07:05 +00:00
Robby Findler
8424dea37b
avoid doing mac os x-specific tests unless under mac os x
...
svn: r18154
2010-02-18 20:36:03 +00:00
Kevin Tew
202c056c53
tests file.ss use random port
...
svn: r18151
2010-02-18 18:54:53 +00:00
Jay McCarthy
25dbc6a418
Test cleanup
...
svn: r18150
2010-02-18 16:14:41 +00:00
Robby Findler
b51f3e0940
more debugging information printed
...
svn: r18148
2010-02-18 13:54:39 +00:00
Robby Findler
66e329c21b
updated pconvert to use the new arguments to make-hash and friends
...
svn: r18128
2010-02-17 21:20:39 +00:00
Robby Findler
5763cc0104
added some debugging printouts to try to find out how to make this work in drdr
...
svn: r18123
2010-02-17 20:38:07 +00:00
Matthew Flatt
91d725fbb9
add optional initialization argument to make-hash (and variants)
...
svn: r18120
2010-02-17 17:44:29 +00:00
Jay McCarthy
9a468dd9d0
Fixing error message re Robby and rearranging tests a little
...
svn: r18117
2010-02-17 16:04:13 +00:00
Robby Findler
445ec5c145
refactored the mutator test case generator to make testing more tractable and added some tests (and fixed a bug)
...
svn: r18113
2010-02-17 15:37:27 +00:00
Robby Findler
6565005468
checking this in to be able to show it to Jay
...
svn: r18111
2010-02-17 15:14:49 +00:00
Stevie Strickland
35afebaea3
Change object-contract to use find-method/who (already exported for Typed
...
Scheme) to look for the appropriate method to wrap, which makes Robby's
object-contracts appropriately translucent during contract wrapping.
svn: r18102
2010-02-16 19:58:07 +00:00
Jay McCarthy
520b4feedc
Adding PLAI software to the core
...
svn: r18101
2010-02-16 18:56:44 +00:00
Robby Findler
b73613460b
added a test that saves and reopens a file in the teaching languages
...
svn: r18088
2010-02-15 18:39:15 +00:00
Sam Tobin-Hochstadt
90c8fcff11
Generate proper contracts for polymorphic struct types.
...
Document `Nothing'.
svn: r18074
2010-02-12 21:57:58 +00:00
Matthew Flatt
38a0f6d89a
fix the actual result value for unboxed flmin and flmax
...
svn: r18045
2010-02-11 04:00:18 +00:00
Sam Tobin-Hochstadt
8bf908d106
More restrictive handling of contracts for the `Any' type.
...
svn: r18043
2010-02-10 20:45:50 +00:00
Robby Findler
8f5d2e1864
apparently the 1 pixel circle under linux draws in exactly one pixel when not in smoothed mode, which broke a test case; so that's changed now
...
svn: r18037
2010-02-10 17:40:21 +00:00
Robby Findler
4e92d54b28
possible fix to module lang test suite
...
svn: r18020
2010-02-08 19:44:01 +00:00
Sam Tobin-Hochstadt
55a48ca594
Fix a number of bugs reported by eli
...
svn: r18017
2010-02-08 18:17:15 +00:00
Robby Findler
49702f8f59
moved temp files into the temp directory
...
svn: r18015
2010-02-08 17:40:46 +00:00
Carl Eastlund
fe40d3e888
Merged changes from trunk.
...
svn: r18007
2010-02-06 19:23:24 +00:00
Robby Findler
75a60162b0
another attempt to get the drscheme gui test suite in shape to be run by drdr
...
svn: r18004
2010-02-06 17:13:49 +00:00
Eli Barzilay
3a08648dab
Added a `running' state, which is visible only from inside the
...
generator. (Also considered making it an error when the generator is
called while it is running, but that doesn't allow (yield (yield X))
fun.)
svn: r17982
2010-02-05 03:22:09 +00:00
Eli Barzilay
f1dcf49d38
Added `generator-state', implemented using a local state (which also
...
simplifies the code that raises an error from the last change).
svn: r17980
2010-02-05 03:22:04 +00:00
Eli Barzilay
505034ea26
The generator function can now be used to send values to the generator.
...
For example,
(define g (generator (yield (yield (yield 1)))))
(list (g) (g 2) (g 3) (g 4) (g) (g))
evaluates to '(1 2 3 4 4 4). This is something that Python does (as a
generator.send method), which might be useful for using generators as
co-routines, and it is actually easy to implement since sending values
is exactly what we get when the generator call is actually calling the
saved continuation. So most of the change is dealing with the
technicalities of throwing an error when the generator is called with
some arguments, when that's done after it's terminated (at the stage
where it's repeating the last value for ever).
A few tests added for this.
svn: r17979
2010-02-05 03:22:01 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
2e3ea3d0de
Merged latest changes from the trunk.
...
svn: r17974
2010-02-05 02:41:24 +00:00
Matthew Flatt
3812f8ca72
improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
...
svn: r17972
2010-02-05 00:16:06 +00:00
Sam Tobin-Hochstadt
318833f422
Add supertypes for mutable types, so that predicates work correctly.
...
svn: r17971
2010-02-04 23:39:15 +00:00
Robby Findler
1b39d29640
clean up temporary files
...
svn: r17970
2010-02-04 20:31:51 +00:00
Carl Eastlund
d7a7409fe0
Merged changes from the trunk.
...
svn: r17954
2010-02-03 15:15:11 +00:00
Robby Findler
76f41c2a1c
fixed a bug and added some race-condition insurance
...
svn: r17946
2010-02-02 21:32:20 +00:00
Robby Findler
e74e46d9ca
drdr-ized the rest of the drscheme test suite
...
svn: r17945
2010-02-02 21:06:07 +00:00
Ryan Culpepper
8d2f32efed
syntax/parse:
...
fixed bug: splicing-stxclass immediately within ellipses
added tests, docs for local-conventions
svn: r17944
2010-02-02 19:48:08 +00:00
Robby Findler
319a4a7ef0
fixed a bug revealed by drdr (but stil cant make this bad case happen on my machine, frustratingly
...
svn: r17942
2010-02-02 18:01:55 +00:00
Robby Findler
102b03311e
made the check syntax tests more drdr friendly
...
svn: r17928
2010-02-01 17:46:17 +00:00
Robby Findler
6f4c164793
improved the implementation of error in the teaching languages, added test casees
...
svn: r17923
2010-02-01 15:39:33 +00:00
Robby Findler
bf67e34e87
fixed up module language test suite for new language dialog, plus misc cleanups based on last release
...
svn: r17922
2010-02-01 15:18:28 +00:00
Carl Eastlund
2e0cb8226e
Replaced every "langauge" (note swapped vowels) with "language".
...
svn: r17918
2010-02-01 01:41:51 +00:00
Matthew Flatt
5433c57504
wrap each top-level form in a module with a prompt
...
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
e8c97a5102
more readable mandelbrot-unsafe; minor benchmark harness fixes
...
svn: r17915
2010-01-31 14:58:26 +00:00
Carl Eastlund
1d4cdbeb45
Exports from scheme/contract/private/blame: removed constructor; fixed confusing selector names.
...
svn: r17909
2010-01-31 03:03:30 +00:00
Carl Eastlund
2772ffccba
Restored legacy functions for custom contracts.
...
svn: r17900
2010-01-30 21:14:27 +00:00
Robby Findler
aa67a279ab
added a little more information
...
svn: r17899
2010-01-30 21:02:26 +00:00
Robby Findler
32faba2964
added more debugging information to try to figure out if the 'window with no button' error is a bug or not
...
svn: r17898
2010-01-30 20:53:03 +00:00
Carl Eastlund
2513e7d6e0
Merged changes from the trunk.
...
svn: r17892
2010-01-30 04:59:20 +00:00
James Swaine
68c197d02f
added basic test suite for the parallel futures module
...
svn: r17890
2010-01-29 21:44:46 +00:00
Matthew Flatt
d620177619
fix benchmark readme
...
svn: r17885
2010-01-29 17:49:25 +00:00
Matthew Flatt
42e68c8ff1
even more benchmark scaffolding
...
svn: r17884
2010-01-29 16:33:15 +00:00
Matthew Flatt
a09e671f34
allow radio-box% to have no selected buttons
...
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
2c192f5297
support inlining of procedures with rest args
...
svn: r17860
2010-01-28 01:31:37 +00:00
Matthew Flatt
980d48ce19
fix karen and psyntax benchmarks
...
svn: r17850
2010-01-27 12:56:51 +00:00
Matthew Flatt
f07c19b268
update benchmark harness
...
svn: r17840
2010-01-26 20:17:44 +00:00
John Clements
bef818b2be
test changes, goes in release 4.2.4
...
svn: r17806
2010-01-24 19:31:29 +00:00
John Clements
100fe8520d
took bad require out
...
svn: r17803
2010-01-24 18:21:56 +00:00
Matthew Flatt
4ce8dfa7da
fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
...
svn: r17802
2010-01-24 15:30:16 +00:00
John Clements
25cd6766fa
test files, for release if it matters..
...
svn: r17795
2010-01-24 07:23:59 +00:00
John Clements
a18447e970
srfi 19 tests, not for release
...
svn: r17794
2010-01-24 07:23:09 +00:00
Carl Eastlund
bd9b6e9e97
Made unit contract test regular expressions more robust.
...
svn: r17782
2010-01-23 18:31:32 +00:00
Carl Eastlund
88aba214c9
Merged changes from trunk. No conflicts.
...
svn: r17780
2010-01-23 17:44:27 +00:00
Robby Findler
5dfed472c7
svn: r17777
2010-01-23 16:03:50 +00:00
Ryan Culpepper
ef138249f4
syntax/parse: fixed bugs (thanks samth)
...
Please propagate this to the release branch.
svn: r17756
2010-01-19 21:03:51 +00:00
Carl Eastlund
e5c74e7a25
Fixed bug I introduced when changing make-proj-contract to simple-contract.
...
svn: r17744
2010-01-19 07:33:03 +00:00
Carl Eastlund
35a716d5d3
Fixed blame detection regexp.
...
svn: r17742
2010-01-19 07:14:17 +00:00
Carl Eastlund
9d7ca20eeb
Replaced guilty-party with equivalent.
...
svn: r17739
2010-01-19 06:29:15 +00:00
Carl Eastlund
888045dcf9
Replaced make-proj-contract with simple-contract in tests.
...
svn: r17737
2010-01-19 05:31:18 +00:00
Sam Tobin-Hochstadt
3fc133a0b8
Correct typing for `or'.
...
svn: r17665
2010-01-15 19:39:46 +00:00
Sam Tobin-Hochstadt
5e1b355e32
Syntax for predicates with non-empty paths
...
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
d69c96cf06
update to the final version of this code
...
svn: r17658
2010-01-14 22:09:31 +00:00
Sam Tobin-Hochstadt
104adf9c62
Types for the other `check-expect'-style forms.
...
svn: r17657
2010-01-14 21:24:47 +00:00
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
Eli Barzilay
28f5070d5e
undo accidental commenting
...
svn: r16951
2009-11-22 02:22:19 +00:00
Sam Tobin-Hochstadt
5ea3e28078
check that we get correct blame
...
svn: r16950
2009-11-21 23:24:02 +00:00
Robby Findler
9454a471d3
added some vector-copy tests
...
svn: r16940
2009-11-21 13:21:30 +00:00
Sam Tobin-Hochstadt
750c971d07
checkpoint
...
svn: r16931
2009-11-21 00:11:37 +00:00
Sam Tobin-Hochstadt
6497745560
Skip backup files in tests.
...
More specific numeric types.
More subtyping relationships.
svn: r16922
2009-11-20 15:20:23 +00:00
Sam Tobin-Hochstadt
485c8a3567
checkpoint
...
svn: r16915
2009-11-20 05:20:23 +00:00
Sam Tobin-Hochstadt
1da2c7cd7d
many fixes
...
svn: r16913
2009-11-20 03:56:57 +00:00
Eli Barzilay
9473d1809f
test all orders fo lengths <= 3
...
svn: r16900
2009-11-19 22:05:02 +00:00
Robby Findler
8d96441673
PR 10591
...
svn: r16897
2009-11-19 20:29:36 +00:00
Eli Barzilay
0c0945bb08
properly disable TS tests on cgc
...
svn: r16842
2009-11-17 20:02:07 +00:00
Sam Tobin-Hochstadt
bbd2ff852e
disable typed scheme tests on cgc
...
svn: r16839
2009-11-17 19:45:41 +00:00
Eli Barzilay
10183e8d19
fix moved test files, set svn:eol-style
...
svn: r16815
2009-11-16 17:35:23 +00:00
Robby Findler
4f5479e912
moved 2htdp/image test back into 2htdp collection (yeah!)
...
svn: r16812
2009-11-16 16:45:25 +00:00
Robby Findler
77e1707aa7
renamed README to README.ss
...
svn: r16809
2009-11-16 12:00:03 +00:00
Eli Barzilay
b1f5b0652c
new kinds of promises
...
svn: r16807
2009-11-16 11:06:47 +00:00
Eli Barzilay
7917fd89fb
moved srfi-19 tests to tests/srfi/19
...
svn: r16799
2009-11-16 07:30:49 +00:00
Eli Barzilay
de17c5f7da
moved planet test to tests/planet
...
svn: r16798
2009-11-16 07:23:20 +00:00
Eli Barzilay
77d9f02c90
work around name problem in promise, avoid keeping the original exn in syntax errors in eli-tester
...
svn: r16796
2009-11-16 04:34:13 +00:00
Sam Tobin-Hochstadt
25f9bcfe03
Add types for with-output-to-string, open-output-nowhere
...
Fix time.ss test not to print
svn: r16790
2009-11-15 22:38:30 +00:00
Eli Barzilay
cecac1c6c1
delay is now defined as delay*
...
svn: r16780
2009-11-15 10:47:59 +00:00
Eli Barzilay
d66d5f7759
move promise tests to tests/lazy
...
svn: r16773
2009-11-15 00:36:24 +00:00
Matthew Flatt
2f0f249299
skip setup-plt compilation in 2htdp tests
...
svn: r16771
2009-11-14 15:54:33 +00:00
Ryan Culpepper
32e38ca0e4
macro-stepper:
...
do compile-time evals when expanding
fixes: (begin macro-def macro-use) pattern
updated tests for lifts change
svn: r16762
2009-11-13 21:41:01 +00:00
Sam Tobin-Hochstadt
a29172bc51
Add command line flags to disable things that are problematic for DrDr.
...
svn: r16751
2009-11-13 18:16:07 +00:00
Sam Tobin-Hochstadt
77bd8bac39
Fix for modern redex
...
svn: r16737
2009-11-13 00:13:09 +00:00
Robby Findler
676df4b338
added polygon
...
svn: r16735
2009-11-12 20:21:33 +00:00
Robby Findler
cacb4bd515
added above and above/places
...
svn: r16730
2009-11-12 16:25:02 +00:00
Robby Findler
88217a8aae
added 'add-line', changed the way images in examples are saved
...
svn: r16727
2009-11-12 14:56:47 +00:00
Robby Findler
7411fdfa57
added 'line'
...
svn: r16699
2009-11-11 21:29:59 +00:00
Sam Tobin-Hochstadt
ccbb55ec11
fix execution of 'auto.ss'
...
svn: r16697
2009-11-11 18:41:25 +00:00
Sam Tobin-Hochstadt
70fa8fb2c4
Fix run to dynamic-require relative to the shootout directory.
...
svn: r16696
2009-11-11 18:30:18 +00:00
Matthew Flatt
8845e870cb
test repairs for DrDr
...
svn: r16694
2009-11-11 14:01:18 +00:00
Jon Rafkind
0080e2b673
test
...
svn: r16683
2009-11-11 02:25:11 +00:00
Jon Rafkind
507e8db8e7
test
...
svn: r16682
2009-11-11 02:22:38 +00:00
Robby Findler
1a8d681ed2
added a bunch more polygons
...
svn: r16681
2009-11-11 02:20:18 +00:00
Matthew Flatt
1d64270f5d
some corrections/removals of old tests
...
svn: r16680
2009-11-11 01:34:09 +00:00
Robby Findler
4e3b1b4c26
fixed some bad behavior (that I never completely understood) by changing the interpretation of the base images as drawing their centers at (0,0) instead of drawing their upper left corners at (0,0)
...
svn: r16676
2009-11-10 23:36:32 +00:00
Sam Tobin-Hochstadt
36bceaa463
disable compilation of test files to avoid drdr race condition
...
svn: r16663
2009-11-10 20:10:47 +00:00
Jon Rafkind
9c0c1ec591
comment out most honu macro stuff
...
svn: r16660
2009-11-10 19:18:06 +00:00
Sam Tobin-Hochstadt
8dff3dca74
use load-relative
...
svn: r16656
2009-11-10 18:28:20 +00:00
Sam Tobin-Hochstadt
7a77367040
Fix drdr props.
...
Fix the ttt tests (which I don't think have been run in years).
Fix the lists shootout benchmark to use mpairs.
Fix the regexmatch shootout benchmark, although it still needs input.
Require a current version of ssax, so that it compiles.
Fix finding the collections path.
svn: r16654
2009-11-10 15:41:32 +00:00
Robby Findler
add9374636
added failing test
...
svn: r16652
2009-11-10 14:08:28 +00:00
Sam Tobin-Hochstadt
f29e01029c
Fix drdr props for more files.
...
Fix requires in TS tests.
svn: r16635
2009-11-09 17:06:12 +00:00
Eli Barzilay
44d88cee6b
newlines at EOFs
...
svn: r16630
2009-11-09 03:49:50 +00:00
Robby Findler
3e51bc7199
fixed up text
...
svn: r16625
2009-11-08 23:29:19 +00:00
Ryan Culpepper
94917e2447
unstable:
...
added draft guidelines
fixed some svn properties
svn: r16619
2009-11-08 10:55:57 +00:00
Robby Findler
faf055c858
added circle and star-polygon
...
svn: r16617
2009-11-08 00:19:53 +00:00
Robby Findler
667e967085
added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
...
svn: r16607
2009-11-07 14:26:39 +00:00
Sam Tobin-Hochstadt
2f6c19b75a
fix section name
...
svn: r16601
2009-11-07 06:55:45 +00:00
Eli Barzilay
69e90b7ef3
#:key argument to remove-duplicates
...
svn: r16587
2009-11-06 22:32:53 +00:00
Robby Findler
3159a06389
(hopefully) sorted out polygons; added a few other polygon-based primitives
...
svn: r16570
2009-11-06 14:34:25 +00:00
Robby Findler
693ba9b9e8
allow overlaying of 0x0 images
...
svn: r16558
2009-11-05 14:55:07 +00:00
Mike Sperber
2a8e5d64be
Make the DeinProgramm / DMdA one-of' /
case' contracts use beginner-equal?.
...
svn: r16556
2009-11-05 10:10:17 +00:00
Ryan Culpepper
0feac0f636
syntax/parse:
...
tweaked error selection algorithm
added tests
svn: r16533
2009-11-04 00:31:24 +00:00
Sam Tobin-Hochstadt
149e695a55
New `scheme/vector' library.
...
svn: r16511
2009-11-03 04:16:48 +00:00
Kevin Tew
9611f21611
Allow concurrent testing
...
svn: r16506
2009-11-02 23:24:08 +00:00
Matthew Flatt
70560372b7
unsafe-{string,bytes}-{ref,set,length}
...
svn: r16490
2009-10-31 02:19:57 +00:00
Sam Tobin-Hochstadt
40bc4cb77a
remove dead examples
...
svn: r16480
2009-10-30 16:27:55 +00:00
Sam Tobin-Hochstadt
93a504a817
Add failing test to xfail.
...
Remove old dead code.
svn: r16479
2009-10-30 16:26:48 +00:00
Robby Findler
d48bc1f1c1
undid my broken commit
...
svn: r16478
2009-10-30 16:11:34 +00:00
Jay McCarthy
d84879db34
Moving tests
...
svn: r16477
2009-10-30 16:00:44 +00:00
Eli Barzilay
27f1489403
extra flushing
...
svn: r16468
2009-10-30 07:50:49 +00:00
Eli Barzilay
fdb074407d
have at least one more difference from the first test
...
svn: r16464
2009-10-30 07:20:02 +00:00
Eli Barzilay
f03518f7cc
try to sort outputs out
...
svn: r16463
2009-10-30 06:42:51 +00:00
Sam Tobin-Hochstadt
b7db9e4e67
add back test, but fixed
...
svn: r16462
2009-10-30 03:19:50 +00:00
Eli Barzilay
e81bbf3b90
undo the fake-error-output change
...
svn: r16461
2009-10-30 02:54:45 +00:00
Eli Barzilay
8061c07a9d
fix one broken test, remove another bogus test
...
svn: r16460
2009-10-30 02:28:38 +00:00
John Clements
e4ccfc0e25
removed extra arg from call to 'go'
...
svn: r16457
2009-10-29 19:23:08 +00:00
John Clements
5b06af8c10
removed non-compiling test-suite
...
svn: r16456
2009-10-29 19:16:40 +00:00
John Clements
0263431ae0
...
...
svn: r16455
2009-10-29 19:16:06 +00:00
Stevie Strickland
cf78f9173c
These tests are so outdated, that if they ever get put back, they'll have
...
to change almost completely anyway. Jettison the whole mess.
svn: r16454
2009-10-29 19:08:40 +00:00
Sam Tobin-Hochstadt
653d0ccd66
Add in-port',
port->list', `file->list'.
...
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.
svn: r16453
2009-10-29 18:49:34 +00:00
Stevie Strickland
4bad2f34c1
Fix another of the tests for units.
...
svn: r16452
2009-10-29 18:38:08 +00:00
Robby Findler
4ddbe71e2d
fixed the comparison contracts so they work right wrt to complex numbers
...
svn: r16445
2009-10-28 16:04:39 +00:00
Robby Findler
b17d6cfc2c
fixed up for our modern times
...
svn: r16437
2009-10-26 19:48:58 +00:00
Matthew Flatt
9dc53f261e
unsafe variants of shootout benchmarks
...
svn: r16432
2009-10-26 16:53:45 +00:00
Ryan Culpepper
e273dae9b1
macro-stepper: made syntax display faster, esp for early terms
...
calculate arrows etc wrt known binders instead of all binders
svn: r16416
2009-10-22 22:00:49 +00:00
Jay McCarthy
98488a89ef
DrDr bugs and spurious errors
...
svn: r16412
2009-10-22 18:45:02 +00:00
Jay McCarthy
d557687494
DrDr related changes
...
svn: r16403
2009-10-21 20:32:19 +00:00
Sam Tobin-Hochstadt
a3082cba0b
fix test result
...
svn: r16398
2009-10-21 14:46:36 +00:00
Ryan Culpepper
c7d95a21c2
syntax/parse:
...
dependence on scheme/match eliminated
fail-when, etc use conditional value if syntax
error message typos (bad tildes) fixed
svn: r16393
2009-10-20 23:17:30 +00:00
Sam Tobin-Hochstadt
37106bd6f7
Add `typed/scheme/system'
...
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test
svn: r16385
2009-10-20 18:30:37 +00:00
Kevin Tew
ac7853dc00
Allow binding to ephemeral ports
...
svn: r16382
2009-10-20 17:00:20 +00:00
Stevie Strickland
c17885638a
* Fix with-contract so that all uncontracted names are automatically exported
...
* Also allow mutation of contracted names that flow in/out of with-contract.
svn: r16376
2009-10-19 23:17:30 +00:00
Eli Barzilay
3d60fe640b
misc prop fixes
...
svn: r16374
2009-10-19 22:36:12 +00:00
Stevie Strickland
0385b2f89d
Fix require-for-syntax -> require + for-syntax
...
svn: r16367
2009-10-19 16:11:52 +00:00
Sam Tobin-Hochstadt
6a83901a8b
Don't error for branches with wrong number of results where return type is Bot.
...
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert
svn: r16357
2009-10-18 01:10:00 +00:00
Robby Findler
b5dd323d94
fixed up problems uncovered by dr dr
...
svn: r16355
2009-10-17 21:28:45 +00:00
Robby Findler
931cb35fa4
fixed up these files to be friendlier to the dr dr
...
svn: r16354
2009-10-17 21:23:35 +00:00
Matthew Flatt
110ea411d1
clean up some tests
...
svn: r16350
2009-10-17 14:50:52 +00:00
Eli Barzilay
87a169a33e
drdr props to ignore Windows-only files; svn:ignore; make plot/run-tests.ss independent of where they are running from
...
svn: r16346
2009-10-17 02:17:09 +00:00
Jay McCarthy
46734639fb
Cleaning up DrDr properties
...
svn: r16342
2009-10-16 19:29:57 +00:00
Robby Findler
40547e86a2
added a little more automation to the drscheme test suite
...
svn: r16341
2009-10-16 17:26:32 +00:00
Jon Rafkind
25bd680141
add example syntax-rules honu macro
...
svn: r16334
2009-10-15 23:38:19 +00:00
Jay McCarthy
c40c3a9884
DrDr properties and stderr change
...
svn: r16329
2009-10-15 19:42:48 +00:00
Robby Findler
11e87632dc
rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
...
svn: r16317
2009-10-13 23:06:24 +00:00
Robby Findler
3aae13cb60
fixed a bug in rotating non-polygons
...
svn: r16315
2009-10-13 22:16:17 +00:00
Robby Findler
339860d340
a little more progress (got ellipses bounding boxes right!)
...
svn: r16307
2009-10-13 17:30:40 +00:00
Robby Findler
7dbd784048
PR 10518
...
svn: r16282
2009-10-08 16:32:37 +00:00
Robby Findler
e87712fdda
an attempt to fix up the bounding boxes on ellipses
...
svn: r16281
2009-10-08 14:20:04 +00:00
Matthew Flatt
f6d34ab964
add unsafe-flabs and unsafe-fxabs (4.2.2.4)
...
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
20681d40de
tests for bitwise-bit-field repair
...
svn: r16233
2009-10-04 01:41:18 +00:00
Matthew Flatt
9852bb16a2
unboxing of intermediate results in some 'unsafe-fl' combinations
...
svn: r16229
2009-10-03 14:10:55 +00:00
Matthew Flatt
01d15eb9b6
add unsafe-fx->fl; avoid some gcc warnings
...
svn: r16221
2009-10-02 19:45:41 +00:00
Sam Tobin-Hochstadt
6efd0abc13
Fix bug with use of match with ... and annotation.
...
svn: r16216
2009-10-02 16:20:30 +00:00
Robby Findler
d0b4dc24ec
added scaling to 2htdp/image
...
svn: r16211
2009-10-02 11:20:30 +00:00
Robby Findler
2fbb31c6ad
a little more progress on images, plus some documentation
...
svn: r16202
2009-10-01 19:21:45 +00:00
John Clements
352a74cc05
...
...
svn: r16199
2009-10-01 17:46:44 +00:00
Eli Barzilay
b280232aea
mu
...
svn: r16160
2009-09-29 04:38:02 +00:00
Jon Rafkind
230fcf49df
add simple trace tests
...
svn: r16158
2009-09-29 04:30:31 +00:00
Robby Findler
53a796d7af
first (broken) attempt at bounding boxes for ellipses
...
svn: r16145
2009-09-28 16:26:03 +00:00
Robby Findler
982f533d28
split up image into core library (required for copy & paste) and other stuff (implementation of the combinators, mostly)
...
svn: r16141
2009-09-28 11:36:13 +00:00
Robby Findler
68d461f60a
renamed 2htdp/picture to 2htdp/image
...
svn: r16140
2009-09-28 11:04:23 +00:00
Matthew Flatt
95235a4522
fix problem with regexp-match*, etc. and byte regexps (merge to 4.2.2)
...
svn: r16133
2009-09-26 18:50:41 +00:00
Robby Findler
c91a9847aa
more progress on picture.ss; hopefully this is a final version of the internal data definitions
...
svn: r16132
2009-09-26 15:39:00 +00:00
Robby Findler
9b8c2d15cc
added a test case for just creating a snip% (but the test case doesnt run yet)
...
svn: r16131
2009-09-26 15:38:35 +00:00
Matthew Flatt
be2c552788
fix cleanse-path security-guard test
...
svn: r16125
2009-09-25 14:16:44 +00:00
Robby Findler
6ac7ad9a3c
svn: r16110
2009-09-22 10:10:46 +00:00
Robby Findler
5fb6d5ef47
brought test suites up to date
...
svn: r16105
2009-09-21 22:43:39 +00:00
Kathy Gray
8daec2e15d
Removed tests/profj. Moved the test-engine test file out of the profj tests into its own directory
...
svn: r16101
2009-09-21 12:42:27 +00:00
Ryan Culpepper
68667c15a6
syntax/parse: removed tests/stxclass to tests/stxparse
...
svn: r16098
2009-09-20 23:57:56 +00:00
Ryan Culpepper
5ababfac9c
syntax/parse: added ~parse action pattern
...
svn: r16097
2009-09-20 23:49:41 +00:00
Eli Barzilay
95f81d4b50
restored collects/tests/profj, since kathy needs to get the profj tests out, and since it also includes the test-engine tests
...
svn: r16095
2009-09-20 22:29:02 +00:00
Eli Barzilay
6387797aa4
removed collects/tests/profj
...
svn: r16088
2009-09-20 20:37:14 +00:00
Ryan Culpepper
282d36e363
syntax/parse: added explicit ~var and ~literal forms (no docs yet)
...
svn: r16077
2009-09-19 20:04:00 +00:00
Mike Sperber
ec0175bd48
Add missing `contract'.
...
svn: r16072
2009-09-19 17:23:04 +00:00
Kathy Gray
f300ba967a
Changed syntax of check-member-of so that it will work in htdp-beginner
...
Updated docs to reflect this
svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
e3c2721052
Adding check-member-of and check-range to the htdp languages and updating the docs.
...
svn: r16064
2009-09-18 12:37:18 +00:00
Stevie Strickland
636adcc142
Refactoring all the private contract stuff into its own playpen.
...
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
70e8f21ba2
Refactoring scheme/private/contract into reasonably sized pieces.
...
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e
First moving private/contract.ss to a different name. The diaspora from
...
that file into others will happen next.
svn: r16048
2009-09-17 17:42:45 +00:00
John Clements
93a2302bf3
cleaned up debugging code, still no automated testing
...
svn: r16015
2009-09-15 00:45:33 +00:00
Jon Rafkind
6137510396
make generators use a parameterized yield function
...
svn: r16010
2009-09-14 21:11:07 +00:00
Jay McCarthy
b2b557ab0b
Fixing test
...
svn: r16007
2009-09-14 18:40:20 +00:00
Matthew Flatt
30c0dcf045
dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
...
svn: r15985
2009-09-11 23:05:50 +00:00
Sam Tobin-Hochstadt
49b30f9055
Remove obselete file.
...
Use syntax/parse instead of stxclass.
svn: r15983
2009-09-11 22:17:45 +00:00
Stevie Strickland
c7255c9daf
Copy/paste error.
...
svn: r15978
2009-09-11 19:39:08 +00:00
Jon Rafkind
d0611c8871
add keyword tests for define-struct/contract
...
svn: r15974
2009-09-11 17:37:59 +00:00
Mike Sperber
b6ca1e1673
Zap a bunch more `define-contract' forms.
...
svn: r15971
2009-09-11 09:38:59 +00:00
Mike Sperber
9a613d0d57
Remove invalid-arity tests: these fail directly now that we copy the
...
arity to the enforcer.
svn: r15935
2009-09-09 15:17:40 +00:00
Sam Tobin-Hochstadt
4907d266df
Move parse-type2 to parse-type.
...
Re-enable typed-scheme tests automatically.
svn: r15924
2009-09-08 20:02:03 +00:00
Sam Tobin-Hochstadt
63d318fd4b
New type parser, written using syntax/parse.
...
- uses keywords with bindings
- : macro in separate file so it can be used earlier
- internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr
svn: r15923
2009-09-08 19:51:34 +00:00
Matthew Flatt
8ae0ea9d14
unsafe ops (v4.2.1.8)
...
svn: r15899
2009-09-06 18:24:46 +00:00
Jon Rafkind
260ef74035
add define-struct/contract sub-typing tests
...
svn: r15888
2009-09-05 16:48:15 +00:00
Robby Findler
302cfd2800
updated to new coloring of set!'d variables
...
svn: r15875
2009-09-04 07:54:42 +00:00
Robby Findler
937d2efab3
added exists to provide/contract
...
svn: r15871
2009-09-04 04:52:02 +00:00
Sam Tobin-Hochstadt
9e25d28a28
remove extra whitespace
...
svn: r15863
2009-09-03 07:53:39 +00:00
Sam Tobin-Hochstadt
95cb438a9c
New tests
...
svn: r15856
2009-09-01 22:22:37 +00:00
Stevie Strickland
acce62b181
Add in one test that uses unit/c (via define-unit/contract) instead of just
...
the signature based contracts.
svn: r15855
2009-09-01 22:00:15 +00:00
Ryan Culpepper
2acdfd6eb5
syntax/parse: fixed error-reporting bugs, added error-reporting tests
...
svn: r15853
2009-09-01 19:16:33 +00:00
Ryan Culpepper
43d10b5179
added syntax/keyword library
...
updated syntax/parse to add #:context argument
svn: r15828
2009-08-29 22:58:08 +00:00
Matthew Flatt
a12ec5fd23
improve speed of writing long byte strings with lots of escapes in WXME
...
svn: r15822
2009-08-28 03:45:38 +00:00
Jon Rafkind
40115cb251
add generator tests back in
...
svn: r15817
2009-08-27 16:42:17 +00:00
Eli Barzilay
caf1c21d3f
removed tests for now
...
svn: r15813
2009-08-27 12:17:28 +00:00
Eli Barzilay
ec9fc2571a
Added `in-producer'.
...
(Note that `test-generator' tests use quasiquote for the expected result).
svn: r15811
2009-08-27 09:15:52 +00:00
Jon Rafkind
11091ee8fe
add a few generator tests
...
svn: r15809
2009-08-26 21:44:14 +00:00
Eli Barzilay
e9bad827c3
Change the location information: avoid adjusting the source information
...
of `@foo' to include the `@'. This applies for both identifiers and
full @-forms.
svn: r15792
2009-08-21 13:16:08 +00:00
Eli Barzilay
82f0d336d4
Added syntax property checking (only locations for now, but will be extended).
...
svn: r15791
2009-08-21 13:04:19 +00:00
Eli Barzilay
d863e07492
minor reorganization
...
svn: r15790
2009-08-21 11:40:29 +00:00
Eli Barzilay
1ea8c66511
In Scheme mode @|| will also throw an error instead of being read as a
...
comment. This is to avoid confusing situations like
(define foo (list x '@|| y))
which quoted the `y' since @|| was read as a comment.
svn: r15789
2009-08-21 11:11:21 +00:00
Robby Findler
d3ececcee6
cleaned up rotation
...
svn: r15782
2009-08-19 12:14:09 +00:00
Stevie Strickland
7d551aa0f2
Small change so that failures due to the implicit compound-unit/infer (like
...
init-depend failures) will show define-values/invoke-unit/infer as the
original source of the problem.
svn: r15780
2009-08-18 23:22:32 +00:00
Robby Findler
accd344975
started changing the representation so that the rotation angles are always at the bottom of the pictures
...
svn: r15774
2009-08-17 21:09:33 +00:00
Robby Findler
be2dc50990
moved tests into the tests collection
...
svn: r15773
2009-08-17 20:17:45 +00:00
Robby Findler
02e4426d06
PR 10406
...
svn: r15748
2009-08-16 09:56:24 +00:00
Robby Findler
485785176a
drscheme now saves its compiled files in its own directory
...
svn: r15714
2009-08-12 19:44:14 +00:00
Eli Barzilay
7340beddde
align expected and result on separate lines
...
svn: r15688
2009-08-08 07:21:39 +00:00
Eli Barzilay
ab544948e2
no plural if only one test
...
svn: r15687
2009-08-08 06:49:36 +00:00
Stevie Strickland
8ae58f1244
Primarily this is a change so that the negative party entering into
...
with-contract based contracts is the syntactic context of the with-contract
expression. Also, there's some code cleanup.
svn: r15665
2009-08-03 21:15:44 +00:00
Sam Tobin-Hochstadt
1ea71ea94b
New contracts for hashtables, vectors, boxes
...
svn: r15646
2009-07-30 21:15:16 +00:00
Robby Findler
b5b32d1d8e
added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
...
svn: r15635
2009-07-30 05:17:40 +00:00
Eli Barzilay
1ce41ec179
* Improved tester definitions
...
* Testing read errors too now
svn: r15632
2009-07-30 03:17:50 +00:00
Eli Barzilay
d0f8970add
@foo@bar' will now parse as a
foo@bar' identifier. This used to be
...
the case in Scheme mode but not in text mode, and this commit makes
the text mode behave as the Scheme mode. (Seems like a convenience
point that is not useful since people won't remember the difference.)
svn: r15622
2009-07-29 17:00:29 +00:00
Matthew Flatt
d807421a07
extended syntax colorer to support lexer-specific backup; fix problems with new color lexers
...
svn: r15617
2009-07-29 03:31:29 +00:00
Matthew Flatt
84485e14ad
try reporting complex Scribble braces as regular braces
...
svn: r15614
2009-07-28 22:20:25 +00:00
Matthew Flatt
c261379a29
better coloring and bug fixes for Scribble notation
...
svn: r15613
2009-07-28 22:06:16 +00:00
Matthew Flatt
c1f5e3abb4
changed Scribble coloring for better tabbing
...
svn: r15612
2009-07-28 21:11:51 +00:00
Matthew Flatt
1ba7cf0926
#lang syntax coloring; Scribble syntax coloring
...
svn: r15607
2009-07-28 18:06:14 +00:00
Robby Findler
0c73b84692
PR 10344
...
svn: r15545
2009-07-24 04:37:34 +00:00
Robby Findler
305e3fc5df
catching up with a change to collects/htdp/error.ss
...
svn: r15525
2009-07-22 04:06:56 +00:00
Robby Findler
c8366006df
finally automated this
...
svn: r15523
2009-07-22 03:45:34 +00:00
Ryan Culpepper
a97a7f51b5
Please apply changes to release branch.
...
syntax/parse:
- removed scribble docs for old stxclass collection
- fixed bug in syntax-parse and #:declare
- added attribute calculation option
- renamed 'static-of' to 'static', added 'atom-in-list'
- fixed kernel-literals to include all expanded-code forms
- added tests
svn: r15488
2009-07-19 01:08:00 +00:00
Matthew Flatt
68a2257f2a
better interaction of HtDP languages with scheme/match
...
svn: r15462
2009-07-16 16:11:12 +00:00
John Clements
ec9ce0ed04
updating...
...
svn: r15427
2009-07-11 03:59:39 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Ryan Culpepper
3e63caa887
merged changes from /branches/ryanc/sp2:
...
added syntax/parse library and documentation
added syntax/id-table library and documentation
svn: r15376
2009-07-03 19:47:25 +00:00
Matthew Flatt
8237ec1b6f
fix custodian of tcp-accept-evt
...
svn: r15335
2009-06-30 12:59:55 +00:00
John Clements
7e7c5441eb
...
...
svn: r15301
2009-06-26 18:24:51 +00:00
Jay McCarthy
3141c3736f
Adding struct* to scheme/match
...
svn: r15255
2009-06-24 19:36:26 +00:00
Jay McCarthy
ad53d3e60d
Renaming permissive? to permissive-xexprs based on Matthias suggestion
...
svn: r15237
2009-06-22 21:00:24 +00:00
Jay McCarthy
f409c1e36d
Adding string->xexpr from troels
...
svn: r15233
2009-06-22 19:46:22 +00:00
Robby Findler
ec44ee7df1
added hash/c
...
svn: r15210
2009-06-18 21:31:33 +00:00
Sam Tobin-Hochstadt
cfd65e7fa2
Use vector-immutableof' and
box-immutable/c' to handle boxes and vectors.
...
svn: r15199
2009-06-17 20:49:13 +00:00
Eli Barzilay
66c855c2d3
Switch language readers to #lang s-exp
...
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
fbe5941a84
improved tests
...
svn: r15166
2009-06-13 17:47:54 +00:00
Carl Eastlund
6ae56e5348
Added a test for new datum->syntax type clauses.
...
svn: r15159
2009-06-12 23:36:08 +00:00
Sam Tobin-Hochstadt
7b82069fa0
Add NoFilter and NoObject to represent no information about filter/object.
...
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).
New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.
svn: r15155
2009-06-12 19:04:39 +00:00
Matthew Flatt
e0e7b390a3
include zero-length strings in random inserts
...
svn: r15127
2009-06-09 21:32:09 +00:00
Eli Barzilay
3c746c1fd3
move require into evaluation
...
svn: r15124
2009-06-09 10:41:22 +00:00
Eli Barzilay
4240ac8cfc
New `make-at-reader' in the API, update docs, adapt tests.
...
svn: r15121
2009-06-08 16:43:01 +00:00
Eli Barzilay
f08fb96f88
a little better
...
svn: r15118
2009-06-08 14:48:15 +00:00
Eli Barzilay
6977ddde54
Fix broken test, add many more
...
svn: r15117
2009-06-08 14:34:52 +00:00
Eli Barzilay
d521d21ad5
minor shuffling
...
svn: r15113
2009-06-07 21:43:36 +00:00
Eli Barzilay
dd68b710ae
* Reorganize the scribble tests to separate files
...
* Finally moved the scribble reader tests with the rest so it can run
with the nightly build.
svn: r15112
2009-06-07 21:42:38 +00:00
Eli Barzilay
575a348e8a
fix bad syntax
...
svn: r15110
2009-06-07 09:21:41 +00:00
Jay McCarthy
e9db334ed0
Fixing an error in the detecting of bad Xexprs and displaying the error prettily
...
svn: r15080
2009-06-04 17:25:19 +00:00
Sam Tobin-Hochstadt
e14e58c8df
hash table keys are contravariant, not covariant
...
svn: r15077
2009-06-04 14:38:59 +00:00
Matthew Flatt
122fd73ce8
fix test suite typo
...
svn: r15034
2009-06-01 12:19:51 +00:00
Eli Barzilay
82e256473d
Finally it works.
...
svn: r15018
2009-05-30 06:48:49 +00:00
Matthew Flatt
7cc2a8c898
tests for quasiquote repair (merge to 4.2)
...
svn: r15004
2009-05-28 13:04:35 +00:00
Matthew Flatt
5c103eed59
fix problem with module->namespace and shadowing initial imports (pr 10264) (merge to 4.2)
...
svn: r14994
2009-05-26 23:44:11 +00:00
Sam Tobin-Hochstadt
d31926c434
sync to trunk
...
svn: r14978
2009-05-25 13:03:13 +00:00
Matthew Flatt
2b80e7d68d
more random testing
...
svn: r14971
2009-05-24 12:25:28 +00:00
Sam Tobin-Hochstadt
c1eb25e47f
move additional tests to test dir
...
svn: r14963
2009-05-23 23:00:23 +00:00
Sam Tobin-Hochstadt
a8ee2dc161
sync to trunk
...
svn: r14940
2009-05-22 21:42:46 +00:00
Sam Tobin-Hochstadt
e772687a58
Add unit tests for andmap of ..., Bot return to MV context
...
svn: r14929
2009-05-22 19:08:12 +00:00
Sam Tobin-Hochstadt
5b7249eea5
Add test of andmap.
...
svn: r14928
2009-05-22 19:04:22 +00:00
Robby Findler
611f1d1efd
svn: r14927
2009-05-22 18:45:20 +00:00
Matthew Flatt
0b9730158e
fix editor bugs related to line-wrapping, tab insertion, and pasting to the end of an editor that has been line-wrapped in the past (merge to 4.2)
...
svn: r14921
2009-05-22 16:24:17 +00:00
Robby Findler
ac9fa2e979
svn: r14918
2009-05-22 01:59:02 +00:00
Robby Findler
a4d87e926e
fixed a bug
...
svn: r14909
2009-05-21 20:50:03 +00:00
Robby Findler
5e84de9166
stupid bug that only breaks the test suite sometimes
...
svn: r14905
2009-05-21 20:14:03 +00:00
Mike Sperber
975b825638
Fix paren typo.
...
svn: r14900
2009-05-21 15:57:40 +00:00
Mike Sperber
4c367c4778
One more schemeunit update.
...
svn: r14899
2009-05-21 15:56:55 +00:00
Mike Sperber
5e6360b2e3
Some updates to the deinprogramm tests:
...
- use schemeunit from collects
- tp-exn? is no more
svn: r14898
2009-05-21 15:51:46 +00:00
Ryan Culpepper
2e3a0bcd0d
macro debugger:
...
fixed hiding bug with non-collection modules
improved #%top-interaction elimination
Please apply changes for release.
svn: r14887
2009-05-20 22:43:39 +00:00
Matthew Flatt
de5bbaff40
fix bug parsing polar notation conbined with #e
...
svn: r14878
2009-05-20 00:18:15 +00:00
Sam Tobin-Hochstadt
0cd135c3bb
Add test for unreachble code with expected type.
...
svn: r14869
2009-05-19 15:24:12 +00:00
Sam Tobin-Hochstadt
f712495009
add syntax locations to cond* macro
...
svn: r14868
2009-05-19 15:23:57 +00:00
Matthew Flatt
17a283a28d
editor and documentation repairs (merge to 4.2)
...
svn: r14864
2009-05-19 01:02:41 +00:00
Matthew Flatt
63a7a9c77b
more random mred testing
...
svn: r14863
2009-05-19 00:27:39 +00:00
Matthew Flatt
c4b4af817b
random mred testing
...
svn: r14862
2009-05-18 23:31:33 +00:00
Sam Tobin-Hochstadt
676f827ab0
sync to trunk
...
svn: r14861
2009-05-18 22:19:46 +00:00
Jay McCarthy
ac8aca7b21
Native continuations in serial language, soft state, and typos. Eli, this may be put into the release.
...
svn: r14854
2009-05-18 17:46:15 +00:00
Eli Barzilay
8e79a2aed5
don't include the *-node in the topological-sort output
...
svn: r14835
2009-05-15 19:28:38 +00:00
Eli Barzilay
27e4c708c7
better layout for topological-sort
...
svn: r14834
2009-05-15 19:16:56 +00:00
Matthias Felleisen
305a38a0c0
arithmetic functions should be standard
...
svn: r14833
2009-05-15 18:26:16 +00:00
Matthias Felleisen
2453bc3c6e
added functins for analyzing strings as 1-letter strings
...
svn: r14829
2009-05-15 16:21:57 +00:00
Sam Tobin-Hochstadt
7a24d39348
make struct-exec a little more interesting
...
svn: r14828
2009-05-15 15:47:57 +00:00
Sam Tobin-Hochstadt
af623cbdc7
add test of `apply values'
...
svn: r14816
2009-05-14 18:57:23 +00:00
Eli Barzilay
40467a005e
added tests for topological-sort
...
svn: r14814
2009-05-14 15:33:25 +00:00
Eli Barzilay
9c99a32d29
added tests for topological-sort
...
svn: r14813
2009-05-14 15:33:20 +00:00
Sam Tobin-Hochstadt
b30338e0c5
Add start of type->contract test suite.
...
Add test for poly annotation failure.
svn: r14809
2009-05-14 14:45:07 +00:00
Eli Barzilay
76574dc619
tests need the structs too
...
svn: r14805
2009-05-14 07:36:46 +00:00
Sam Tobin-Hochstadt
88159e2479
add require
...
svn: r14798
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
5f1b4a7daf
Fix two tests
...
svn: r14797
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
8de55a4207
sync to trunk
...
svn: r14795
2009-05-13 14:35:24 +00:00
Sam Tobin-Hochstadt
54eb4cc314
formatting
...
svn: r14791
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
82c6720bc9
Fix more tests for false info
...
svn: r14787
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
f24cbf9952
Fix more tests with truth info.
...
svn: r14784
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
e796cd802b
fix wrong results - 25 fails
...
svn: r14783
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
c19b66d5db
add tests for overlap
...
fix more typecheck tests - 29 failures
svn: r14782
2009-05-12 15:17:30 +00:00
Matthew Flatt
1809d9286e
fix r6rs template problem with quoting ellipses
...
svn: r14780
2009-05-12 13:44:04 +00:00
Sam Tobin-Hochstadt
1ce4411ceb
fix tests to handle identifiers, down to 38 fails
...
svn: r14775
2009-05-11 19:40:58 +00:00
Robby Findler
01af999556
svn: r14768
2009-05-10 21:53:09 +00:00
Matthew Flatt
440a60c8ad
fix make-custom-weak-hash (PR 10232)
...
svn: r14762
2009-05-09 13:37:28 +00:00
Sam Tobin-Hochstadt
a828b89e92
Fix a lot of tests - 47 fail.
...
svn: r14757
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
dcc2ff72d9
all tests now compile
...
svn: r14753
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
9f3d719b4e
Fix parsing of All to only use parse-values-type when appropriate.
...
Fix tests for new names.
Fix tests for parse-type not handling values.
svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
0ddf7338cb
sync to trunk
...
svn: r14750
2009-05-08 20:11:09 +00:00
Sam Tobin-Hochstadt
f6f9b20f17
Rename vars.
...
svn: r14749
2009-05-08 20:10:53 +00:00
Matthew Flatt
f08649a007
further improve procedure? and procedure-arity-includes? optimization on procedure names bound in a module top-level
...
svn: r14725
2009-05-05 23:08:24 +00:00
Matthew Flatt
4623a1ac07
some improvement in eliminating procedure? and procedure-arity-includes? statically
...
svn: r14723
2009-05-05 19:22:55 +00:00
Sam Tobin-Hochstadt
f730466e72
sync to trunk
...
svn: r14711
2009-05-04 13:51:07 +00:00
Matthew Flatt
83cd3964f4
fix file-descriptor leak in process[*]/ports (PR 10229)
...
svn: r14710
2009-05-04 12:22:01 +00:00
Matthew Flatt
57ff3c2486
fix foldr/foldr argument checking (PR 10215)
...
svn: r14706
2009-05-04 02:20:06 +00:00
Eli Barzilay
e3d9f396c4
compose now gets 0 or more inputs
...
svn: r14704
2009-05-04 02:10:01 +00:00
Matthew Flatt
16e483033c
fix define after define* in package; doc repairs
...
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
a1d943146b
added a nullary case to compose
...
svn: r14697
2009-05-03 20:41:37 +00:00
Eli Barzilay
3ca6ac2175
added stupid make-list and stupid const
...
svn: r14693
2009-05-03 16:17:48 +00:00
Sam Tobin-Hochstadt
83abdf9eae
sync to trunk
...
svn: r14681
2009-05-01 21:19:11 +00:00
Eli Barzilay
ff73a5395e
removed lots of "the the"s
...
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
2b8b10dd40
fix problem with package, define*, and macro-introduced identifiers
...
svn: r14671
2009-04-30 23:57:45 +00:00
Robby Findler
6d08558ab7
fixed a bug in my earlier bugfix (also PR 10221)
...
svn: r14662
2009-04-29 21:08:01 +00:00
Sam Tobin-Hochstadt
8b2381e109
sync to trunk
...
svn: r14653
2009-04-29 14:36:54 +00:00
Robby Findler
87c9aba9e0
added a little optimization to provide/contract
...
svn: r14646
2009-04-29 03:48:45 +00:00
Sam Tobin-Hochstadt
29e123ccf3
sync to trunk
...
svn: r14602
2009-04-24 21:30:40 +00:00
Sam Tobin-Hochstadt
2d7d94031d
sync to trunk
...
svn: r14600
2009-04-24 21:22:59 +00:00
Matthew Flatt
cd09b30497
(v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
...
svn: r14593
2009-04-24 14:59:09 +00:00
Jon Rafkind
2bd98fbdb2
fix one test, break another
...
svn: r14581
2009-04-21 23:49:34 +00:00
Jon Rafkind
ec615d4882
add some function tests
...
svn: r14580
2009-04-21 23:41:50 +00:00
Matthew Flatt
932fe179f8
drop a bad R6RS test (PR 10210)
...
svn: r14577
2009-04-21 16:44:41 +00:00
Sam Tobin-Hochstadt
60325b670c
Fix handling of filters that refer to out-of-scope vars
...
svn: r14574
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
b1b5fe4816
Add test for match improvements.
...
Improve handling of inference for let loop.
svn: r14573
2009-04-21 15:35:05 +00:00
Eli Barzilay
434ec53b88
typed scheme tests keep failing
...
svn: r14559
2009-04-19 14:13:06 +00:00
Matthew Flatt
119c69e1ad
fix some problems and inefficiencies in saving and loading wxme streams
...
svn: r14526
2009-04-15 22:27:43 +00:00
John Clements
08fec4f10e
...
...
svn: r14505
2009-04-14 03:09:41 +00:00
Matthew Flatt
3a68af494a
fix method name 'equal?' i wxme test
...
svn: r14492
2009-04-11 22:40:04 +00:00
John Clements
df336f795b
...
...
svn: r14487
2009-04-11 00:53:59 +00:00
Sam Tobin-Hochstadt
929dc1d5b2
Fix polymorphic structure predicates.
...
svn: r14483
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
69a3b7a70f
Fix bug with structure keys and polymorphic structs.
...
Use `match*'
Add test
svn: r14482
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
ac7e879360
Fix bug with match dots.
...
Fix handling of keywords.
Add keywords in call-with-input/output-port.
svn: r14469
2009-04-08 20:24:05 +00:00
Matthew Flatt
1d26e97a35
Scheme-implemented editor classes; on-demand instantiation of module phases
...
svn: r14445
2009-04-07 17:12:22 +00:00
Jay McCarthy
afe6599e23
converting to trunk schemeunit
...
svn: r14440
2009-04-06 22:57:20 +00:00
Jay McCarthy
df56a8e3c1
use hash-ref!
...
svn: r14438
2009-04-06 14:43:33 +00:00
Jay McCarthy
ceee79e07f
mjadud bug
...
svn: r14426
2009-04-05 13:50:02 +00:00
Eli Barzilay
06636c1813
added in-sequences and in-cycle
...
svn: r14424
2009-04-05 08:29:17 +00:00
Eli Barzilay
9af9210aa2
added hash-ref! and hash-has-key?
...
svn: r14423
2009-04-05 04:35:12 +00:00
Eli Barzilay
50ec8211e2
reformat hash tests
...
svn: r14422
2009-04-05 02:43:47 +00:00
Sam Tobin-Hochstadt
2aab576237
Report more information for untyped imported identifiers
...
svn: r14418
2009-04-03 22:42:29 +00:00
Kathy Gray
d999a7c3ba
Putting check ... inspect ... in part ii --- a working subset, sufficient for a demo
...
svn: r14417
2009-04-03 21:00:25 +00:00
Sam Tobin-Hochstadt
6d302a9304
Require that `require/typed' uses the contracted version of typed identifiers.
...
svn: r14415
2009-04-03 18:42:38 +00:00
Jay McCarthy
5b1ff07428
running help
...
svn: r14409
2009-04-02 21:02:25 +00:00
Eli Barzilay
810035ff52
added profile tests to nightly cycle
...
svn: r14398
2009-04-01 08:23:02 +00:00
Sam Tobin-Hochstadt
cd4305ca4f
Add refinement types.
...
Add `parse-commmand-line'
svn: r14372
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
b1f5b19563
merge to trunk a while ago
...
svn: r14353
2009-03-30 12:52:30 +00:00
Eli Barzilay
1fe2cee5c6
type
...
svn: r14344
2009-03-30 05:24:07 +00:00
Eli Barzilay
96d7291bfb
statistical profiler, core and text interface part done
...
svn: r14340
2009-03-30 00:15:38 +00:00
Stevie Strickland
99aac7d745
Sam and I did some work to allow automatic inferred linking in
...
(define-values/)invoke-unit/infer.
svn: r14315
2009-03-27 13:47:12 +00:00
Eli Barzilay
896018f96b
remove support files when a test is done
...
svn: r14245
2009-03-23 23:04:30 +00:00
Matthew Flatt
60bdcaed25
skip compiling deinprogramm tests
...
svn: r14244
2009-03-23 19:41:03 +00:00
Sam Tobin-Hochstadt
60e096913d
First step to polymorphic functions in typed/untyped interface
...
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14
svn: r14241
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
40b4731106
Expand (require A ...) into (begin (require A) ...)
...
- docs (including discussion of require scoping)
- tests
svn: r14232
2009-03-23 14:13:10 +00:00
Mike Sperber
26f50142b2
Add test suites for DeinProgramm stuff.
...
svn: r14215
2009-03-22 14:30:39 +00:00
Sam Tobin-Hochstadt
6d8014783b
Use 'no-free-identifier=? property with rename transformers.
...
Allow use of ... without bound when only one ... var in scope.
svn: r14214
2009-03-22 12:41:26 +00:00
Eli Barzilay
18fd48af97
Added `count'.
...
svn: r14210
2009-03-22 02:53:27 +00:00
Eli Barzilay
1048d204ca
more time, for slower machines
...
svn: r14207
2009-03-22 01:30:13 +00:00
John Clements
27a67c9c1a
...
...
svn: r14204
2009-03-21 21:28:16 +00:00
Eli Barzilay
1db2b65978
Finished the docs+tests, added some minor utilities.
...
svn: r14199
2009-03-21 15:06:48 +00:00
Matthew Flatt
2109cec2f4
free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
...
svn: r14191
2009-03-19 20:22:18 +00:00
Ryan Culpepper
d154493077
scheme/splicing: added splicing variants of local and letrec-syntaxes+values
...
svn: r14188
2009-03-19 13:45:45 +00:00
Matthew Flatt
645af327b4
fix htdp lang require test: merge to 4.1.5
...
svn: r14170
2009-03-18 11:53:42 +00:00
Matthew Flatt
e8cbe7ff81
splicing-let, etc.
...
svn: r14165
2009-03-17 23:09:38 +00:00
Sam Tobin-Hochstadt
0ed8d251bf
Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
...
Please backport.
svn: r14162
2009-03-17 21:18:50 +00:00
Matthew Flatt
9335e3cf28
doc updates for v4.1.5.2
...
svn: r14161
2009-03-17 21:06:42 +00:00
Eli Barzilay
9d0175ac2d
Removed old (unused) gzip tests
...
svn: r14148
2009-03-17 15:01:17 +00:00
Eli Barzilay
c69045008d
Added a `file' "test suite", with only tests for inflate/deflate.
...
svn: r14147
2009-03-17 14:57:01 +00:00
Eli Barzilay
5d6b74d3b6
remove old net tests
...
svn: r14144
2009-03-17 11:42:31 +00:00
Eli Barzilay
b647ea2ae9
new copy of net tests, split into modules, and using my test macro
...
svn: r14143
2009-03-17 11:41:06 +00:00
Eli Barzilay
167bae8bdd
add option for testing errors and non-exception raised values with a predicate
...
svn: r14141
2009-03-17 10:04:20 +00:00
Eli Barzilay
2008456d64
Converted the cgi tests to use my test macro, and included them in the
...
nightly testing.
svn: r14139
2009-03-17 07:04:16 +00:00
Jay McCarthy
b3cec49237
pr9106, include in release
...
svn: r14133
2009-03-16 19:26:36 +00:00
Jay McCarthy
f9c4e4eb54
pr7974 + include in release
...
svn: r14132
2009-03-16 18:45:16 +00:00
Jay McCarthy
65c8b62652
pr6711
...
svn: r14129
2009-03-16 18:28:56 +00:00
Eli Barzilay
6d31100a89
Start a proper preprocessor documentation, with tests included.
...
(proper "literate testing".)
svn: r14112
2009-03-15 22:05:52 +00:00
Eli Barzilay
87ab3142a8
cheap hack to make it possible to provide a custom failure message
...
svn: r14111
2009-03-15 22:04:03 +00:00
Jay McCarthy
04cdd975e9
Fixing xml snip bug
...
svn: r14087
2009-03-13 14:55:37 +00:00
Ryan Culpepper
e11a24fda8
macro stepper:
...
better module hiding
display prefab structs
updated tests
svn: r14085
2009-03-13 05:54:17 +00:00
Eli Barzilay
3537435564
dont show spaces at the end of a line when not needed
...
svn: r14077
2009-03-12 18:25:08 +00:00
Eli Barzilay
940a47a439
fix include references
...
svn: r14075
2009-03-12 17:22:45 +00:00
Sam Tobin-Hochstadt
f1840f4eeb
sync to trunk
...
svn: r14074
2009-03-12 15:28:19 +00:00
Eli Barzilay
e366d25a85
better example for splice
...
svn: r14068
2009-03-12 08:15:39 +00:00
Eli Barzilay
ca30b05114
A complete rewrite of text output using port state now.
...
Also a few more text-controlling primitives.
svn: r14065
2009-03-12 02:27:12 +00:00
Robby Findler
53af4d6a9a
moved tracing support from the htdp tool into drscheme proper
...
svn: r14054
2009-03-11 17:42:04 +00:00
Matthew Flatt
5269b2a05a
test fix eqvhash table for characters
...
svn: r14047
2009-03-11 02:25:24 +00:00
Sam Tobin-Hochstadt
2ad93c7da5
new tests for struct providing
...
svn: r14033
2009-03-10 20:27:46 +00:00
Robby Findler
39fc578bf0
svn: r14030
2009-03-10 17:34:23 +00:00
Eli Barzilay
3658ea87e5
The scribble/text language works much better now, with
...
indentation-aware output being possible.
svn: r14025
2009-03-10 09:36:54 +00:00
Jay McCarthy
d5312fbe3b
Non empty strings in redirect-to
...
svn: r14023
2009-03-09 17:08:37 +00:00
Sam Tobin-Hochstadt
f88d00edf8
sync to trunk
...
svn: r14005
2009-03-07 19:08:55 +00:00
Sam Tobin-Hochstadt
d1ac259bcc
try to fix this test
...
svn: r13999
2009-03-06 23:37:05 +00:00
Matthew Flatt
282a404ada
all expression forms tested for zo-marshal
...
svn: r13998
2009-03-06 23:27:10 +00:00
Matthew Flatt
946a39221a
some zo-marshal repairs
...
svn: r13984
2009-03-06 17:37:28 +00:00
Matthew Flatt
f1e646c8f9
zo-marshal bug fixes and start at test suite
...
svn: r13979
2009-03-06 15:22:33 +00:00
Sam Tobin-Hochstadt
147cac076c
handle subtyping for varargs functions
...
svn: r13962
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
f106e88551
remove contract errors
...
svn: r13959
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8498619ab8
most test suites pass
...
svn: r13958
2009-03-04 20:26:34 +00:00
John Clements
4d9e3ebe56
...
...
svn: r13942
2009-03-04 08:34:53 +00:00
John Clements
7a701cef2c
...
...
svn: r13939
2009-03-04 06:46:00 +00:00
Matthew Flatt
b4f6c524a1
added prop:print-converter
...
svn: r13938
2009-03-04 02:54:22 +00:00
Sam Tobin-Hochstadt
9d0ee637c7
Fix name of Type/c
...
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.
svn: r13934
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
6271f648c6
fix some requires
...
svn: r13925
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
4615d7573e
subst-tests now pass
...
svn: r13923
2009-03-03 20:35:18 +00:00
Jay McCarthy
e1dab52b07
compat
...
svn: r13922
2009-03-03 20:02:31 +00:00
Jay McCarthy
a7126e20a5
dispatching
...
svn: r13914
2009-03-03 17:26:29 +00:00
Sam Tobin-Hochstadt
ea156c984c
Fix bugs 10101 and 10100, patch from David Van Horn.
...
svn: r13902
2009-03-03 01:50:09 +00:00
Jay McCarthy
e51ea7f217
up
...
svn: r13896
2009-03-02 16:21:32 +00:00
Stevie Strickland
7d22b05e7c
Make it so that we do more precise checking on the contract errors, so that
...
if the blame or objects involved change, we'll get an error instead of having
to manually detect it.
svn: r13886
2009-03-01 01:37:45 +00:00
Jay McCarthy
5fda17741b
contracts and cleanup
...
svn: r13874
2009-02-27 20:29:48 +00:00
Eli Barzilay
adb21611cf
set svn:eol-style
...
svn: r13868
2009-02-27 04:31:41 +00:00
Jay McCarthy
196ec00f16
new units, contracts, tests
...
svn: r13852
2009-02-26 17:09:26 +00:00
Eli Barzilay
b901c9769f
avoid planet dependency
...
svn: r13832
2009-02-25 13:18:49 +00:00
Jay McCarthy
9657528134
plist
...
svn: r13830
2009-02-25 12:37:35 +00:00
Jay McCarthy
7c0273bf47
new tests
...
svn: r13829
2009-02-25 12:24:19 +00:00
Jay McCarthy
20fa57d6d0
tests
...
svn: r13825
2009-02-24 23:09:58 +00:00
Jay McCarthy
b95292a7be
tests
...
svn: r13824
2009-02-24 23:09:22 +00:00
Jay McCarthy
c909836ba8
new tests
...
svn: r13823
2009-02-24 22:22:49 +00:00
Robby Findler
ab47ac0f10
fixed a problem with arrow-based requires
...
svn: r13808
2009-02-24 00:03:57 +00:00
Jon Rafkind
09c6c96099
add a test for const
...
svn: r13750
2009-02-19 22:15:58 +00:00
Robby Findler
f083e6b50d
fixed an off-by-one error (flooring negative numbers should go towards zero whe moving pinholes to be consistent with overlay/xy)
...
svn: r13730
2009-02-18 22:50:48 +00:00
Stevie Strickland
7e1ea98876
Pull back Robby's allowance of all struct options just a bit, plus handle
...
the ones we do allow natively.
svn: r13727
2009-02-18 21:14:50 +00:00
Ryan Culpepper
59727cc4bc
stxclass: added and- and or-patterns, box and vector patterns
...
svn: r13721
2009-02-18 04:01:52 +00:00
Stevie Strickland
7e8816ce0f
* Add initial version of define-struct/contract
...
* Allow uncontracted exports of syntax from a with-contract form.
svn: r13717
2009-02-18 02:25:45 +00:00
Jay McCarthy
76853279c3
Moved to SU3
...
svn: r13712
2009-02-17 22:11:39 +00:00
Stevie Strickland
3ff2184a38
Add the first-order free variable contract checks I mentioned earlier.
...
svn: r13707
2009-02-17 20:50:56 +00:00
Stevie Strickland
9098c94e9c
Add first-order checks for free variable contracts, and tests for everything.
...
svn: r13706
2009-02-17 20:48:04 +00:00
Stevie Strickland
cf916f51fa
Forgot to add rename-transformers for unprotected ids.
...
svn: r13704
2009-02-17 19:58:26 +00:00
Stevie Strickland
c6b92782e2
Rename cstruct to struct/ctc, to avoid confusion with cstruct from the ffi.
...
svn: r13661
2009-02-16 14:50:59 +00:00
Stevie Strickland
340035bef7
Adding cstruct, which is like the struct signature form but with contracts.
...
svn: r13647
2009-02-16 02:51:12 +00:00
Sam Tobin-Hochstadt
02efc28dff
Fix error message when polymorphic inference fails because of expected type.
...
Add test case.
svn: r13639
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
c9377a1f9d
sync again
...
svn: r13624
2009-02-15 22:03:05 +00:00
Stevie Strickland
1943083cf9
Fix nested with-contracts by checking explicitly for ssps. Apparently
...
painting the bindings causes the ssp to later fail when you try to access
the parameter. Not sure if this is a bug or not, will talk to Matthew.
svn: r13621
2009-02-15 21:59:22 +00:00
Sam Tobin-Hochstadt
204806a13a
revert back to regular parse type
...
svn: r13619
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
738b8311af
sync to trunk
...
svn: r13609
2009-02-15 17:45:53 +00:00
Stevie Strickland
534c50d900
Revise that test. The current behavior is correct, if odd.
...
svn: r13603
2009-02-15 08:40:54 +00:00
Stevie Strickland
b6fdabcd73
Going ahead and adding this test, but need to think about how to attack it.
...
svn: r13602
2009-02-15 08:31:13 +00:00
Stevie Strickland
62d82ca9be
Clean up some bindings, moving them from defines to letrec-syntax.
...
svn: r13599
2009-02-15 05:20:30 +00:00
Stevie Strickland
cbcad0528c
There is now a new form, define-unit/contract, that basically mixes
...
define-unit with the application of a unit contract. So you can think
of it as a define/contract for units that keeps the static info needed
for link inference.
svn: r13584
2009-02-14 21:32:02 +00:00
Ryan Culpepper
44efc7cb48
stxclass:
...
fixed scoping of attributes (wrt declare)
added 'attribute' form
added internal/external literals form
svn: r13574
2009-02-14 12:17:14 +00:00
Stevie Strickland
387c8b210f
* Fix unit/c so that less unnecessary code is generated.
...
* Fix contracts for signatures and units so that references to
other signature members work appropriately.
* Add text about signature and unit contracts to the Guide.
svn: r13562
2009-02-13 22:50:49 +00:00
Ryan Culpepper
f2204710fa
stxclass: reorganized docs
...
svn: r13544
2009-02-13 03:23:07 +00:00
Stevie Strickland
8656e7e918
Fix up the contracts so that they properly refer to locally defined variables.
...
svn: r13527
2009-02-12 03:51:40 +00:00
Stevie Strickland
12110acfe3
Add test for non-unit check.
...
svn: r13526
2009-02-12 00:49:56 +00:00
Stevie Strickland
fbb5de4fa7
Adding the initial cut at unit/c.
...
svn: r13524
2009-02-11 22:46:48 +00:00
Jay McCarthy
57549a1759
formlets
...
svn: r13510
2009-02-09 22:48:10 +00:00
Jay McCarthy
79ef2483f3
formlets tests
...
svn: r13508
2009-02-09 22:03:45 +00:00
Jay McCarthy
1e67e759d7
hmac-sha1
...
svn: r13506
2009-02-09 18:21:01 +00:00
Jay McCarthy
0f96462369
docs/test
...
svn: r13505
2009-02-09 17:48:04 +00:00
Matthew Flatt
767766521c
infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
...
svn: r13504
2009-02-09 15:27:51 +00:00
Jay McCarthy
fe078ee54b
stuffers
...
svn: r13474
2009-02-06 23:23:21 +00:00
Jay McCarthy
4f952a65d2
abstracting stuffing
...
svn: r13469
2009-02-06 19:58:50 +00:00
Sam Tobin-Hochstadt
2b54135394
test fix
...
svn: r13456
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
52d711e0bd
use exact-integer? instead of integer?
...
use (Listof Any) instead of List
svn: r13437
2009-02-04 23:06:35 +00:00
Jay McCarthy
0888178644
Digest auth
...
svn: r13418
2009-02-04 18:59:26 +00:00
Jay McCarthy
0b816d2942
cookies
...
svn: r13397
2009-02-03 22:32:35 +00:00
Jay McCarthy
304b163623
bytes
...
svn: r13394
2009-02-03 20:21:05 +00:00
Jon Rafkind
51839c33a1
put correct value in the test
...
svn: r13380
2009-02-03 17:37:19 +00:00
Jay McCarthy
7f13cb3da8
prefer bytes
...
svn: r13377
2009-02-03 16:23:28 +00:00
Jon Rafkind
6ebd445726
add != to honu. start making some tests
...
svn: r13372
2009-02-03 01:47:33 +00:00
Jay McCarthy
99e9376a73
Fixing tests
...
svn: r13351
2009-02-02 16:40:06 +00:00
Eli Barzilay
858e7dd94e
test forbidden nested calls
...
svn: r13342
2009-01-31 20:24:35 +00:00
Eli Barzilay
339aa71441
even better
...
svn: r13341
2009-01-31 20:23:11 +00:00
Eli Barzilay
3956dc1530
more improvements to all four variants of exits
...
svn: r13340
2009-01-31 20:06:36 +00:00
Eli Barzilay
4b7e4e4322
misc improvements, add test for (exit)
...
svn: r13339
2009-01-31 19:46:33 +00:00
Eli Barzilay
67471cc62b
cheap hack to find which memory error test is causing problems
...
svn: r13335
2009-01-31 15:48:31 +00:00
Stevie Strickland
f6493e1c32
Abstraction of the boxes used for unit imports/exports to allow for adding
...
contracts in an already created unit.
svn: r13331
2009-01-31 01:39:23 +00:00
Jay McCarthy
d3f6fed328
Error messages
...
svn: r13321
2009-01-29 20:21:21 +00:00
Stevie Strickland
2f323578de
Disallow unit/new-import-export if contracts are involved. This is not
...
planned to be permanent, but until I've figured out how to implement the
fix, just say no.
svn: r13311
2009-01-29 07:19:23 +00:00
Jay McCarthy
254f924ebb
immediate marking
...
svn: r13299
2009-01-28 15:30:36 +00:00
Sam Tobin-Hochstadt
5baa4390d3
Fix handling of (or) in match.
...
svn: r13295
2009-01-27 19:57:59 +00:00
Sam Tobin-Hochstadt
2962c0bfa7
Fix handling of inexact integer literals.
...
svn: r13294
2009-01-27 17:55:10 +00:00
Eli Barzilay
f5ce61de97
* More time for quiet.ss and for run-automated-tests.ss
...
* Both will kill their timer when done, so it doesn't trigger later on
svn: r13292
2009-01-27 15:10:52 +00:00
Robby Findler
134138916f
allows colons in the userinfo field of a url (ie, does not encode them)
...
svn: r13282
2009-01-25 20:12:08 +00:00
Eli Barzilay
79e4fc3e9b
minor
...
svn: r13277
2009-01-25 03:52:59 +00:00
Eli Barzilay
c79acd6f61
minor
...
svn: r13276
2009-01-25 03:35:37 +00:00
Matthew Flatt
df4b9f41a8
add bitwise-bit-field
...
svn: r13266
2009-01-23 17:22:57 +00:00
Ryan Culpepper
98b9a62775
stxclass: fixed build bug, fixed tests
...
svn: r13265
2009-01-23 15:13:49 +00:00
Matthew Flatt
38c75a82d1
fix a bad interaction between 'make-syntax-delta-introducer' and the top-level environment
...
svn: r13258
2009-01-22 18:52:40 +00:00
Ryan Culpepper
eb9fe4847f
stxclass: created stxclass collection, with docs
...
svn: r13255
2009-01-22 05:50:55 +00:00
Matthew Flatt
db12513b65
fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
...
svn: r13253
2009-01-21 20:00:55 +00:00
Matthew Flatt
0c591f9fc4
fix a file-relative-path test for windows (merge to 4.1.4)
...
svn: r13215
2009-01-19 04:32:46 +00:00
Robby Findler
f486051cd9
changed some overly specific tests so they dont have to be run from my directories and updated to some new mz error messages
...
svn: r13204
2009-01-18 19:28:51 +00:00
Stevie Strickland
e1d5ced45e
Only apply a single contract wrapping to a value contracted through unit
...
exporting/importing. Also add some more unit contract tests.
svn: r13203
2009-01-18 10:38:52 +00:00
Stevie Strickland
e6999c8184
Just to ensure that nothing wonky goes on, change these to function names that
...
aren't in scheme/base.
svn: r13201
2009-01-18 05:54:58 +00:00
Stevie Strickland
92fa69c387
Add some tests that check interaction between with-contract (here
...
through define/contract) and unit contracts.
svn: r13183
2009-01-16 22:21:18 +00:00
Stevie Strickland
f6d571db40
Add a test that involves blame on a non-unit entity.
...
svn: r13182
2009-01-16 20:46:39 +00:00
Stevie Strickland
0fcf609e2b
Syncing again
...
svn: r13178
2009-01-16 19:11:18 +00:00
Stevie Strickland
cc9925dd6b
Add unit contracts from branches/sstrickl/unit-contracts.
...
svn: r13177
2009-01-16 19:03:11 +00:00
Matthew Flatt
2ef432d1bf
benchmark tabulation option
...
svn: r13176
2009-01-16 18:31:03 +00:00
Stevie Strickland
b29b08dec0
Adding tests, because we should.
...
svn: r13175
2009-01-16 18:24:59 +00:00
Stevie Strickland
4fd8753c66
Start of a testing framework for unit contracts.
...
svn: r13173
2009-01-16 17:50:05 +00:00
Stevie Strickland
768117b201
Sync to trunk in preparation of merging (though unit-contracts will go first).
...
svn: r13171
2009-01-16 16:59:20 +00:00
Eli Barzilay
a76cdc248f
added promise-forced? and promise-running?
...
svn: r13160
2009-01-16 05:46:07 +00:00
Eli Barzilay
b81ea02cab
add more tests, mainly for catching exceptions and other raised values
...
svn: r13159
2009-01-16 05:18:37 +00:00
Stevie Strickland
ea3879fd8f
Syncing again, whee.
...
svn: r13136
2009-01-15 02:35:34 +00:00
Ryan Culpepper
92a938dc6d
macro stepper tests: updated
...
svn: r13133
2009-01-15 00:07:47 +00:00
Stevie Strickland
a4165d14b4
Change this to match how the error messages now come across.
...
svn: r13125
2009-01-14 21:39:43 +00:00
Stevie Strickland
d3f703b043
Fixing these back up to how they were before.
...
svn: r13123
2009-01-14 21:31:46 +00:00
Stevie Strickland
5ac3135cd6
Syncing up here as well.
...
svn: r13118
2009-01-14 18:27:06 +00:00
Eli Barzilay
d1a0086471
newlines at EOFs
...
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
2537508865
Syncing on up
...
svn: r13084
2009-01-13 01:05:50 +00:00
Matthew Flatt
2530e04720
add some-system-path<->string functions to scheme/path
...
svn: r13065
2009-01-11 14:47:51 +00:00
Matthew Flatt
4180d67e34
make scheme/path fuctions work on paths for any playform
...
svn: r13064
2009-01-11 13:52:26 +00:00
Stevie Strickland
22ee00b10f
Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
...
Lyndon LaRouche was right!
svn: r13037
2009-01-08 14:55:23 +00:00
Jay McCarthy
f5aa64f90b
send/formlet issue
...
svn: r13020
2009-01-06 15:37:23 +00:00
Eli Barzilay
e371bd8f4a
completed Matthias's aborted commit
...
svn: r12999
2009-01-04 13:59:00 +00:00
Ryan Culpepper
b6312ff3ca
macro stepper tests:
...
added regression test for PR 10000
updated lifting tests for new variable name convention
svn: r12994
2009-01-03 19:58:06 +00:00
Matthew Flatt
d596401804
scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
...
svn: r12992
2009-01-03 18:51:15 +00:00
Robby Findler
6cc488603f
PR 9999: fixed color-list->image and alpha-color-list->image so that they accept zeros for the widths and heights
...
svn: r12988
2009-01-03 17:36:46 +00:00
Robby Findler
97e00eef97
fixed a bug in the ->d contract checking (wrt tail dropping)
...
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0
changed ->d so that it only checks the contract just above, not many above
...
svn: r12986
2009-01-03 16:40:54 +00:00
Stevie Strickland
6d966c80af
Syncing
...
svn: r12982
2009-01-03 03:09:06 +00:00
Matthew Flatt
b2d0a37f7b
add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls
...
svn: r12979
2009-01-02 21:57:31 +00:00
Matthew Flatt
c7acb6d9ef
fix pinhole bug created by recent cache-image-snip% changes
...
svn: r12975
2009-01-02 20:19:36 +00:00
Matthew Flatt
5e9b0c157a
fix from Will for set-port-position test by getting a position that will be used later (PR 9993)
...
svn: r12965
2009-01-01 21:36:37 +00:00
Robby Findler
fb821d9041
added argmin and argmax to scheme/list and to the teaching languages
...
svn: r12960
2009-01-01 00:03:31 +00:00
Matthew Flatt
87274b2a97
procedure-rename
...
svn: r12952
2008-12-30 14:36:25 +00:00
Matthew Flatt
1642a84e69
add equal?/recur; implement equal? for image-snip% via properties
...
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
0cd2537a82
add equal<%> ad interface*
...
svn: r12946
2008-12-28 15:05:02 +00:00
Matthew Flatt
2083015b65
fix result checking for fxdiv
...
svn: r12938
2008-12-26 13:43:16 +00:00
Stevie Strickland
9e4d8d08b9
Syncing
...
svn: r12929
2008-12-23 03:20:02 +00:00
Matthew Flatt
82ead03b92
change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
...
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
23e8624e41
fix the test-suite sandbox
...
svn: r12907
2008-12-19 20:58:56 +00:00
Stevie Strickland
0b1829e250
Sync up
...
svn: r12877
2008-12-17 14:28:56 +00:00
Eli Barzilay
f74dc2b8c7
Added `call-with-trusted-sandbox-configuration', and used in scribble
...
and in tests.
svn: r12871
2008-12-16 20:29:17 +00:00
Stevie Strickland
236370fd9f
Syncing up this branch to get ready to clean it up for future possible
...
merging.
svn: r12870
2008-12-16 20:06:24 +00:00
Eli Barzilay
43124c2ec5
more adjustments
...
svn: r12863
2008-12-15 21:37:55 +00:00
Eli Barzilay
f8dff60a01
adjust limits on tight test, others two, clarified comments
...
svn: r12862
2008-12-15 21:32:50 +00:00
Matthew Flatt
25b27a8b08
more memory-accounting repairs, so that sandbox tests now pass
...
svn: r12861
2008-12-15 21:15:24 +00:00
Eli Barzilay
0786da10cb
svn: r12860
2008-12-15 20:43:28 +00:00
Eli Barzilay
5141289bd7
* No nested code inspector for scribble sandboxes
...
* No nested inspectors or memory limit for testing sandboxes
svn: r12857
2008-12-15 18:29:59 +00:00
Eli Barzilay
04d0b55134
raise the limit for the problematic test, and compensate by doing more iterations
...
svn: r12855
2008-12-15 18:18:06 +00:00
Eli Barzilay
c62595772f
Finally enabled using a sub code-inspector properly, with a new
...
'read-bytecode permission mode. Added tests and (crappily)
documented.
svn: r12846
2008-12-15 01:07:00 +00:00
Eli Barzilay
9295a1dc27
* Fix memory test
...
* Better organization of `user-eval'
* Deal with cases when the evaluator dies outside of our control
svn: r12841
2008-12-13 23:26:44 +00:00
Eli Barzilay
39a69b30fd
Don't set memory limits or test for them when there is no memory
...
accounting.
svn: r12839
2008-12-13 22:44:02 +00:00
Eli Barzilay
813eb20e35
termination message now indicates suicides too (both killing the
...
thread or shutting the custodian)
svn: r12838
2008-12-13 22:39:49 +00:00
Eli Barzilay
188489b34f
* Added `exn:fail:sandbox-terminated' for all sandbox termination
...
kinds.
* The default exit handler kills the sandbox, with an appropriate
termination message.
* Also, sending an eof to the sandbox shows 'eof as the reason
* Added some tests for these.
* Still need to deal with termination messages for evaluator suicide.
svn: r12837
2008-12-13 22:12:16 +00:00
Eli Barzilay
55f1df58e1
Make sure that the module is also instantiated under the evaluation
...
limits too (the instantiation was happening outside of the limited
thunk)
svn: r12830
2008-12-13 16:41:07 +00:00
Eli Barzilay
3fcc58c05e
minor improvements
...
svn: r12789
2008-12-12 13:43:05 +00:00
Eli Barzilay
a1222d66ca
* Implementer global sandbox memory limit and added
...
`sandbox-memory-limit' to set it
* Added `evaluator-alive?'
* Undo accidental commenting of most tests
svn: r12786
2008-12-12 12:45:08 +00:00
Eli Barzilay
a0d1baea00
When an expression evaluation dies out of memory, the sandbox stays alive
...
svn: r12785
2008-12-12 11:22:08 +00:00
Sam Tobin-Hochstadt
08fa300d14
Make inference work in subtype tests.
...
Add test for top-arr.
svn: r12746
2008-12-08 18:26:58 +00:00
Stevie Strickland
dd5afccd82
Catch up to now.
...
svn: r12742
2008-12-08 17:02:26 +00:00
Matthew Flatt
4d8469b6cf
inline fixnum multiplication
...
svn: r12731
2008-12-08 13:36:24 +00:00
Sam Tobin-Hochstadt
dd8e878cb4
Fix time-apply, add test
...
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
238b248ad5
Add `current-continuation-marks'
...
Add some exns
Test require substructs
svn: r12726
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
e6eb482de4
Enable require-typed-struct with substructures.
...
Fixes PR 9053.
Move test to succeed.
Add some new bindings.
svn: r12709
2008-12-05 00:25:02 +00:00
Matthew Flatt
e1126a66ed
some gc-related tests
...
svn: r12705
2008-12-04 23:04:10 +00:00
Stevie Strickland
5eab2260cc
S-S-S-S-S-S-Syncing
...
svn: r12695
2008-12-04 16:15:18 +00:00
Matthew Flatt
97fafb6ce4
get rid of port-position tests on custom textual ports
...
svn: r12692
2008-12-03 21:29:06 +00:00
Matthew Flatt
8162eda54f
fix buggy new test
...
svn: r12691
2008-12-03 20:56:50 +00:00
Matthew Flatt
c55d305eab
more consistent form for a test
...
svn: r12690
2008-12-03 20:01:33 +00:00
Matthew Flatt
142fd53e90
R6RS test suite: no BOM -> big-endian output
...
svn: r12689
2008-12-03 20:00:13 +00:00
Matthew Flatt
1f2ebbb58e
R6RS test suite corrections from Kent
...
svn: r12688
2008-12-03 19:47:29 +00:00
Matthew Flatt
c333fa8fb5
fix problems with custodian boxes, especially for a box whose custodian is shut down via an ancestor custodian
...
svn: r12680
2008-12-02 19:51:01 +00:00
Eli Barzilay
eb54b1a5b2
* Added `call-in-nested-thread*', and used it to improve
...
`call-with-limits'; specifically, it can now distinguish killing the
main thread or shutting down the custodian from an out-of-memory
error.
* This also makes it possible to have threads created and stay alive
between evaluations.
* Added tests for this.
svn: r12673
2008-12-02 12:23:35 +00:00
Eli Barzilay
e0917e1a5e
* Added `call-in-sandbox-context'.
...
* Removed `get-namespace' since it's generalized in the above.
* Deal with killing the current thread (or the current custodian) in
the sandbox code. (Works only without per-expression limits --
still need to find a solution for `call-with-limits'.)
* Added tests for this.
svn: r12670
2008-12-02 05:26:45 +00:00
Eli Barzilay
ab817097b4
* Create string/bytes output port in the user's custodian (at least
...
try to do so...).
* Add tests for output collection under resources -- some are
commented since they're not working right, either a bug in this code
that I don't see, or some problem with memory accounting.
* Clarify in the docs that output collection is still under resource
limits.
svn: r12667
2008-12-01 22:19:58 +00:00
Stevie Strickland
e94cadd86d
Syncing -- nothing to see here.
...
svn: r12660
2008-12-01 15:11:00 +00:00
Eli Barzilay
30adf7980a
switch to scheme/base for the sandbox interface and for use in tests
...
svn: r12656
2008-12-01 03:37:02 +00:00
Stevie Strickland
581800ad8c
Splicing syntax parameterize, here I come!
...
svn: r12601
2008-11-26 22:42:32 +00:00
Matthew Flatt
2c48c2c817
splicing-syntax-parameterize and docs for scheme/splicing
...
svn: r12600
2008-11-26 21:31:58 +00:00
Stevie Strickland
6f83ed1a80
Sync that beautiful trunk footage
...
svn: r12593
2008-11-25 21:18:04 +00:00
Eli Barzilay
06064b856b
added the scribble tests
...
svn: r12584
2008-11-25 01:00:37 +00:00
Matthew Flatt
f40ae63f45
R6RS test-suite patch from Taro Minowa (PR 9942)
...
svn: r12580
2008-11-24 21:15:22 +00:00
Matthew Flatt
a0f91d905e
revised internal-definitions context and a basic 'define-package' form
...
svn: r12579
2008-11-24 19:52:41 +00:00
Stevie Strickland
702c1b7af2
Syncerating the countryside
...
Syncerating the peasants
Syncerating all the peoples
in the thatched-roof COTTAGES!
THATCHED-ROOF COTTAGES!
svn: r12578
2008-11-24 17:52:56 +00:00
Eli Barzilay
5b9f0aa322
Implemented a `no-empty-edge-matches' function using the new
...
`make-regexp-tweaker', which produces a regexp that cannot match an
empty string at the beginning or the end of the input. This:
* simplies a whole bunch of messy and fragile code
* makes `regexp-split' and friends usable with a pattern like #px"\\b"
(which previously would match in every position, making it explode
the string to 1-character strings)
* makes it even closer to what perl does, the only way that we produce
a different result from perl now is that we don't blindly drop empty
matches at the end like perl (it *does* keep empty matches in the
beginning though)
The two tests that demonstrated the difference are now changed, and a
bunch of other tests added.
svn: r12575
2008-11-23 05:40:54 +00:00
Stevie Strickland
998fe27185
Sync sync sync, programmer,
...
sync your branch to mine
sync sync sync, programmer,
sync it all the time
svn: r12567
2008-11-21 15:56:47 +00:00
Matthew Flatt
2480a1c4e8
extra int-def tests
...
svn: r12565
2008-11-21 14:01:32 +00:00
Matthew Flatt
58f9e02513
fix (mostly) expand tests suite
...
svn: r12564
2008-11-21 13:52:20 +00:00
Jay McCarthy
daff0abe15
Extended example
...
svn: r12550
2008-11-20 23:57:32 +00:00
Stevie Strickland
75c57820da
A sync a day keeps... actually, it doesn't keep anyone away, and tends to make
...
one run into other people's bugs sooner, but OH WELL.
svn: r12543
2008-11-20 19:36:17 +00:00
Matthew Flatt
8ccce66af7
round out inlining and optimization of simple allocating primitives
...
svn: r12539
2008-11-20 13:50:22 +00:00
Jay McCarthy
a687555c38
moving tests
...
svn: r12512
2008-11-19 22:22:02 +00:00
Stevie Strickland
537d98ac20
Mergerating.
...
svn: r12510
2008-11-19 20:34:37 +00:00
Sam Tobin-Hochstadt
4c0c3c0ff8
Fix dynamic context of use of match failure continuations.
...
svn: r12497
2008-11-18 21:17:36 +00:00
Sam Tobin-Hochstadt
d1fca9c04a
Fix PR 9918.
...
svn: r12480
2008-11-17 23:58:05 +00:00
Jay McCarthy
54429dc56b
Response/basic bug
...
svn: r12474
2008-11-17 17:07:51 +00:00
Stevie Strickland
573caad99f
Syncing up to trunk.
...
svn: r12470
2008-11-17 16:03:30 +00:00
Matthew Flatt
69fdabf0a0
fix {s,u}int-list->bytevector (PR 9916)
...
svn: r12459
2008-11-15 18:54:30 +00:00
Matthew Flatt
c0fb0086e9
fix R6RS boolean=? and symbol=?
...
svn: r12456
2008-11-15 13:42:11 +00:00
Matthew Flatt
c73bb99cf6
fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more)
...
svn: r12454
2008-11-15 02:49:54 +00:00
Stevie Strickland
3212d11712
Add all changes from branches/with-contract (which this branch will replace
...
eventually), plus a couple of fixes in contract-test.ss.
svn: r12451
2008-11-14 16:48:17 +00:00
Matthew Flatt
59f3f19f84
make the optimizer slightly smarter, so that it can see through more patterns of nested let and letrec procedure bindings
...
svn: r12434
2008-11-14 00:48:54 +00:00
Jay McCarthy
f64d8a5280
Exposing MIME headers to user
...
svn: r12431
2008-11-13 21:25:13 +00:00
Matthew Flatt
4dd202b960
,
...
svn: r12430
2008-11-13 21:11:48 +00:00
Eli Barzilay
fc1b9cdf9d
fix expected error messages
...
svn: r12429
2008-11-13 17:18:50 +00:00
Jay McCarthy
d56eed754b
Redoing documentation layout
...
svn: r12418
2008-11-12 23:45:00 +00:00
Matthew Flatt
cc69a51813
inline 'list' and 'box' allocation
...
svn: r12417
2008-11-12 21:18:08 +00:00
Jay McCarthy
d0a5616cb0
Abstracting HTTP code to sub-module
...
svn: r12415
2008-11-12 18:44:29 +00:00
Matthew Flatt
4fe1da791c
display-list[-to-file] to display-lines[-to-file]
...
svn: r12402
2008-11-12 03:25:24 +00:00
Matthew Flatt
68a329430d
adjust excessively pessimistic fix to letrec-bound variable propagation (because a test case caught the change, so maybe it matters)
...
svn: r12401
2008-11-12 03:10:00 +00:00
Matthew Flatt
4bb9ef582f
inline vector allocation
...
svn: r12399
2008-11-12 02:09:43 +00:00
Jay McCarthy
fd6dfdbbc4
Better SSL support
...
svn: r12396
2008-11-11 23:31:26 +00:00
Jay McCarthy
9c174affa7
Removing some old functions
...
svn: r12395
2008-11-11 23:04:49 +00:00
Jay McCarthy
35cb453ea9
Pulling out servlet creation routines
...
svn: r12394
2008-11-11 22:57:41 +00:00
Matthew Flatt
02277342ac
substitute Scheme-implemented map, for-each, andmap, and ormap in scheme/base and mzscheme, since the JIT generates faster code for the common 1- and 2-argument cases
...
svn: r12393
2008-11-11 22:25:24 +00:00
Jay McCarthy
34c5db31ef
Adding a barrier, making a better name, and support stateless in serve/servlet
...
svn: r12392
2008-11-11 22:24:44 +00:00
Matthew Flatt
a6d953b6f5
add port->string, file->string, etc.
...
svn: r12388
2008-11-11 17:55:14 +00:00
Jay McCarthy
4f8dfc7514
Merging the web language dispatcher into the standard one
...
svn: r12378
2008-11-10 22:32:51 +00:00
Jay McCarthy
f7481b0c08
Slowly merging the two servlet regimes
...
svn: r12377
2008-11-10 18:45:44 +00:00
Robby Findler
773aaca3ba
made mutual recursion work for ->d
...
svn: r12366
2008-11-09 13:42:46 +00:00
Robby Findler
2394848555
function contracts now preserve tail recursion
...
svn: r12360
2008-11-09 02:31:25 +00:00
Eli Barzilay
b0a0c8c2ce
avoid using the mzscheme tests in planet, added to nightly tests, but commented out
...
svn: r12354
2008-11-08 17:59:11 +00:00
Jay McCarthy
8a91afa69d
Moving config:scripts back inside the adt barrier
...
svn: r12348
2008-11-07 23:22:11 +00:00
Jay McCarthy
7479f59e13
Expanding functionality of serve/servlet
...
svn: r12346
2008-11-07 18:54:23 +00:00
Jay McCarthy
3187b4849d
Adding test
...
svn: r12345
2008-11-07 18:15:18 +00:00
Jay McCarthy
b90c1da006
New tests for password stuff
...
svn: r12343
2008-11-07 17:23:56 +00:00
Matthew Flatt
65eb7e7a18
call-with-immediate-continuation-mark
...
svn: r12339
2008-11-07 02:54:12 +00:00
Jay McCarthy
a8bc141a77
Generalizing dispatch-servlets
...
svn: r12338
2008-11-06 22:23:45 +00:00
Sam Tobin-Hochstadt
c4deb8e5e7
Fix handling of wrong size vectors.
...
Add tests.
Fixes PR9885.
svn: r12334
2008-11-06 20:23:40 +00:00
Jay McCarthy
cbecece203
Cleaning up timer/conn manager interface
...
svn: r12331
2008-11-06 17:01:27 +00:00
Jay McCarthy
61b44707cd
Cleaning up interface and standardizing functions
...
svn: r12330
2008-11-06 16:47:00 +00:00
Matthew Flatt
4215289320
doc fixes
...
svn: r12328
2008-11-06 16:22:12 +00:00
Jay McCarthy
d9be3d0c4b
Improving contracts on web lang
...
svn: r12322
2008-11-05 23:09:14 +00:00
Jay McCarthy
05f36015d5
Better contracts
...
svn: r12317
2008-11-05 22:31:55 +00:00
Jay McCarthy
07474ad477
Refactoring dispatch-passwords
...
svn: r12242
2008-11-05 19:00:07 +00:00
Jay McCarthy
005576bdad
Bug in new default config, reported by mflatt
...
svn: r12233
2008-11-04 17:10:56 +00:00
Sam Tobin-Hochstadt
477fa5581e
Store contract in Base type representation.
...
Fix tests, pattern matches.
Contract is *ignored* in equality testing.
svn: r12227
2008-11-03 23:58:29 +00:00
Eli Barzilay
a2babc6045
more time (for the solaris machine)
...
svn: r12223
2008-11-03 12:30:54 +00:00
Carl Eastlund
ac0888ee88
Added tests/planet/ to compile-omit-paths in info.ss
...
svn: r12208
2008-10-31 21:06:13 +00:00
Carl Eastlund
2949809542
Added new directory for planet tests; restored #lang planet test in lang.ss
...
svn: r12206
2008-10-31 20:09:43 +00:00
Eli Barzilay
c1cf821bd9
stupid typo
...
svn: r12204
2008-10-31 19:50:22 +00:00
Sam Tobin-Hochstadt
e69f6e126a
Reorganize initial type definitions to use DSL.
...
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss
svn: r12203
2008-10-31 17:12:16 +00:00
Eli Barzilay
e2ac0f673b
flush output ports to avoid confusing tests output
...
svn: r12201
2008-10-31 15:30:28 +00:00
Eli Barzilay
a6e8df0dda
Removed misbehaving planet test.
...
svn: r12196
2008-10-31 14:56:46 +00:00
Robby Findler
bd375ef605
PR 9873 (hopefully)
...
svn: r12193
2008-10-31 12:40:05 +00:00
Jay McCarthy
fc64cf2b77
Changing web server default servlet handling
...
svn: r12178
2008-10-30 14:34:21 +00:00
Matthew Flatt
487df2362e
fix more bugs with lib paths in exe creation
...
svn: r12175
2008-10-30 10:55:07 +00:00
Jay McCarthy
ba562277ed
Updating test
...
svn: r12173
2008-10-29 22:42:58 +00:00
Jay McCarthy
2dbeb18164
Adding test case
...
svn: r12170
2008-10-29 22:19:10 +00:00
Sam Tobin-Hochstadt
acfba8a390
Fix types of syntax tests.
...
Test for double instantiation.
svn: r12164
2008-10-29 02:15:50 +00:00
Ryan Culpepper
05df5e36e0
stxclass cleanup, improved error messages
...
svn: r12149
2008-10-27 22:56:52 +00:00
Matthew Flatt
00d2aabaf0
jit tweaks
...
svn: r12144
2008-10-27 19:00:13 +00:00
Robby Findler
e7aef55f74
fixed up some of the platform inconsistencies
...
svn: r12129
2008-10-25 20:35:09 +00:00
Eli Barzilay
0ccbac0647
TS tests now work, and are not noisy when succeeding
...
svn: r12119
2008-10-24 19:50:24 +00:00
Sam Tobin-Hochstadt
d93505082f
New test from John, fix tests to work with new code.
...
svn: r12108
2008-10-23 23:34:00 +00:00
Carl Eastlund
9aab8ed8c8
Added a test for #lang planet.
...
svn: r12104
2008-10-23 21:42:55 +00:00
Sam Tobin-Hochstadt
24c4d0b3fc
Fix tests with even?
...
Add test for struct syntax info.
svn: r12095
2008-10-22 21:07:31 +00:00
Sam Tobin-Hochstadt
c6c4a049ee
Add new test for better error reporting.
...
svn: r12082
2008-10-21 17:58:57 +00:00
Eli Barzilay
428d407045
typed-scheme tests fail enough to create a lot of noise
...
svn: r12081
2008-10-21 14:47:01 +00:00
Robby Findler
122f8d41dc
PR 9852
...
svn: r12076
2008-10-20 20:08:05 +00:00
Robby Findler
eb7d9be3f0
fixed the contract? predicate so that it recognizes thigns that aren't yet turned into contract structs
...
svn: r12043
2008-10-15 12:54:37 +00:00
Sam Tobin-Hochstadt
e802682c4d
add args to error
...
svn: r12036
2008-10-14 16:34:14 +00:00
Matthew Flatt
8b595ed120
make-syntax-delta-introducer and adjusted binding in scheme/unit forms
...
svn: r12032
2008-10-14 13:27:43 +00:00
Robby Findler
2ef287f107
added empty as a coerceable value
...
svn: r12025
2008-10-13 21:09:18 +00:00
Matthew Flatt
ec68bafa9c
add eqv hash tables; add hash-update
...
svn: r12018
2008-10-13 16:21:18 +00:00
Robby Findler
86671cf6dc
PR 9814
...
svn: r12001
2008-10-13 13:45:55 +00:00
Robby Findler
4c010b7d4a
fixed PR 9770
...
svn: r11999
2008-10-13 00:53:23 +00:00
Eli Barzilay
078ce5f8c6
removed unused leftover file
...
svn: r11992
2008-10-11 19:17:17 +00:00
Eli Barzilay
98c8abeb3b
use >>> for a marker, like the build does
...
svn: r11978
2008-10-08 16:09:45 +00:00
Sam Tobin-Hochstadt
665da912c8
New test for bug found by eli.
...
svn: r11969
2008-10-07 21:55:45 +00:00
Matthew Flatt
89f2315374
fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths
...
svn: r11966
2008-10-07 16:00:36 +00:00
Eli Barzilay
8217dddd56
* The module-path place is now optional, and #:language can be used
...
with an expression (evaluated as usual, not quoted), or with a thunk
that is invoked before reading the body begins.
* Added some missing tests that were not used for some reason...
* Some other documentation improvements.
* Improved the code a little more.
svn: r11957
2008-10-07 10:56:29 +00:00
Sam Tobin-Hochstadt
c953007f63
Fix automated TS tests.
...
svn: r11953
2008-10-06 19:41:30 +00:00
Eli Barzilay
a1bbd7dd3c
oops, revert this line
...
svn: r11938
2008-10-05 03:41:17 +00:00
Eli Barzilay
2899c1f1cc
planet-requires moved to tests/typed-scheme/util-tests
...
svn: r11937
2008-10-05 03:40:55 +00:00
Eli Barzilay
202535a7f4
typo
...
svn: r11934
2008-10-04 20:33:22 +00:00
Eli Barzilay
8d06e0c707
rename holder -> keep
...
svn: r11932
2008-10-04 19:10:38 +00:00
Eli Barzilay
2886a95318
* Exported `cvector-ptr'
...
* Added `#:hold' to `_fun' for callbacks (will be changed to `#:keep'
soon, but better to have a checkpoint)
* _cprocedure also has a `hold' argument, and is now using keyword
arguments (it was getting crowded in the optional arguments
department)
* Documented everything that changed, with a longish descrption for
options for holding callback values.
* More tests, including tests for callbacks that would crash if the
callback values are not held.
svn: r11931
2008-10-04 19:01:17 +00:00
Matthew Flatt
086f3c3b44
fix int-def context binding problems, fix scheme/splicing, change rnrs/base-6 to use scheme/splicing
...
svn: r11917
2008-09-30 22:03:55 +00:00
Robby Findler
07cfcb4f07
updated tests for newest stuff
...
svn: r11908
2008-09-29 21:06:13 +00:00
Sam Tobin-Hochstadt
b81ba54dae
fix for automated running
...
svn: r11903
2008-09-29 15:15:50 +00:00
Sam Tobin-Hochstadt
cd6a37ff4c
Fix error in use of tc-error/delayed.
...
Fix expansion of with-handlers:
add test
svn: r11875
2008-09-25 19:35:00 +00:00
Sam Tobin-Hochstadt
23db0aa366
Add test for assq
...
svn: r11871
2008-09-25 14:55:36 +00:00
Sam Tobin-Hochstadt
814bfb189e
Test for print-convert of keyword.
...
svn: r11870
2008-09-25 14:53:55 +00:00
Sam Tobin-Hochstadt
89171c0329
Make contract error regexps more flexible.
...
svn: r11855
2008-09-24 19:55:29 +00:00
Sam Tobin-Hochstadt
9c08df4789
Add kw test
...
svn: r11850
2008-09-24 14:03:25 +00:00
Sam Tobin-Hochstadt
81b9f63852
Remove output redirection.
...
svn: r11849
2008-09-24 14:02:20 +00:00
Matthew Flatt
ce10c4a5fc
fix 'module-langugage tracking
...
svn: r11832
2008-09-22 13:08:40 +00:00
Eli Barzilay
064eb9a147
Rename input files so they get compiled too.
...
(And also see that the resulting .dep files are good re `include')
svn: r11789
2008-09-17 14:26:40 +00:00
Eli Barzilay
ffde7e7b42
preprocessor tests
...
svn: r11787
2008-09-17 14:19:55 +00:00
Robby Findler
ce217355f8
PR 9761
...
svn: r11779
2008-09-16 20:26:15 +00:00
Eli Barzilay
26b9bd6c3d
* Added text utilities
...
* begin/collect, and a begin/text that is based on it (ignoring
inter-defns spaces)
* include/text, available as `include' in the scribble/text langauge
* tests, only for begin/collect for now
svn: r11772
2008-09-16 00:46:35 +00:00
Robby Findler
d165c586af
PR 9760
...
svn: r11766
2008-09-15 21:58:59 +00:00
Eli Barzilay
f25da8fd7d
require at least one test expression
...
svn: r11756
2008-09-15 09:57:56 +00:00
Eli Barzilay
99dc711ac0
Removed the redundant uncaught-exception-handler setting, use with-handlers except for the mzscheme tests
...
svn: r11755
2008-09-15 09:57:16 +00:00
Eli Barzilay
d32f0a9692
* Made run-automated-tests invoke the original exception handler when
...
need to
* comment out stepper tests for now
* lazy/main has a single batch of tests
* added lazy/main to the tests
svn: r11754
2008-09-15 08:01:06 +00:00
Eli Barzilay
1e40590ea4
Use a parameter for nested uses of test
...
svn: r11753
2008-09-15 07:19:41 +00:00
Eli Barzilay
c870eadf03
a nested (test ...) expression is implicitly in a 'do' block for convenicnce
...
svn: r11749
2008-09-14 22:15:20 +00:00
Robby Findler
85e489219c
a bunch more values are now converted into contracts automatically
...
svn: r11729
2008-09-13 22:35:09 +00:00
John Clements
bafd239ef0
changed result of check-expect
...
svn: r11721
2008-09-13 06:32:42 +00:00
Matthew Flatt
72055191b4
add printable<%>
...
svn: r11705
2008-09-12 22:50:09 +00:00
John Clements
5895f67bfe
fixed stepper tests
...
svn: r11694
2008-09-12 18:19:33 +00:00
John Clements
92df21d9df
added stepper to automatic tests
...
svn: r11652
2008-09-11 21:12:50 +00:00
Sam Tobin-Hochstadt
4f5a412230
Merge in keywords branch and directory reorg.
...
svn: r11643
2008-09-11 14:07:10 +00:00
John Clements
041cfa3264
...
...
svn: r11638
2008-09-11 05:22:37 +00:00
John Clements
a115dc3d8b
re-added run-nightly-tests.ss
...
svn: r11632
2008-09-10 15:31:33 +00:00
Eli Barzilay
bb470554a5
optimizations: use vectors instead of move-procs, avoid mapping symbols, tighten loops, use bytes, keep only min+max solutions etc
...
svn: r11624
2008-09-10 00:52:11 +00:00
John Clements
d7d9d32b26
moved mz tests to scheme/base
...
svn: r11622
2008-09-09 22:43:23 +00:00
Eli Barzilay
59af2e57d2
a vector version
...
svn: r11585
2008-09-09 08:32:31 +00:00
Eli Barzilay
9c5166ac6a
misc improvements
...
svn: r11584
2008-09-09 08:31:33 +00:00
Eli Barzilay
d574d1461a
new shootout comment, indentation, parens, etc
...
svn: r11583
2008-09-09 04:21:56 +00:00
Robby Findler
805d4eb73f
refined searching
...
svn: r11581
2008-09-09 03:43:57 +00:00
Matthew Flatt
1a8b6cb824
fix mistakes in augment corrections; fix runtime-path handling of lib paths
...
svn: r11577
2008-09-08 19:44:32 +00:00
Matthew Flatt
74addc1b71
fix checking of augment on a method that is overridable but was formerly augmentable
...
svn: r11574
2008-09-08 14:41:56 +00:00
Eli Barzilay
9e3e6b7444
New gmp-based solution, based on the perl solution
...
svn: r11572
2008-09-08 09:40:11 +00:00
Robby Findler
4f24a1c0cd
fixed a bug replating to zero sized images
...
svn: r11569
2008-09-07 13:28:44 +00:00
Robby Findler
2ece9d9e95
PR 9729
...
svn: r11567
2008-09-07 12:46:17 +00:00
Matthew Flatt
a0b85a2210
add linker flags for linux for embeddig test
...
svn: r11565
2008-09-07 12:43:34 +00:00
Matthew Flatt
fb1ee7d8cf
add test for embedding MzScheme and resetting via scheme_basic_env
...
svn: r11564
2008-09-07 12:41:20 +00:00
Robby Findler
44b62899fa
improved blame error message when there is no source location
...
svn: r11526
2008-09-02 16:12:13 +00:00
Matthew Flatt
2b98280729
fix module-path-index spec and use related to resolved module paths
...
svn: r11523
2008-09-02 13:54:43 +00:00
Eli Barzilay
093fe73855
* Minor extension (#:wrapper2 can accept an stx? boolean too)
...
* Added a more sophisticated test (scribble syntax with an arbitrary
language), based on documentation example
* Documentation
svn: r11502
2008-09-01 04:23:50 +00:00
Eli Barzilay
3b5cf38853
typo
...
svn: r11498
2008-08-31 17:59:59 +00:00
Eli Barzilay
7d6bc32ed9
* Extended syntax/module-reader to deal with many more situations
...
using keywords, and allowing arbitrary code in the reader module
* Added tests for the new functionality
* Used the new stuff for the r5rs, r6rs, and honu readers
svn: r11495
2008-08-31 06:25:41 +00:00
Eli Barzilay
711401bd55
* Rename files to follow `foo-tests.ss' for files that are sets of tests.
...
* Group syntax tests into their own file.
svn: r11494
2008-08-30 23:03:14 +00:00
Matthew Flatt
ae9e317b44
fix more problems collapsing planet paths
...
svn: r11489
2008-08-29 21:45:38 +00:00
Matthew Flatt
797c141ede
fix problems collapsing planet module paths
...
svn: r11488
2008-08-29 21:35:40 +00:00
Jay McCarthy
08e2704d8d
Fixing web-cell bug
...
svn: r11485
2008-08-29 18:22:28 +00:00
Jay McCarthy
5d4338ff24
New tests
...
svn: r11484
2008-08-29 18:13:40 +00:00
Eli Barzilay
20e9673028
more base64-related changes
...
svn: r11470
2008-08-28 21:00:53 +00:00
Jay McCarthy
233dbc86e4
Moving tests into common directory
...
svn: r11440
2008-08-26 21:20:29 +00:00
Jay McCarthy
a194dfe369
Removing old web-server tests
...
svn: r11439
2008-08-26 21:19:06 +00:00
Eli Barzilay
c3985c706c
Change parsing of old versions:
...
NNNpN -> N.NN.N
NNN.N -> N.NN.0.N
This is better than mapping NNN.N to N.NN.N, because it follows the
fact that NNN.N were not release versions, so they're mapped to
numbers that are not release versions now.
svn: r11398
2008-08-23 07:06:33 +00:00
Eli Barzilay
b5fb8569cc
* Deal with NNNpN versions as N.NN.N (eg, 103p1 => 1.03.1),
...
* Some more sane checks -- refuse old-style versions when it's higer
than 380
* Added tests for these
* Move sanity check to tests (where it will do the same since it runs
every day)
svn: r11397
2008-08-23 06:49:06 +00:00
Robby Findler
7f31137562
PR 9696
...
svn: r11381
2008-08-22 12:52:01 +00:00
Robby Findler
5c8864ac65
added (now properly failing) test case for PR 9696
...
svn: r11376
2008-08-22 03:54:39 +00:00
Robby Findler
a9592f0d46
added a test for values that print out as part of the scheme language top-level printing
...
svn: r11375
2008-08-21 22:54:52 +00:00
Matthew Flatt
408f2034d0
fix r6rs test suite problems with flushing on custom ports, and add more expt tests
...
svn: r11372
2008-08-21 19:51:07 +00:00
Sam Tobin-Hochstadt
252086b7ff
Add test with or and multiple values from clklein.
...
svn: r11359
2008-08-20 19:52:13 +00:00
Matthew Flatt
6516518ae5
fix cm-accomplice and avoid redundant reader-module dependencies
...
svn: r11354
2008-08-20 13:29:42 +00:00
Matthew Flatt
ebab4270bf
fix letrec compilation when call/cc is used on the RHS of something that otherwise looks like it could be let*; add #%in annotations to decompiler output
...
svn: r11329
2008-08-19 15:18:09 +00:00
Matthew Flatt
13182685e6
nbody binary arithmetic etc.
...
svn: r11319
2008-08-19 03:29:04 +00:00
Matthew Flatt
ebb811b491
fix R6RS log to accept 2 arguments
...
svn: r11197
2008-08-12 00:56:07 +00:00
Matthew Flatt
178c30e6e4
fix lcm on 0
...
svn: r11194
2008-08-11 23:55:32 +00:00
Matthew Flatt
19ae0c3741
adjust tests based on mistakes (as far as I can tell) in R6RS on string-titlecase and expt
...
svn: r11184
2008-08-11 18:01:52 +00:00
Chongkai Zhu
60f30c3a90
for v4.1
...
svn: r11180
2008-08-10 17:06:22 +00:00
Robby Findler
29b59ecaba
adjusted require syntax
...
svn: r11178
2008-08-10 05:18:38 +00:00
Eli Barzilay
4632119a2a
allow 15 minutes for the tests
...
svn: r11175
2008-08-10 02:04:25 +00:00
Eli Barzilay
a7248560da
Protect against user code changing the namespace, plus tests. (PR9644)
...
svn: r11138
2008-08-08 08:56:00 +00:00
Eli Barzilay
372bbefdb3
* Added a `call-without-reset-highlighting' to "rep.ss"
...
* When the language does not have #%top-interaction binding, don't
throw an error, just disable the repl (useful, for example, with
setup/infotab as a langauge)
* To do that, used the above new method so that the original error
highlighting is kept
* Updated tests, and added a test for using setup/infotab, verifying
that no error is displayed.
svn: r11137
2008-08-08 08:25:17 +00:00
Matthew Flatt
d0419345d8
clean up extended in-vector, in-string, and in-bytes
...
svn: r11124
2008-08-07 12:13:21 +00:00
Eli Barzilay
e1f7ee507a
Moved time-keystrokes to tests/drscheme
...
svn: r11120
2008-08-07 05:57:25 +00:00
Robby Findler
a4aaa18f9c
added a scheme/load test
...
svn: r11118
2008-08-07 01:36:48 +00:00
Robby Findler
5b33922526
renamed paste-in to a more accurate name
...
svn: r11117
2008-08-07 01:31:07 +00:00
Eli Barzilay
3ae6db6f65
Another improvement + test
...
svn: r11116
2008-08-07 00:38:36 +00:00
Eli Barzilay
78170587c2
* Fixed a minor bug in the module language
...
* More test improvement, remove test-debugging `sleep'
* Add tests for new module language behavior with misc errors
svn: r11115
2008-08-06 21:16:51 +00:00
Eli Barzilay
2d553df7ef
very improved module-language tests, update them to work with the new messages
...
svn: r11109
2008-08-06 20:10:28 +00:00
Eli Barzilay
8d6438c526
set svn:eol-style
...
svn: r11100
2008-08-06 05:58:02 +00:00
Robby Findler
3f14a1325c
all drs test suites now passing except module language
...
svn: r11091
2008-08-05 20:27:17 +00:00
Eli Barzilay
12390fb891
improvements
...
svn: r11078
2008-08-05 11:36:33 +00:00
Robby Findler
38c7cbd6de
svn: r11075
2008-08-04 22:53:21 +00:00
Noel Welsh
ed0bd51c8b
Add support for start/stop/step parameters to in-vector comprehension forms. Vector like comprehensions (strings etc) actually support this as well, when used in the body of the for comprehension. However this will not be documented as support do not extend to sequences defined outside a comprehension.
...
svn: r11068
2008-08-04 18:38:47 +00:00
Sam Tobin-Hochstadt
4ba9376131
These tests now pass.
...
svn: r11067
2008-08-04 18:36:38 +00:00
Eli Barzilay
c4f62cfc13
use schemeunit version 2
...
svn: r11049
2008-08-03 14:47:02 +00:00
Eli Barzilay
6994edd977
* Revised lazy/force so it actually works:
...
- `!!' now scans the same kind of data that `make-reader-graph'
handles (except that hash-tables are not implemented)
- this means no structs, no mpairs, and a bunch of other stuff
- `!!!' is gone (lazy procedures are not wrapped)
- dealing with multiple values moved into lazy/lazy.ss itself (and
in the future everything will move in there)
* Removed lazy/promise, and use scheme/promise instead. Also remove
the docs for lazy/promise that were bogus (since scheme/promise *is*
doing the same thing now).
* Other adjustments to the docs. They should be considered incomplete
now, and will need a major rewrite when the whole thing works again
(multiple values things are just commented out for now).
* Added a test macro and a quick test suite for lazy/promise.
* The lazy tests are added to the nightly build tests
svn: r11042
2008-08-03 06:28:25 +00:00
Sam Tobin-Hochstadt
28c5e71b01
Fix bug 9649.
...
svn: r11029
2008-08-01 20:57:48 +00:00
Matthew Flatt
eb88bee42b
R6RS test suite contributions
...
svn: r11026
2008-08-01 20:23:32 +00:00
Matthew Flatt
f4df83106e
fix r6rs syntax-case yet again (PR 9647)
...
svn: r11024
2008-08-01 17:45:21 +00:00
Matthew Flatt
70137b8789
update Ypsilon instructions
...
svn: r11018
2008-08-01 13:05:22 +00:00
Matthew Flatt
ea0a7cdfb5
add divide-by-zero tests for div, mod, etc.
...
svn: r11014
2008-07-31 20:45:17 +00:00
Matthew Flatt
c13fa1d24c
adjust test to not require distinguished 0.0 and -0.0; add some fixnum overflow tests
...
svn: r11011
2008-07-31 20:18:38 +00:00
Sam Tobin-Hochstadt
14b180d5a7
add test
...
svn: r11009
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
72a2b55c13
Dynamic require only requires Schemeunit 2
...
svn: r11007
2008-07-31 12:44:25 +00:00
Matthew Flatt
8140b3644e
add 'bitwise-bit-set?' and 'in-value' (v4.0.2.6)
...
svn: r10971
2008-07-29 19:27:33 +00:00
Matthew Flatt
27375c0d5a
fix equal? on transparent R6RS records
...
svn: r10949
2008-07-28 20:30:25 +00:00
Robby Findler
eaf979b749
added a search anchor to drschemes new search facility
...
svn: r10946
2008-07-28 18:40:34 +00:00
Matthew Flatt
616ec71325
fix for/or and for/and when one of the clauses binds multiple values
...
svn: r10926
2008-07-26 21:38:39 +00:00
Matthew Flatt
35638a8c5a
fix R6RS syntax->datum and fix broken tests (as reported by Will)
...
svn: r10924
2008-07-26 20:38:02 +00:00
Matthew Flatt
c1983f1984
fix syntax-case tests
...
svn: r10922
2008-07-26 20:29:40 +00:00
Matthew Flatt
e7e188143f
update R6RS test readme, espeically for Ypsilon
...
svn: r10919
2008-07-26 12:31:17 +00:00
Matthew Flatt
949032b03e
fix UTF-16 encoding tests again (assume BE when no BOM)
...
svn: r10909
2008-07-25 13:07:59 +00:00
Matthew Flatt
5ff90cdd42
fix checkable menu delete/restore
...
svn: r10908
2008-07-25 12:38:43 +00:00
Matthew Flatt
9fece2f96b
more repairs from Will
...
svn: r10907
2008-07-25 12:38:03 +00:00
Matthew Flatt
49a015e890
R6RS test suite fixes from Will
...
svn: r10904
2008-07-25 01:06:27 +00:00
Matthew Flatt
2c0b17cf19
fix bytevector-ieee-native-... tests (from Aziz) and checking in implementation
...
svn: r10893
2008-07-24 09:56:36 +00:00
Matthew Flatt
e137994b5c
add on-reflow to text% and auto-size to message%
...
svn: r10890
2008-07-24 01:35:31 +00:00
Matthew Flatt
e7eefb84c5
change display of multiple-value failures in r6rs test suite
...
svn: r10889
2008-07-24 00:27:33 +00:00
Matthew Flatt
643b24c3b7
change the way multiple-value results are compared in r6rs test suite
...
svn: r10888
2008-07-24 00:23:05 +00:00
Matthew Flatt
5a5f52d99c
add run-via-eval (from Aziz)
...
svn: r10887
2008-07-23 22:34:07 +00:00
Matthew Flatt
a1ee4b8703
update r6rs test suite notes
...
svn: r10885
2008-07-23 21:23:51 +00:00
Matthew Flatt
2db7898f70
more r6rs test missing record-type-descriptors
...
svn: r10884
2008-07-23 20:58:43 +00:00
Matthew Flatt
84003497a0
use function for fx/carry tests
...
svn: r10881
2008-07-23 16:18:47 +00:00
Matthew Flatt
f7767aefaa
slight improvement to R6RS carry-test expansion
...
svn: r10879
2008-07-23 15:51:13 +00:00
Matthew Flatt
7bd75641c7
r6rs test changes: change utf-8 to latin-1 as suggested by Will, and add missing tests for some carry functions
...
svn: r10878
2008-07-23 15:40:09 +00:00
Matthew Flatt
d343751862
another r6rs test
...
svn: r10875
2008-07-23 13:19:30 +00:00
Matthew Flatt
7a21aff2e6
r6rs test fixes from leppie
...
svn: r10874
2008-07-23 13:17:10 +00:00
Matthew Flatt
8e1add79c9
R6RS syntax vector repair (PR 9625)
...
svn: r10870
2008-07-23 12:25:41 +00:00
Matthew Flatt
fe84c8c6a3
protect nan? test by real?, as Aziz points out; also fix nan?, finite?, and infinite? to insist on real arguments
...
svn: r10869
2008-07-23 01:06:26 +00:00
Matthew Flatt
4947ae6711
finish fishing records/syntactic tests
...
svn: r10868
2008-07-23 00:57:42 +00:00
Matthew Flatt
41f89d35f8
R6RS test repairs form Aziz
...
svn: r10867
2008-07-23 00:50:22 +00:00
Matthew Flatt
837429315a
refine r6rs test suite notes, again
...
svn: r10866
2008-07-22 22:01:13 +00:00
Matthew Flatt
6f6a3f27d0
refine r6rs test suite notes
...
svn: r10864
2008-07-22 21:42:39 +00:00
Matthew Flatt
6c43d23bc4
add editor-scroll-to method of editor<%>
...
svn: r10860
2008-07-22 13:17:09 +00:00
Matthew Flatt
a690f715c5
some r6rs test suite fixes
...
svn: r10857
2008-07-21 23:10:59 +00:00
Matthew Flatt
9af18d6971
R6RS tests: sps files for more convenient testing, README on how to run
...
svn: r10854
2008-07-21 22:16:19 +00:00
Matthew Flatt
ec75a07fc6
.ss -> .sls for portable R6RS tests
...
svn: r10853
2008-07-21 20:51:33 +00:00
Matthew Flatt
a3bf5c9523
fix spectral-norm benchmark
...
svn: r10851
2008-07-21 20:38:51 +00:00
Matthew Flatt
319c7406a2
fix shootout problems
...
svn: r10850
2008-07-21 20:01:30 +00:00
Matthew Flatt
5ff75bac42
allow duplicate struct properties if the values are eq?; add position-locations to text%
...
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775
properties can now effectively inherit properties (v4.0.2.5)
...
svn: r10848
2008-07-21 17:04:25 +00:00
Matthew Flatt
1091050692
more shootout clean-up
...
svn: r10841
2008-07-19 14:47:13 +00:00
Matthew Flatt
55a44ae5bc
shootout benchmarks
...
svn: r10840
2008-07-19 14:27:00 +00:00
Matthew Flatt
b8672845fc
shootout benchmarks
...
svn: r10839
2008-07-19 02:40:34 +00:00
Matthew Flatt
83e7774bee
shootout benchmark improvements
...
svn: r10837
2008-07-19 01:00:27 +00:00
Matthew Flatt
b8aa628d1e
shootout updates
...
svn: r10836
2008-07-19 00:11:10 +00:00
Matthew Flatt
69d604c0be
fix udp test and update docs related to socket re-binding
...
svn: r10835
2008-07-18 21:33:11 +00:00
Matthew Flatt
6e668cbb00
fix R6RS template handling of consecutive ellipses
...
svn: r10824
2008-07-17 17:55:52 +00:00
Matthew Flatt
04af3c8f01
fix logger name handling
...
svn: r10823
2008-07-17 17:41:05 +00:00
Matthew Flatt
a14a6d7272
fix R6RS parsing ofr numbers that start with two # things, like #i#xe/f
...
svn: r10822
2008-07-17 17:38:06 +00:00
Matthew Flatt
9af00fcfb4
v4.0.2.4: logging
...
svn: r10818
2008-07-17 15:20:17 +00:00
Stevie Strickland
91291ba2bc
Add the forall Unicode symbol as an acceptable replacement for the
...
All type constructor.
svn: r10797
2008-07-16 17:37:05 +00:00
Stevie Strickland
0cd54c9e33
Merging in the following code:
...
svn merge -r10197:10773 http://svn.plt-scheme.org/plt/branches/samth/dots
svn merge -r10210:10737 http://svn.plt-scheme.org/plt/branches/samth/dots-tests
This adds non-uniform variable-arity polymorphism to Typed Scheme.
svn: r10778
2008-07-15 19:03:59 +00:00
Eli Barzilay
a0d4bc8393
removed leftovers
...
svn: r10770
2008-07-14 15:37:56 +00:00
Eli Barzilay
19095ff14b
* Added `version->integer'
...
* Added tests (mostly just that for now)
* Documented `version/utils'
svn: r10756
2008-07-14 07:56:18 +00:00
Matthew Flatt
0f97bbcd9e
improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
...
svn: r10750
2008-07-13 21:36:58 +00:00
Stevie Strickland
05e54f0dfe
I thought I checked this in, but apparently not! Oops.
2008-07-13 04:35:54 -04:00
Matthew Flatt
de3b46aa5b
refine fix of equal? on immutable hash tables and add a test
...
svn: r10707
2008-07-10 13:50:56 +00:00
Matthew Flatt
a4cc0f7890
%-encoding extension in module paths; new r6rs library name encoding
...
svn: r10697
2008-07-09 15:41:38 +00:00
Eli Barzilay
7d50e61c7f
* Newlines at EOFs
...
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind
svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
bdbcd1a56c
doc corrections/clarifications for 'when' and 'lambda'
...
svn: r10674
2008-07-08 14:55:06 +00:00
Sam Tobin-Hochstadt
717a812835
Add new test for force/delay.
...
Fix tests that have errors to have appropriate parameters.
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
f2699abe65
Int is not a type
2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
41c9a2eaf1
Fix exn-pred handling.
2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
477cba1b0b
More failure tests.
2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
88cbe63879
Add failure cases.
2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
2714b3a84a
Since this is now in a different loc, need to fix up the require.
2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
3dbf0f7ccc
Adding Sam's test for value dots.
2008-07-07 12:54:45 -04:00
Robby Findler
7be05fcf8b
added zero size rectangles, ellipses, circles, and strings
...
svn: r10610
2008-07-05 01:58:36 +00:00
Robby Findler
4993e26b0a
PR 9442
...
svn: r10603
2008-07-04 20:22:33 +00:00
Matthew Flatt
ec12a7f459
fix pretty-print hash table test
...
svn: r10568
2008-07-03 00:33:05 +00:00
Eli Barzilay
f3559964fb
Added split-at' and
split-at-right', with documentation and tests,
...
and made srfi/1 use it.
svn: r10558
2008-07-02 13:12:26 +00:00
Eli Barzilay
1002366103
* Implemented drop' instead of a synonym for
list-tail' (so error
...
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
documentation
* also, minor documentation bug (wrong result type for `drop' can
return `any/c')
* drop the implementation of them from srfi/1, reprovide the
scheme/list versions
svn: r10555
2008-07-02 10:04:57 +00:00
Matthew Flatt
6cbd467e17
expand pretty-print tests (PR 9567)
...
svn: r10552
2008-07-02 01:45:09 +00:00
Stevie Strickland
b90e1505d3
Example of nested polydots.
2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
4578b926c0
Add file for carl.
2008-07-01 11:58:28 -04:00
Sam Tobin-Hochstadt
bbae111229
Extra require.
...
Compile files first.
2008-07-01 11:27:05 -04:00
Matthew Flatt
44c5a75739
fix some phase problems in program-processing programs
...
svn: r10503
2008-06-29 15:11:20 +00:00
Matthew Flatt
69b4ffc7c0
fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
...
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
e62bb306fa
fix R6RS string->number (PR 9546), document non-conformace of initial handler (PR 9547)
...
svn: r10457
2008-06-26 13:13:10 +00:00
Matthew Flatt
da82fe2a2d
eval and phases (4.0.1.2)
...
svn: r10452
2008-06-25 18:54:38 +00:00
Sam Tobin-Hochstadt
15eb016e25
Fix PR 9540
...
svn: r10448
2008-06-24 23:52:16 +00:00
Sam Tobin-Hochstadt
97c5444b88
Check number of type errors.
2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d7cf0a10c0
new test
2008-06-24 11:43:06 -04:00
Matthew Flatt
3f60a478ad
use new 'serialized=?' to tighten setup scribble fixpoint
...
svn: r10428
2008-06-23 19:28:08 +00:00
Stevie Strickland
e4a0dc82b3
Let's also try out the abstracted version of this function.
2008-06-21 21:09:03 -04:00
Stevie Strickland
48961eb551
Remove the bits and pieces used to diagnose the original file, and add the
...
non-outer-apply versions (that have no reason not to work).
2008-06-20 17:50:15 -04:00
Stevie Strickland
ce58c4c676
Revert last change.
2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
b2edd9d197
Remove no-longer-needed inst.
2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
89cb3a4b09
Small changes needed after changes to infer.
2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
bec9c11fd4
Correct and incorrect uses of dotted identity
2008-06-20 13:07:42 -04:00
Stevie Strickland
a1f078fb59
Another change.
2008-06-19 19:12:39 -04:00
Stevie Strickland
af12feb729
Another example, putting in starred for dots.
2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
2bf691991c
New test
2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
e62598ef08
More tests!
2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
2a7dbe2a80
Add unit test for dotted instantiation, and add version of
...
fold-left/fold-right that explicitly instantiates the
recursive call.
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
36408a32d5
Fix test to expecte effects.
...
Remove useless annotation.
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
1af866586e
Fix tests, add filter tests.
2008-06-19 12:41:06 -04:00
Kathy Gray
08015efba8
Indenter bug corrections; indented files according to indenter
...
svn: r10371
2008-06-19 13:40:25 +00:00
Stevie Strickland
8256f922f9
Instantiation... seems to be broken. Adding unit tests to alert us to that
...
fact.
2008-06-18 18:22:16 -04:00
Sam Tobin-Hochstadt
8a66c759dc
Fix identifier issues in fold-left/fold-right.
2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961
Tests in here that now succeed
2008-06-18 17:22:16 -04:00
Stevie Strickland
f1211df156
I don't know why this wasn't caught before, but with recent changes, it's now
...
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
449a784c1d
Remove this, as it isn't needed.
2008-06-18 16:03:45 -04:00
Stevie Strickland
f80711bc9e
Split this out into what should succeed and what should fail.
2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b
Forgot to add stars here.
2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda
New test for lambda formal list mismatches.
2008-06-18 15:03:12 -04:00
Stevie Strickland
4b3508a890
Add * where appropriate.
2008-06-18 13:01:43 -04:00
Kathy Gray
1862bffc93
Testengine test file (in wrong directory, probably).
...
svn: r10338
2008-06-18 12:20:17 +00:00
Sam Tobin-Hochstadt
8e498458aa
More tests. Not all of them pass yet, but we are hopeful.
2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
3f180f88da
New tests
2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
59e2dc4dea
New tests
2008-06-17 14:28:41 -04:00
Sam Tobin-Hochstadt
93c937f909
Adding testcases for dotted function application to rest args via apply.
2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
c7733e5e34
Use map instead of map*
2008-06-17 10:46:39 -04:00
Stevie Strickland
bcb205a930
Add examples of each.
2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
a43b2f5681
Change map* to map.
2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
27073e07fd
More testing.
2008-06-13 17:04:22 -04:00
Matthew Flatt
1d34ff568a
check-expect tests for HtDP languages
...
svn: r10258
2008-06-13 17:40:20 +00:00
Eli Barzilay
87bb5ee526
use proper tmp directory, remove temp file
...
svn: r10254
2008-06-13 17:06:05 +00:00
Stevie Strickland
df91f204d2
Test cases that should succeed and fail for star/dots mixes.
2008-06-13 12:08:43 -04:00
Stevie Strickland
6da5171b28
Add fixed-args mismatch between starred/dotted functions.
2008-06-12 14:08:23 -04:00
Kathy Gray
7f085f7e2b
Switching to scheme/base instead of mzscheme
...
Addition of support for stm (to-scheme.ss only)
svn: r10232
2008-06-12 14:46:43 +00:00
Matthew Flatt
930650491f
fix mod-collapse bug with 'up' elements relative to planet paths
...
svn: r10229
2008-06-12 12:18:30 +00:00
Sam Tobin-Hochstadt
eb9147a0fa
Add new tests
2008-06-11 17:16:58 -04:00
Sam Tobin-Hochstadt
97847c32c4
Added new test for constraint solving on starred functions with different fixed arg lengths.
2008-06-11 11:41:46 -04:00
Sam Tobin-Hochstadt
4ae4141257
Changes to tests for ...
2008-06-10 16:40:05 -04:00
Matthew Flatt
301a91e0ad
fix moddep test for Windows
...
svn: r10186
2008-06-07 12:15:06 +00:00
Sam Tobin-Hochstadt
d9134861c4
Run tests in new namespaces.
...
svn: r10180
2008-06-06 17:19:53 +00:00
Matthew Flatt
26d4346984
moddep tests
...
svn: r10179
2008-06-06 15:57:56 +00:00
Matthew Flatt
5f5c70eafb
fix some docs and tests
...
svn: r10176
2008-06-06 15:39:59 +00:00
Noel Welsh
a33a97de59
NHW: Fix an error in the require statement for SRFI 66.
...
svn: r10169
2008-06-06 13:21:07 +00:00
Sam Tobin-Hochstadt
e9356d145d
Run when just required.
...
svn: r10162
2008-06-05 21:43:06 +00:00
Sam Tobin-Hochstadt
5a8bc6fabb
Add new tests.
...
Fix old tests for new Struct datatype.
svn: r10161
2008-06-05 21:42:44 +00:00
Matthias Felleisen
4af4565d2a
added empty-string test for text
...
svn: r10156
2008-06-05 21:15:37 +00:00
Matthew Flatt
6aa847ca67
update MrEd gc test for v4
...
svn: r10122
2008-06-04 11:45:41 +00:00
John Clements
d8dd8c1d50
...
...
svn: r10120
2008-06-04 06:01:51 +00:00
Chongkai Zhu
f922f37bf6
SRFI tested for v4
...
svn: r10114
2008-06-03 22:28:59 +00:00
Eli Barzilay
4654408229
portable
...
svn: r10112
2008-06-03 18:47:14 +00:00
Robby Findler
eec9d1e4bb
minor fixes uncovered by test suites:
...
svn: r10111
2008-06-03 18:18:17 +00:00
Eli Barzilay
364c048008
removed some for-syntax requires that are no longer needed for runtime-path
...
svn: r10100
2008-06-03 00:02:59 +00:00
Robby Findler
c16212375c
svn: r10079
2008-06-01 18:59:33 +00:00
Robby Findler
1ef3f03a27
svn: r10078
2008-06-01 18:45:13 +00:00
Robby Findler
5d75495c3b
svn: r10077
2008-06-01 18:42:27 +00:00
Sam Tobin-Hochstadt
d9aa32446f
Add automated tests for match and typed-scheme.
...
svn: r10043
2008-05-30 16:00:43 +00:00
Matthew Flatt
a78bf662b2
adjust search-page sizing of 'provided from' to use a CSS entry, which scales by the magic 82% instead of 80% (because 80% drops just below the threshold of anti-aliasing the default monospace font in Safari)
...
svn: r10036
2008-05-30 13:25:54 +00:00
Robby Findler
612f26972e
improved the error reporting in the REPL and misc other minor changes
...
svn: r10014
2008-05-29 04:55:43 +00:00
Matthew Flatt
536ec96549
add missing syntax-case tests
...
svn: r9987
2008-05-27 20:22:08 +00:00
Matthew Flatt
fadfbf73e1
repir boolean=? test
...
svn: r9948
2008-05-24 22:27:29 +00:00
Matthew Flatt
344b225e20
add boolean=? to r6rs
...
svn: r9947
2008-05-24 22:26:02 +00:00
Matthew Flatt
7ec0f13a7d
fix r6rs exists
...
svn: r9946
2008-05-24 17:25:39 +00:00
Sam Tobin-Hochstadt
a973a8cbd5
Don't statically require mred in tests.
...
svn: r9928
2008-05-22 16:36:06 +00:00
Sam Tobin-Hochstadt
833bebbd3b
fix test
...
svn: r9924
2008-05-21 20:10:39 +00:00
Robby Findler
c5f4bc9e20
emptied the namespace when executing a module
...
svn: r9923
2008-05-21 17:43:14 +00:00
Sam Tobin-Hochstadt
e8123b83ec
move to correct dir
...
svn: r9909
2008-05-20 20:40:48 +00:00
Sam Tobin-Hochstadt
c44d686a15
Finally fixed metric.ss
...
svn: r9908
2008-05-20 20:40:14 +00:00
Sam Tobin-Hochstadt
1d67f058fc
New test for non-linearity + ...
...
svn: r9869
2008-05-16 19:55:28 +00:00
Matthew Flatt
84d010b567
fix r6rs fixnum-width
...
svn: r9856
2008-05-15 18:59:53 +00:00
Matthew Flatt
41ad955597
R6RS repairs (PRs 9361 and 9371)
...
svn: r9844
2008-05-15 13:23:16 +00:00
Robby Findler
9f69672740
fixed bug from the mailing list
...
svn: r9830
2008-05-14 11:46:49 +00:00
Ryan Culpepper
75320261cf
moved stxclass test module
...
svn: r9816
2008-05-12 19:00:45 +00:00
Matthew Flatt
24739359e4
Ryan's macro-stepper patches
...
svn: r9794
2008-05-10 11:02:47 +00:00
Sam Tobin-Hochstadt
2bf93a2fa0
Add mlist patterns, and handle ...
...
svn: r9774
2008-05-09 19:47:28 +00:00
Eli Barzilay
ed0974616b
plot tests adjusted and passed
...
svn: r9769
2008-05-09 16:12:30 +00:00
Kathy Gray
c69b4b947e
Correction to test enable/disable behavior.
...
Hooks for correction to printing out test announcements at inopportune times.
svn: r9754
2008-05-08 21:48:02 +00:00
Matthew Flatt
548e45408b
regexp-replace* handles empty matches; empty-match handling documented
...
svn: r9751
2008-05-08 20:29:56 +00:00
Eli Barzilay
1db7e0604b
added proper error exit code
...
svn: r9749
2008-05-08 17:42:37 +00:00
Eli Barzilay
44e73c735f
Added a safe car because I've seen an error with it, but now the error
...
is not happening. Better leave it in.
(Also, reformat.)
svn: r9748
2008-05-08 17:40:41 +00:00
Eli Barzilay
9561e94bd6
made preference save/restore in pref.ss also be an admin-level printf
...
svn: r9747
2008-05-08 17:30:06 +00:00
Eli Barzilay
940cb2e6eb
* Marked interactive tests in README
...
* Removed the environment-variable hack in debug.ss
(Note: messages? is now #f)
* Made main.ss not run interactive tests when no tests are specified.
Either specify tests to run, or use --all to run them all.
svn: r9746
2008-05-08 17:21:31 +00:00
Eli Barzilay
862afcfe17
misc (minor) improvements
...
svn: r9745
2008-05-08 16:53:27 +00:00
Eli Barzilay
fc3115d6bc
reformat
...
svn: r9737
2008-05-08 13:13:02 +00:00
Eli Barzilay
68a266599d
use tmp dir for saved prefs file
...
svn: r9736
2008-05-08 12:09:08 +00:00
Eli Barzilay
77c354e1c0
put the receive-sexps-port.ss file in tmp
...
svn: r9735
2008-05-08 11:59:13 +00:00
Eli Barzilay
c0957923f0
improved code, moved customizations to runtime so they can rely on environment variables and still be compiled
...
svn: r9734
2008-05-08 11:05:02 +00:00
Eli Barzilay
f818c88a33
misc reformatting
...
svn: r9733
2008-05-08 10:39:58 +00:00
Eli Barzilay
807dd0436f
better test starter script, and make it work on platforms other than macosx
...
svn: r9732
2008-05-08 10:07:55 +00:00
Matthew Flatt
fad08fcd84
more drscheme repairs and tests
...
svn: r9721
2008-05-07 16:31:20 +00:00
Scott Owens
5295dcb197
Clarified how the paren matching tree uses its internal data structures.
...
svn: r9720
2008-05-07 10:38:33 +00:00
Eli Barzilay
db46754271
fixed exn handler
...
svn: r9716
2008-05-07 02:07:43 +00:00
Eli Barzilay
3b569a0a8c
removed the custodian, it interferes with mzscheme tests
...
svn: r9712
2008-05-07 01:03:32 +00:00
Matthew Flatt
860c41d749
drs bug and test-suite fixes
...
svn: r9709
2008-05-06 23:27:23 +00:00
Sam Tobin-Hochstadt
b7d6c442b6
move not-passing tests
...
svn: r9707
2008-05-06 22:54:20 +00:00
Sam Tobin-Hochstadt
6825658675
new files
...
svn: r9706
2008-05-06 22:53:30 +00:00
Sam Tobin-Hochstadt
a3d192bc51
New tests from Richard's bug reports.
...
svn: r9700
2008-05-06 20:40:10 +00:00
Eli Barzilay
2e0f9ac45c
new meta-test script
...
svn: r9698
2008-05-06 19:48:57 +00:00
Matthew Flatt
a7aadea865
framework minor repairs (after tests)
...
svn: r9690
2008-05-06 15:29:58 +00:00
Matthew Flatt
07bac63506
fix scheme-lexer tests
...
svn: r9688
2008-05-06 14:44:31 +00:00
Matthew Flatt
87e361c24a
fix pack test suite
...
svn: r9683
2008-05-06 12:26:28 +00:00
Matthew Flatt
d597605d24
fix some 'unit' tests
...
svn: r9680
2008-05-06 11:48:46 +00:00
Sam Tobin-Hochstadt
5439241f53
Test for more stuff.
...
svn: r9675
2008-05-06 00:44:18 +00:00
Sam Tobin-Hochstadt
2fc38964e5
more tests
...
svn: r9673
2008-05-06 00:34:28 +00:00
Matthew Flatt
3451dff783
mzc -e repairs
...
svn: r9669
2008-05-05 22:32:16 +00:00
Sam Tobin-Hochstadt
914de50133
More tests.
...
svn: r9664
2008-05-05 21:20:02 +00:00
Sam Tobin-Hochstadt
62cd19a42b
test for parameters
...
svn: r9659
2008-05-05 17:00:32 +00:00
Matthew Flatt
4ff1cd0ca4
r6rs repairs
...
svn: r9658
2008-05-05 15:50:35 +00:00
Matthew Flatt
61dcc5d43a
fix r6rs identifier-syntax bug
...
svn: r9645
2008-05-05 01:59:43 +00:00
Matthew Flatt
7118de47c4
fix r6rs syntax->datum
...
svn: r9640
2008-05-04 12:55:53 +00:00
John Clements
1880f23d65
...
...
svn: r9632
2008-05-03 17:06:25 +00:00
Matthew Flatt
aeb79839c6
fix regexp-match when start position is beyond input port EOF
...
svn: r9629
2008-05-03 14:16:06 +00:00
Eli Barzilay
311b7543e2
add tests for match* + split
...
svn: r9622
2008-05-03 06:05:09 +00:00
Matthew Flatt
1dd30ca031
dup-{in,out}put-port and sandbox-error-output default
...
svn: r9617
2008-05-03 04:47:14 +00:00
Sam Tobin-Hochstadt
38e0297b07
New test for multi-arg andmap.
...
Fix more things to be Integer.
Finally fix parse-type tests.
svn: r9615
2008-05-03 00:03:43 +00:00
Eli Barzilay
921ef6cfcb
fixed regexp-match-peek-positions* and added tests
...
svn: r9611
2008-05-02 23:00:57 +00:00
Sam Tobin-Hochstadt
4e54165e2a
new test
...
svn: r9610
2008-05-02 22:22:44 +00:00
Sam Tobin-Hochstadt
32730fff6b
Run typecheck-tests expansion at runtime, to make compiling work.
...
Comment-out now-failing tests, because of marhalling issues.
Fix fv-tests.
Don't use reader syntax in annotation-tests.
Try some stuff for parse-type-tests.
Add new regression test.
svn: r9608
2008-05-02 22:21:01 +00:00
Eli Barzilay
726c66d8ce
much more extensive tests for regexp-X* functions
...
svn: r9605
2008-05-02 21:04:58 +00:00
Sam Tobin-Hochstadt
ccd1337e31
Use syntax-loc in tests.
...
Don't check that effects match, since they may involve identifiers.
Fix tests for correct type names, Integer.
svn: r9595
2008-05-02 17:20:05 +00:00
John Clements
88af65987e
...
...
svn: r9581
2008-05-01 23:50:11 +00:00
Robby Findler
ee9fc4a8d7
reworked the buttons along the top of drscheme
...
svn: r9578
2008-05-01 23:15:06 +00:00
Sam Tobin-Hochstadt
567e438f1d
Most typecheck tests now pass.
...
Add two new success tests.
svn: r9577
2008-05-01 22:53:10 +00:00
Matthew Flatt
4e6639fb2f
r6rs tests and bug fixes
...
svn: r9563
2008-05-01 13:52:05 +00:00
Matthew Flatt
a09b2eca94
r6rs tests and bug fixes
...
svn: r9558
2008-05-01 12:28:14 +00:00
Sam Tobin-Hochstadt
c714d0ac59
Disable tests for old inference.
...
svn: r9550
2008-04-30 21:54:03 +00:00
Matthew Flatt
53144751d2
r6rs fixes and tests
...
svn: r9549
2008-04-30 21:48:22 +00:00
Matthew Flatt
abf86a46a8
fix lack of space-safety in delimited continuations (related to recently fixed crashing bug)
...
svn: r9544
2008-04-30 17:39:30 +00:00
Matthew Flatt
95aca3e86a
fix gcd & lcm on single negative argument (PR 9330)
...
svn: r9543
2008-04-30 12:26:09 +00:00
Matthew Flatt
ac31eba987
fix delim-cont bug (in the case that a captured continuation is delimited in the middle of a meta-contiuation that isn't the current one)
...
svn: r9540
2008-04-30 03:01:40 +00:00
Sam Tobin-Hochstadt
ab81b1d64f
Ignore.
...
Remove supurious annotation.
svn: r9537
2008-04-29 21:42:16 +00:00
Kathy Gray
6a1b99a74f
Fixes to v4 errors discovered in test suite;
...
Fixes to undefined errors in parser;
Tweak to error selection in parser;
Removal of irrelevant preference in ProfJ Tool
svn: r9536
2008-04-29 16:07:47 +00:00
Matthew Flatt
c71192136e
r6rs io/simple tests; syntax-case bug fix (PR 9328)
...
svn: r9535
2008-04-29 13:30:09 +00:00
Matthew Flatt
94ccfc68c6
r6rs tests and bug fixes (including PR 9324)
...
svn: r9534
2008-04-29 13:02:12 +00:00
Matthew Flatt
2837df70a6
reencode-output: flush buffer on encoding error, so that the port can be closed
...
svn: r9528
2008-04-29 01:18:13 +00:00
Robby Findler
e5fba85ed0
fixed a bug in check syntax and a bug in the contract system
...
svn: r9524
2008-04-28 22:12:21 +00:00
Matthew Flatt
e6b2b19030
r6rs io/ports-6 repairs and tests
...
svn: r9523
2008-04-28 21:59:18 +00:00
Sam Tobin-Hochstadt
53709f1faf
Fix indentation.
...
Add missing variable annotation.
Remove unecessary annotations.
Now pass.
svn: r9522
2008-04-28 21:21:30 +00:00
Matthew Flatt
c7424bbf14
add missing r6rs test file
...
svn: r9512
2008-04-28 16:33:23 +00:00
Matthew Flatt
f579d40b82
'must-update file mode; R6RS tests and bug fixes
...
svn: r9511
2008-04-28 16:32:50 +00:00
Matthew Flatt
b8c425cc42
better syntax errors for define-record-type; support parent-rtd correctly; more r6rs tests
...
svn: r9489
2008-04-26 13:52:29 +00:00
Matthew Flatt
f2a3317df6
more r6rs tests
...
svn: r9479
2008-04-25 20:10:13 +00:00
Matthew Flatt
0483294762
fix JIT abs (on least fixnum), fix some R6RS bugs and pull in some R6RS test cases from Ikarus
...
svn: r9477
2008-04-25 17:18:44 +00:00
Robby Findler
6f0314b40c
fixed some bugs
...
svn: r9464
2008-04-24 20:33:42 +00:00
Matthew Flatt
acfcb9878c
test for tailing-vertical-bar regexp bug
...
svn: r9461
2008-04-24 19:04:16 +00:00
Matthew Flatt
d09b8c5a78
fix test that looks at expension of a module
...
svn: r9451
2008-04-24 12:06:19 +00:00
Eli Barzilay
b1024c8952
Added append-map' and
filter-not'.
...
svn: r9433
2008-04-23 17:26:41 +00:00
Matthew Flatt
e5350bb22f
sync HtDP languages and test suite
...
svn: r9424
2008-04-23 13:28:43 +00:00
Eli Barzilay
13c5e3812d
Added last-pair and tests
...
svn: r9422
2008-04-23 13:20:05 +00:00
Eli Barzilay
bcde2e1424
added filter-map' and
partition', with tests
...
--This line, and those below, will be ignored--
M collects/scheme/list.ss
M collects/tests/mzscheme/list.ss
svn: r9421
2008-04-23 12:53:47 +00:00
Eli Barzilay
e2c4500e41
added test for no collisions between srfi/1/list and scheme/base
...
svn: r9419
2008-04-23 11:41:59 +00:00
Sam Tobin-Hochstadt
fca36c126c
Add typed scheme tests.
...
svn: r9404
2008-04-22 21:58:10 +00:00
Matthew Flatt
e25e7a1098
keyword in methods and apply; procedure-reduce-keyword-arity
...
svn: r9396
2008-04-22 18:00:04 +00:00
Eli Barzilay
8e6b3e9ba0
Simplified remove-duplicates interface, adjusted tests.
...
svn: r9386
2008-04-21 19:46:11 +00:00
Matthew Flatt
a0f65ba33e
dictionaries
...
svn: r9383
2008-04-21 17:26:35 +00:00
Eli Barzilay
9b0fc20d3e
added a powerful remove-duplicates and tests
...
svn: r9373
2008-04-19 15:41:24 +00:00
Eli Barzilay
352036ea42
can use keywords with test
...
svn: r9372
2008-04-19 14:16:50 +00:00
Eli Barzilay
4fea43c61f
made test accept keyword
...
svn: r9371
2008-04-19 14:07:46 +00:00
Matthew Flatt
99943314d2
setup/unpack addition and docs
...
svn: r9370
2008-04-19 12:42:54 +00:00
Eli Barzilay
2736de7404
* move flatten' next to
append*'
...
* document `add-between'
svn: r9369
2008-04-19 10:30:31 +00:00
Eli Barzilay
180dc08777
added add-between and string-join, no lists-join
...
svn: r9361
2008-04-18 14:00:41 +00:00
Eli Barzilay
0b7bdfe92c
added scheme/string, include it in the scheme language, put string-append* in there, tested, documented
...
svn: r9356
2008-04-18 04:10:46 +00:00
Matthew Flatt
53c4ee3255
update tests for empty vector
...
svn: r9318
2008-04-15 14:13:43 +00:00
John Clements
81123caf55
...
...
svn: r9310
2008-04-15 05:30:40 +00:00
John Clements
8262a57205
...
...
svn: r9280
2008-04-13 05:05:02 +00:00
John Clements
eacfa111d6
updates...
...
svn: r9270
2008-04-11 22:42:02 +00:00
Matthew Flatt
2dc02d81fe
net/url and tests fixes for windows
...
svn: r9249
2008-04-11 01:12:01 +00:00
Matthew Flatt
0153e122b7
change -q to config option, fix unlikely race condition in wake-on-signal, add path->url and url->path, and adjust URL parsing
...
svn: r9239
2008-04-10 19:05:35 +00:00
Sam Tobin-Hochstadt
6a4414c82b
Fix PR 9286.
...
svn: r9219
2008-04-09 13:21:46 +00:00
Matthew Flatt
cb3fdd8fc5
change real->decimal-string (PR 9285)
...
svn: r9210
2008-04-08 21:56:29 +00:00
Matthew Flatt
021d4d7527
new hash function names and ops (3.99.0.23)
...
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
5cde854a07
svn: r9198
2008-04-08 12:39:36 +00:00
Eli Barzilay
26b283b953
fixed pr9285, added tests
...
svn: r9197
2008-04-08 12:33:53 +00:00
Eli Barzilay
2888a16d0e
* Move the scheme/contract tests to scheme.ss
...
* Split string.ss into string-mzlib.ss which is left in mzlib.ss
* Call the string.ss from scheme (which now has only stuff from scheme/base)
svn: r9196
2008-04-08 12:29:04 +00:00
Sam Tobin-Hochstadt
b37d63a5e5
Omit match tests during setup.
...
svn: r9195
2008-04-08 12:22:48 +00:00
Eli Barzilay
f0547adffc
fix force for dealing with (lazy 0), add a test suite (simple one for now)
...
svn: r9180
2008-04-07 19:33:48 +00:00
Sam Tobin-Hochstadt
37e0416575
Move match tests out of mzscheme directory.
...
svn: r9179
2008-04-07 17:28:06 +00:00
Sam Tobin-Hochstadt
b670ac0a20
Update to new version of Schemeunit.
...
svn: r9178
2008-04-07 17:27:09 +00:00
Matthew Flatt
5165d9e855
sync Ryan's macro-debugger changes
...
svn: r9166
2008-04-04 17:38:23 +00:00
Matthew Flatt
359035362a
2^30 optimizer test
...
svn: r9146
2008-04-03 11:14:19 +00:00
Eli Barzilay
c2829fc216
#:cache-keys -> #:cache-keys?
...
svn: r9134
2008-04-02 08:21:17 +00:00
Eli Barzilay
bfc990e3c5
Added #:key and #:cache-keys to `sort', documented and tested.
...
svn: r9128
2008-04-01 20:58:41 +00:00
Sam Tobin-Hochstadt
75ceb53bf7
Delete old match test suite.
...
Add new, schemeunit-based match test suite.
Remove call to match test from mzlib.ss
svn: r9126
2008-04-01 17:33:53 +00:00
Matthew Flatt
741d856187
fix some scribble->latex problems
...
svn: r9106
2008-03-29 03:16:44 +00:00
Matthew Flatt
61ea615004
optimizer inlining improvements, especially to ensure that single-use bindings are inlined
...
svn: r9094
2008-03-27 16:07:42 +00:00
Matthew Flatt
d2cdc315a9
fix bug in thread-rewind-receive
...
svn: r9090
2008-03-26 12:41:03 +00:00
Matthew Flatt
06326b340b
thread-rewind-receive (3.99.0.21)
...
svn: r9088
2008-03-26 02:20:50 +00:00
Matthew Flatt
34d83b3551
change module-path? for planet path shorthand; doc edits
...
svn: r9048
2008-03-21 23:46:42 +00:00
Eli Barzilay
fb8efd4816
added take+drop+append to scheme/list (problems with texpict providing drop too)
...
svn: r9045
2008-03-21 18:45:18 +00:00
Eli Barzilay
d88c6c476a
* Better versions of curry/r and negate, doc improvements, tests
...
svn: r9043
2008-03-21 17:55:29 +00:00
Matthew Flatt
f5e0fd35f5
revise scribble/srcdoc so it is extensible; tweak bytecode optimizer to drop more omittable expressions
...
svn: r9028
2008-03-19 19:53:51 +00:00
Matthew Flatt
b26702358a
allowing shadowing of initial imports (3.99.0.20)
...
svn: r9025
2008-03-19 13:39:18 +00:00
Matthew Flatt
407e0bc2d9
fix serialization on prefabs, equal on cyclic hash tables
...
svn: r9020
2008-03-18 19:46:39 +00:00
Matthew Flatt
2834b00b7e
refine failure handling of thread-send
...
svn: r9012
2008-03-18 02:16:06 +00:00
Matthew Flatt
c58820e30d
vyzo's thread mailboxes (3.99.0.19)
...
svn: r9010
2008-03-18 00:38:36 +00:00
Robby Findler
9ba432ab9c
added the _ special case to ->d
...
svn: r8998
2008-03-17 04:01:39 +00:00
Matthew Flatt
b64d03d932
fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
...
svn: r8997
2008-03-16 23:08:53 +00:00
Matthew Flatt
788adace20
fix r6rs let[rec]-syntax for expression positions
...
svn: r8982
2008-03-15 21:57:58 +00:00
Matthew Flatt
293ba025ba
prefab structure types (3.99.0.18)
...
svn: r8967
2008-03-13 20:59:22 +00:00
Eli Barzilay
401a535e11
* Added svn:ignore to ignore test-generated files
...
* Renamed mzlib/contract header (distinguished from the other)
* Added "scheme.ss" to test things from the scheme collection
* Added "for.ss" to the "scheme.ss" tests, renamed the section header
to `for'
* Added "list.ss" to test stuff from scheme/list: flatten
* Moved list tests from "function.ss" to "list.ss": foldl, foldr,
filter, memf, assf, sort; removed bogus quicksort-mergesort test
svn: r8928
2008-03-08 07:34:22 +00:00
Noel Welsh
d71f913097
Link the SRFI 4 tests into the main test suite and fix a number of tests so they work with the changes to 3.99. The hash table tests are still broken and I don't know why.
...
svn: r8919
2008-03-07 16:51:12 +00:00
Noel Welsh
a53d243e99
I have changed the SRFI-4 implementation so structure types are exported for types except u8. This allows developers to subtype the SRFI-4 structures. I have also refactored the code, leading to a significantly simpler implementation
...
svn: r8918
2008-03-07 16:24:06 +00:00
Matthew Flatt
81709349fb
programs
...
svn: r8917
2008-03-07 13:24:59 +00:00
Matthew Flatt
20055ac00e
r6rs tests and repairs
...
svn: r8913
2008-03-07 03:18:06 +00:00
Matthew Flatt
cc6a756440
tests for (round -0.0), etc.
...
svn: r8907
2008-03-06 21:32:57 +00:00
Matthew Flatt
53bc658226
r6rs tests and repairs
...
svn: r8905
2008-03-06 18:56:31 +00:00
Matthew Flatt
b451631831
fix coroutine API and test to avoid timeout races
...
svn: r8900
2008-03-06 14:08:29 +00:00
Matthew Flatt
e66ea1084c
rename R6RS test suite entry point
...
svn: r8899
2008-03-06 04:58:01 +00:00
Matthew Flatt
f3d74fa4c8
R6RS fixes; fix for <, >, <=, and >= with +nan.0 and a bignum or rational; compile two-byte regexp patterns (common for hand-rolled case-insensitivity, as in the R6RS parser) to a more compact and efficient representation
...
svn: r8898
2008-03-06 04:56:47 +00:00
Eli Barzilay
c72b0017ca
removed old hack
...
svn: r8897
2008-03-05 20:40:03 +00:00
Matthew Flatt
d4ea11b325
fix test case affected by change to scheme/base module-begin expansion
...
svn: r8896
2008-03-05 13:23:36 +00:00
Robby Findler
ecc960e538
added back drscheme framework and utils to be compiled
...
svn: r8891
2008-03-05 02:05:26 +00:00
Matthew Flatt
f2f2322140
fix another stx bug introduced in phase generalization
...
svn: r8871
2008-03-04 14:56:46 +00:00
Eli Barzilay
b76390a452
revise the way setup-plt crawls over the collection trees
...
svn: r8860
2008-03-03 22:04:28 +00:00
Matthew Flatt
b3476706ec
add newline handling to reencode-input/output-port; provide a streamlined path for custom-port buffering (via pipes); fix JIT bug related to updating the runstack pointer after a call that turns out to be a direct-native call
...
svn: r8851
2008-03-02 16:00:12 +00:00
Matthew Flatt
b3a47edde1
Unicode 5.0, use U+FFFD as replacement char
...
svn: r8838
2008-03-01 14:17:50 +00:00
Matthew Flatt
3e77d0b60f
bring numerics (real, rational, etc) in line with R6RS
...
svn: r8832
2008-02-29 19:53:51 +00:00
Robby Findler
6266fe8b11
added regular-polygon and changed language to scheme/base
...
svn: r8823
2008-02-28 17:47:19 +00:00
Matthew Flatt
8311c8f9e4
Eli's repaired and specialized sort, fix in 'for/fold' binding, generalized integers-bytes functions, and some r6rs work
...
svn: r8798
2008-02-25 14:42:32 +00:00
Eli Barzilay
bb34f747b6
make all files terminate with a newline
...
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
2e418f3f46
fixed sort to be stable, improved a little, properly test stability
...
svn: r8783
2008-02-24 16:04:17 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
John Clements
0cf8c56a7e
...
...
svn: r8772
2008-02-23 00:48:14 +00:00
Greg Cooper
3e204e0641
take the MzTake out of mztake
...
svn: r8755
2008-02-21 16:45:21 +00:00
Robby Findler
f0efed2a3e
PR 9200
...
svn: r8746
2008-02-20 22:39:07 +00:00
Matthew Flatt
ba63bd6f95
3.99.0.13: generalize require and provide to work with arbitrary phases
...
svn: r8742
2008-02-20 14:17:37 +00:00
Robby Findler
1acf42513e
added a test case for a bug that turned out to be in mzscheme, but just to make sure it don't come back ...
...
svn: r8648
2008-02-13 18:26:29 +00:00
Matthew Flatt
0dc359a956
fix a scribble bug; add r6rs reader
...
svn: r8635
2008-02-12 21:50:35 +00:00
Eli Barzilay
699c40643d
* Changed setup-plt to compile collections if they have an "info.ss"
...
file. (That is, it does not require the file to have a `name'
entry.)
* The name shown when setup works is the directory name, followed by
the `name' field from the info file when specified.
* This means that many `name's are no longer needed, so I'm removing
them. To see if you need a `name' entry, consider that the name
will be shown like this:
... foo (<your name here>)
This means that if the name is the same as the directory name, then
there is no point in having it. I also removed cases where the name
differed only in its capitalization for collections where the case
is obvious.
* Also, for subcollections, the name should clarify the name of the
subcollection in context. For example "Acknowledgments" explains
what scribbling/acks is, but there's no need to add the context name
as in "Scribblings: Acknowledgments".
* There may also be a point in keeping names for other uses. One such
example was in games, where the name field was used in the PLT Games
application. (This was changed to default on the directory name, so
it is no longer needed in most games.) Another example is in planet
packages.
svn: r8629
2008-02-12 10:33:01 +00:00
Matthew Flatt
6f057bd68c
fix syntax-local-expand/capture-lifts
...
svn: r8614
2008-02-10 15:52:46 +00:00
Matthew Flatt
1959c56743
doc and test repairs
...
svn: r8597
2008-02-09 13:01:39 +00:00
Eli Barzilay
8a17372db3
Make regexp-split and relatives work with empty matches like other
...
regexp packages (eg, Dorai's pregexp and Emacs).
svn: r8556
2008-02-06 19:19:44 +00:00
Eli Barzilay
3c72e71e24
switched info.ss files to #lang
...
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
d1c61e5ef1
plt-r5rs exe and r5rs doc
...
svn: r8501
2008-02-02 04:14:04 +00:00
John Clements
a1be19c040
closer to working with v4
...
svn: r8500
2008-02-02 00:37:42 +00:00
Matthew Flatt
10ce5150d4
reference clarifications on immutable literals; JIT tweak
...
svn: r8491
2008-01-31 23:15:10 +00:00
Matthew Flatt
989a163f3e
fix match tests for immutable literals
...
svn: r8471
2008-01-30 00:43:15 +00:00
Matthew Flatt
4c23a44fd5
fix module->namespace problem, add link to bug report page, fix tests
...
svn: r8470
2008-01-30 00:21:24 +00:00
Matthew Flatt
97834ebcc2
fix timeout in portlib test suite
...
svn: r8395
2008-01-23 22:25:21 +00:00
Matthew Flatt
b2dbe63ed1
small doc fixes, plus change to syntax pattern matching to allow null as a dotted match after ellipses
...
svn: r8384
2008-01-23 01:35:26 +00:00
Robby Findler
2be06881d0
fixed a bug in check syntax
...
svn: r8359
2008-01-18 02:44:45 +00:00
Matthew Flatt
8b16cee613
start mzc scribbling
...
svn: r8334
2008-01-15 13:09:40 +00:00
John Clements
b7fe6be3bf
optimistic merge
...
svn: r8331
2008-01-15 06:36:30 +00:00
John Clements
2d79a5d789
stepper mangling
...
svn: r8330
2008-01-15 06:27:43 +00:00
John Clements
62b063bb9b
uses mpairs now
...
svn: r8328
2008-01-14 23:40:29 +00:00
Matthew Flatt
f3cb86dc1a
sandbox Scribble evaluations; fix rational exact->inexact loss of precision
...
svn: r8238
2008-01-06 16:54:34 +00:00
Robby Findler
cda0888ab9
renamed string/len to string-len/c
...
svn: r8237
2008-01-06 15:53:50 +00:00
Matthew Flatt
77e126f085
fix size calculation of ? repeat
...
svn: r8208
2008-01-04 17:05:10 +00:00
Matthew Flatt
3acd1a7d62
fix JIT x86 FP output
...
svn: r8201
2008-01-04 13:33:58 +00:00
Matthew Flatt
7fc41024c0
3.99.0.9: binding links in docs use nominal import sources
...
svn: r8196
2008-01-03 19:07:02 +00:00
Robby Findler
3cf6ed4673
mostly finished the contract library changes
...
svn: r8195
2008-01-03 18:10:43 +00:00
Matthew Flatt
6e6e5945f9
fix test that used lang/htdp-intermediate
...
svn: r8180
2008-01-02 03:50:47 +00:00
Robby Findler
e7b5653dd6
finished case->
...
svn: r8178
2008-01-02 01:24:55 +00:00
Matthew Flatt
7508f2a9c7
fix tests of 'random'
...
svn: r8175
2008-01-01 14:19:39 +00:00
Robby Findler
90de53d2b2
finished ->d
...
svn: r8166
2007-12-30 23:36:58 +00:00
Matthew Flatt
1d8b21f53b
disallow empty application; rename regexp-match/fail-without-reading to regexp-try-match
...
svn: r8152
2007-12-29 13:51:32 +00:00
Matthew Flatt
6ccffdffdb
JIT inlines some floating-point ops
...
svn: r8144
2007-12-28 22:11:41 +00:00
Matthew Flatt
53bf8bae8e
3.99.0.7: add prop:equal+hash
...
svn: r8137
2007-12-27 16:19:35 +00:00
Matthew Flatt
c0872f69ea
equal? and hashing work on cyclic values
...
svn: r8132
2007-12-27 11:07:14 +00:00
Matthew Flatt
9f4f7670d1
fix exn-handler test
...
svn: r8125
2007-12-26 12:02:13 +00:00
Robby Findler
342eb86c10
finished the new ->*
...
svn: r8086
2007-12-20 20:35:58 +00:00
Matthew Flatt
d794bde875
liberalize un{quote,syntax}-spliciing to allow a non-list at the end of an enclosing list
...
svn: r8083
2007-12-20 14:00:15 +00:00
Matthew Flatt
c4960b7418
turn shared.ss test suite back on, tweak docs
...
svn: r8076
2007-12-19 22:25:12 +00:00
Matthew Flatt
f70ea2d03a
shared
...
svn: r8069
2007-12-19 21:32:07 +00:00
Matthew Flatt
19a6edc664
finish fixing sandboxed test suites
...
svn: r8062
2007-12-19 14:46:30 +00:00
Matthew Flatt
36c5684876
put mzlib test suites into separate sandboxes
...
svn: r8058
2007-12-19 04:12:02 +00:00
Matthew Flatt
e3b4751adb
catch up test suite for recent changes
...
svn: r8055
2007-12-18 22:07:30 +00:00
Robby Findler
49f198dad7
fixed naming bugs and added a test suite to ensure that I preserve backwards compatibility with the old version of mzlib's contract system
...
svn: r8050
2007-12-18 20:49:33 +00:00
Robby Findler
a3f3dcb64d
added keywords to ->*
...
svn: r8049
2007-12-18 20:19:11 +00:00
Robby Findler
0e43e1da8c
added keywords to -> contract
...
svn: r8041
2007-12-17 23:48:30 +00:00
Robby Findler
116241eee5
converted the contract test suite to use scheme/base and fixed bugs along the way
...
svn: r8032
2007-12-16 22:45:52 +00:00
Robby Findler
9a0498b44d
moved class, contracts, serialize, and traits into scheme/ and changed the class and contract interface so that contracts no longer depend on the class system (instead its the other way around)
...
svn: r8017
2007-12-15 18:46:55 +00:00
Matthew Flatt
622cd0554d
revised mzlib/sandbox in scheme/sandbox
...
svn: r7965
2007-12-12 13:47:02 +00:00
Eli Barzilay
d2f12f294c
fix expected error message on redefinitions
...
svn: r7954
2007-12-11 11:57:35 +00:00
Eli Barzilay
41133f5341
fix else binding after its destroyed
...
svn: r7953
2007-12-11 11:54:58 +00:00
Eli Barzilay
ddc2ade271
avoid requiring mzscheme
...
svn: r7951
2007-12-11 11:28:50 +00:00
Eli Barzilay
29318f1be2
fixed with-output-to-file
...
svn: r7948
2007-12-11 04:27:56 +00:00
Matthew Flatt
9b96716432
improve arity error messages when keywords are involved
...
svn: r7887
2007-12-02 15:45:51 +00:00
Matthew Flatt
58684c1b0b
doc corrections in quick and guide
...
svn: r7880
2007-12-01 01:47:32 +00:00
Robby Findler
a295a42c15
improved contract library so that structs without mutators work and it now passes the test suite
...
svn: r7879
2007-11-30 22:50:01 +00:00
Matthew Flatt
51fe0a2256
fix test
...
svn: r7861
2007-11-29 19:16:38 +00:00
Matthew Flatt
9a3f044337
fix uni-norm.ss test suite
...
svn: r7852
2007-11-28 16:21:26 +00:00
Robby Findler
47a4b69e5d
some progress on the contract test suite
...
svn: r7850
2007-11-28 04:38:23 +00:00
Matthew Flatt
8138758ea5
fix some tests
...
svn: r7847
2007-11-27 17:58:59 +00:00
Matthew Flatt
2c6a894474
fix mismatch between identifier and datums in module paths; revive HtDP language tests; fix quick's cache
...
svn: r7833
2007-11-26 00:38:58 +00:00
Matthew Flatt
5f312dcbde
doc fixes
...
svn: r7832
2007-11-25 19:48:41 +00:00
Matthew Flatt
3abf3eb098
repair mz test suite
...
svn: r7760
2007-11-18 04:34:49 +00:00
Matthew Flatt
416cffff77
fix (magnitude +inf.0+inf.0i)
...
svn: r7759
2007-11-18 03:59:10 +00:00
Matthew Flatt
391892a848
3.99.0.3: improved namespace API
...
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
3ca803a6de
initial Scribble search support
...
svn: r7738
2007-11-15 17:35:02 +00:00
Matthew Flatt
6056159ad7
class and mzc -k fixes
...
svn: r7724
2007-11-14 16:24:48 +00:00
Matthew Flatt
b8d9e4f406
mzc -e fixes
...
svn: r7714
2007-11-14 01:25:01 +00:00
Matthew Flatt
39cedb62ed
v3.99.0.2
...
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
359196ae82
improved contract libraries handling of #%app for provide/contract'd variables
...
svn: r7590
2007-10-29 21:07:43 +00:00
Robby Findler
e843842c70
probable fix to PR 8986
...
svn: r7529
2007-10-19 16:55:38 +00:00
Robby Findler
992eff0c63
added a test
...
svn: r7477
2007-10-10 20:42:42 +00:00
Robby Findler
677c9a195d
added test for PR 8962
...
svn: r7463
2007-10-09 13:09:48 +00:00
Robby Findler
c8aa5fdd82
fixed PR 8972
...
svn: r7451
2007-10-08 13:53:30 +00:00
Eli Barzilay
6c13e101bf
fix bad input to raise an error as usual, added tests
...
svn: r7445
2007-10-07 18:12:11 +00:00
Robby Findler
0dacc38c53
added failing test case pointed out by Matthew
...
svn: r7400
2007-09-22 15:49:37 +00:00
Matthew Flatt
b9a0d860c0
experiment with alpha setting in dc<%>, plus some slideshow experiments and other minor changes
...
svn: r7399
2007-09-22 13:48:22 +00:00
John Clements
6d5f3fb3b6
...
...
svn: r7368
2007-09-17 17:22:24 +00:00
Eli Barzilay
cae0931777
allow raw result from md5
...
svn: r7366
2007-09-17 16:54:54 +00:00
Robby Findler
bd93217061
refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
...
svn: r7357
2007-09-17 02:27:05 +00:00
Robby Findler
bd7d167466
improved error message
...
svn: r7356
2007-09-16 23:21:24 +00:00
Matthew Flatt
20890b1cf3
fix date test for machines with 64-bit dates
...
svn: r7355
2007-09-16 14:41:39 +00:00
Matthew Flatt
001404dec0
371.3
...
svn: r7350
2007-09-15 22:27:14 +00:00
Robby Findler
b7c441833e
tried to improve size of generated code for structs
...
svn: r7348
2007-09-15 19:57:28 +00:00
Eli Barzilay
eb72a0dd93
do not trust require spec from user code
...
svn: r7343
2007-09-15 07:09:06 +00:00
Robby Findler
33311ab211
few minor improvements to the code generated by the contract library
...
svn: r7339
2007-09-14 21:27:53 +00:00
John Clements
c77bf466a5
tests for minor bug fixes in date.ss
...
svn: r7310
2007-09-11 05:03:59 +00:00
Matthew Flatt
1ce720cffd
add simple optimization of procedure? applied to an id whose value is known to be a procedure
...
svn: r7308
2007-09-10 21:13:57 +00:00
John Clements
ff21641af2
changed run-nightly-tests -> automatic-tests
...
svn: r7287
2007-09-06 16:23:37 +00:00
John Clements
a3e9c55bb9
...
...
svn: r7277
2007-09-05 00:34:40 +00:00
John Clements
ffe26decff
hopefully resolved a whole bunch of conflicts...
...
svn: r7275
2007-09-05 00:22:07 +00:00
Matthew Flatt
50e42bcfeb
test procedure-reduce-arity
...
svn: r7270
2007-09-03 17:08:01 +00:00
Matthew Flatt
e4cbc4e6a9
371.2
...
svn: r7263
2007-09-02 17:39:32 +00:00
Eli Barzilay
392f99b717
new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
...
svn: r7123
2007-08-19 23:27:14 +00:00
Eli Barzilay
7d09bb70b8
typo(?)
...
svn: r7114
2007-08-18 05:40:27 +00:00
Matthew Flatt
c7c3d60b16
checkpoint new GUI toolbox docs
...
svn: r7109
2007-08-17 16:19:31 +00:00
Robby Findler
a07950b2ed
fixed a bug in drs -- it no longer calls random with the users random seed
...
svn: r7108
2007-08-17 03:03:43 +00:00
Kathy Gray
8a3a887857
Committing modifications to test cases;
...
committing small modification to grammar spec;
Committing change to docpos to add new profj language manual
svn: r7081
2007-08-11 11:42:21 +00:00
Noel Welsh
99c1ee330c
Add SRFIs 35 and 64 to the documentation, and add them to the test script (which only checks they load)
...
svn: r7078
2007-08-10 10:13:35 +00:00
Scott Owens
d4f72cbeae
Case sensitivity
...
svn: r7063
2007-08-08 22:11:54 +00:00
Scott Owens
b892227a26
Fix a test case that one of Matthew's changes to the lexer made obsolete.
...
svn: r7062
2007-08-08 22:11:42 +00:00
Eli Barzilay
0e2a1a465a
changed default current-alist-separator-mode to amp, added semi-or-amp mode
...
svn: r7057
2007-08-08 15:30:03 +00:00
Noel Welsh
39d78f3fbf
Wrap a parameter/c contract around current-proxy-servers, so it may be used in calls to parameterize. Add test for same.
...
svn: r7030
2007-08-06 13:58:22 +00:00
Robby Findler
d444390dde
changed test suite to match latest stuff
...
svn: r7016
2007-08-03 13:26:48 +00:00
John Clements
3f58e02472
...
...
svn: r7001
2007-08-02 15:17:27 +00:00
Robby Findler
67dd80eb78
changes noticed by Matthew
...
svn: r6980
2007-07-29 18:56:32 +00:00
Robby Findler
23d245c09f
fixed PR 8830
...
svn: r6979
2007-07-29 03:39:44 +00:00
Robby Findler
0b61b9b313
fixed PR 8828
...
svn: r6970
2007-07-26 01:24:44 +00:00
Matthew Flatt
6ab2806fe0
add one more monochrome-bitmap test
...
svn: r6964
2007-07-25 18:38:33 +00:00
Eli Barzilay
418df561e7
PR8809 (value-less keys in the query parts) -- see message in the PR log
...
svn: r6931
2007-07-18 03:42:23 +00:00
Carl Eastlund
33b4228a4e
Updated ellipsis error message in htdp languages.
...
Updated test cases for ellipsis error message.
Fixed problem with htdp advanced tests introduced with previous ellipsis updates.
Fixed htdp tests for updated undefined variable error message.
svn: r6887
2007-07-10 21:23:33 +00:00
Robby Findler
867ae7b56d
added local-like category to square bracketing magic
...
svn: r6886
2007-07-10 16:13:09 +00:00
Matthew Flatt
a1e2d59690
370.6
...
svn: r6849
2007-07-08 00:24:03 +00:00
Matthew Flatt
9764065c6a
370.5
...
svn: r6832
2007-07-07 08:31:19 +00:00
Robby Findler
2dfd35e5c7
added parameter/c
...
svn: r6770
2007-06-29 16:44:18 +00:00
Matthew Flatt
b883f4ef76
fix problem with recursive reads on hash tables, sfix syntax-quoted hash tables in marhsaled compiled code, and add a bit more new documentation
...
svn: r6759
2007-06-28 22:59:06 +00:00
Carl Eastlund
5b67fcbb86
Added binding for .., ..., ...., ....., and ...... in htdp languages.
...
Uses of these dots expand to an expression generating a runtime error
stating "expected a finished expression, but found a placeholder".
Students may write and run unfinished templates (as usual), but will get an
error message that is more specific and hopefully more useful than unbound variable.
Added tests for this functionality.
svn: r6743
2007-06-26 15:41:01 +00:00
Matthew Flatt
d518f24039
370.4
...
svn: r6710
2007-06-20 21:11:38 +00:00
Robby Findler
ce0b5fec2f
added a test case for the bug Shu-yu just fixed
...
svn: r6675
2007-06-16 17:29:19 +00:00
Matthew Flatt
441c509549
fix to 64-bit problems and let-values optimization (PRs 8748 and 8744)
...
svn: r6668
2007-06-15 22:54:56 +00:00
Robby Findler
ea5b3493f3
fixed define-contract-struct so that it defines (via define-syntax) the struct name, following the define-struct covention
...
svn: r6664
2007-06-14 21:14:14 +00:00
Matthew Flatt
2385d8bd93
fix trait bug found by Ryan
...
svn: r6653
2007-06-13 22:47:17 +00:00
Robby Findler
3857b95a7b
fixed PR 8737
...
svn: r6596
2007-06-12 15:23:54 +00:00
Matthew Flatt
7d7cae8bf2
get rid of for-values, change document format for mini-grammars
...
svn: r6549
2007-06-09 01:13:52 +00:00
Matthew Flatt
63ce7b93fb
370.3
...
svn: r6545
2007-06-08 08:03:06 +00:00
Matthew Flatt
d2f0b1756c
schemeblock improvements and reference-manual work
...
svn: r6468
2007-06-04 06:34:16 +00:00
Matthew Flatt
e9385a910e
370.2
...
svn: r6369
2007-05-29 03:26:32 +00:00
Robby Findler
6a7b44f92e
fixed PR 8703
...
svn: r6361
2007-05-28 18:25:39 +00:00
Jay McCarthy
7a8e486de8
Updating problem report
...
svn: r6272
2007-05-24 17:09:02 +00:00
Matthew Flatt
3c25a6ad93
make scribble reader section fit narrower column
...
svn: r6265
2007-05-24 10:36:03 +00:00
Robby Findler
3d4f153275
fixed default value of parameter
...
svn: r6234
2007-05-19 23:05:09 +00:00
Matthew Flatt
44fab79324
SRFI test updates from Chongkai
...
svn: r6216
2007-05-12 23:22:40 +00:00
Noel Welsh
afa7382c9c
This file tests that all SRFIs load in Mz/DrScheme as required for the SRFI verifications test.
...
svn: r6186
2007-05-10 08:21:55 +00:00
Robby Findler
3c5f2c7395
fixed up minor bugs in program and lots of little problems in the test suites
...
svn: r6173
2007-05-08 01:02:40 +00:00
Robby Findler
82ec65680d
fixed up some of the old tests
...
svn: r6165
2007-05-07 01:30:32 +00:00
Matthew Flatt
ffff979bd7
fix equal-hashing of characters, and also correct potential 3m allocations problem (at least on 64-bit machines, for now) in MzScheme/MrEd start-up
...
svn: r6156
2007-05-05 23:43:25 +00:00
Robby Findler
e41ff4705e
improved error checking for provide/contract struct clauses
...
svn: r6155
2007-05-05 17:50:19 +00:00
Robby Findler
41d4b5d28e
changed teachpacks to be language specific
...
svn: r6145
2007-05-04 20:45:15 +00:00
Eli Barzilay
e374d7a051
more memory!
...
svn: r6141
2007-05-04 09:43:58 +00:00
Robby Findler
fa2b488b75
fixed a bug in the star image constructing function
...
svn: r6130
2007-05-03 19:13:19 +00:00
Robby Findler
ff700eae1b
added test case to catch broken shrink
...
svn: r6121
2007-05-03 01:35:27 +00:00
Matthew Flatt
448cba2fb5
fix HtDP require so that it correctly binds fo lib and planet paths
...
svn: r6120
2007-05-02 22:40:48 +00:00
Eli Barzilay
e4b7d760d5
more memory for limited memory test
...
svn: r6119
2007-05-02 09:31:39 +00:00
Matthew Flatt
60cb899ba1
require in the HtDP languages
...
svn: r6116
2007-05-02 01:18:57 +00:00
Matthew Flatt
0cba826ae5
369.12
...
svn: r6115
2007-05-01 23:46:51 +00:00
Robby Findler
bce27f35f0
the image library now accepts inexacts and non-integral numbers in many places
...
svn: r6112
2007-05-01 15:30:35 +00:00
Robby Findler
047346c1c8
fixed bugs in test suite
...
svn: r6104
2007-04-30 19:39:15 +00:00
Robby Findler
5ac3fdd86e
added unsafe list contract combinators
...
svn: r6096
2007-04-29 21:46:27 +00:00
Matthew Flatt
e9bf34f193
369.11
...
svn: r6085
2007-04-29 02:08:24 +00:00
Robby Findler
ddf5ddaf68
fixed a bug in structs
...
svn: r6059
2007-04-27 22:02:14 +00:00
Matthew Flatt
52201f68d1
fix path.ss test quite to work on non-Windows platforms
...
svn: r6046
2007-04-25 23:12:38 +00:00
Matthew Flatt
7c0ea5b79c
fix Windows stat() problem, and also fix some path-manipulation bugs related to //?/ paths
...
svn: r6037
2007-04-25 05:56:50 +00:00
Matthew Flatt
6afb79188d
test and fix hook for create-embedding-executable
...
svn: r6036
2007-04-25 00:43:51 +00:00
Matthew Flatt
2009419979
fix read-error reporting for characters that live in no port
...
svn: r6031
2007-04-24 01:50:09 +00:00
Robby Findler
34568d5702
cleaned up test suite and added a test case
...
svn: r6026
2007-04-23 20:27:46 +00:00
Matthew Flatt
fdf878cda5
fix char-set-complement (PR 8624, patch from Jens Axel)
...
svn: r6016
2007-04-22 21:17:25 +00:00
Matthew Flatt
a45251d272
369.10
...
svn: r6003
2007-04-20 01:16:15 +00:00
Matthew Flatt
1adc10788d
save some unfinished testing ideas
...
svn: r5984
2007-04-19 08:58:55 +00:00
Matthew Flatt
a420febb1b
undo accidental commit of commenting-out a test case
...
svn: r5979
2007-04-19 03:14:51 +00:00
Matthew Flatt
681d88ed52
improve DrScheme's auto-indenting and S-exp movement for Scheme code with quote, #;, etc.
...
svn: r5977
2007-04-19 02:44:31 +00:00
Chongkai Zhu
0a32a8d304
update
...
svn: r5974
2007-04-18 02:38:58 +00:00
Robby Findler
db8cba03aa
added unconstrained-domain->
...
svn: r5967
2007-04-17 18:54:19 +00:00
Eli Barzilay
e885e79295
URL parsing is closer to the RFC now
...
svn: r5965
2007-04-17 11:56:20 +00:00
Matthew Flatt
cc8e660737
test for module require-cycle checking
...
svn: r5964
2007-04-17 11:39:23 +00:00
Eli Barzilay
ee91e07ee3
tests for using colons in scheme-less paths
...
svn: r5959
2007-04-17 06:11:39 +00:00
Chongkai Zhu
bbfecd12e1
SRFI 35 added
...
svn: r5924
2007-04-11 14:06:01 +00:00
Eli Barzilay
30a27b1d8b
better sandbox input
...
svn: r5905
2007-04-09 11:11:22 +00:00
Eli Barzilay
c6f377aca8
better output specs and implementation
...
svn: r5903
2007-04-09 09:15:25 +00:00
Matthew Flatt
34d00a000c
369.9
...
svn: r5902
2007-04-09 08:34:00 +00:00
Matthew Flatt
e4d0589442
fix problem with dw and implicit prompt
...
svn: r5899
2007-04-09 05:22:18 +00:00
Matthew Flatt
b41a2abf23
test for: fix bug field counts for struct-type-info result
...
svn: r5895
2007-04-09 02:26:38 +00:00
Eli Barzilay
4cf75fbb65
some filename tweaks for windows
...
svn: r5891
2007-04-08 21:39:12 +00:00
Matthew Flatt
392bd607d4
make binding on #%module-begin form more consistent when the module body contains a single expression (patch from samth)
...
svn: r5889
2007-04-08 11:48:28 +00:00
Matthew Flatt
555e5376a3
fix a bug related to the implicit prompt in a thread taking over the role of an explicit prompt
...
svn: r5887
2007-04-08 08:57:58 +00:00
Matthew Flatt
9bf5fe3872
test for field value names in class
...
svn: r5881
2007-04-07 23:36:45 +00:00
Eli Barzilay
874c0331c3
do what you can when not in 3m
...
svn: r5878
2007-04-07 02:23:36 +00:00
Eli Barzilay
6aa7b2c87d
typo
...
svn: r5877
2007-04-07 01:44:37 +00:00
Eli Barzilay
4ea6d7e1ed
added sandbox to the mzlib tests
...
svn: r5876
2007-04-06 10:18:40 +00:00
Eli Barzilay
433c9a57ec
new sandbox in mzlib
...
svn: r5873
2007-04-06 08:56:23 +00:00
Robby Findler
8f51c76a7b
added pretty-format
...
svn: r5862
2007-04-03 22:27:21 +00:00
Chongkai Zhu
a31d421ede
fix bug report 8588
...
svn: r5845
2007-03-30 04:40:03 +00:00
Matthew Flatt
ca7fada621
fix delim-cont bugs related to capturing a composable continuation in a post thunk
...
svn: r5830
2007-03-26 08:46:49 +00:00
Matthew Flatt
da6e732918
fix stx tests for revised let-syntaxes expansion
...
svn: r5827
2007-03-25 21:54:29 +00:00
Robby Findler
4439c04f47
added test case corresponding to PR 8564
...
svn: r5823
2007-03-25 18:48:14 +00:00
Robby Findler
690947bdda
added test cases for pretty-print-remap-stylable
...
svn: r5809
2007-03-21 23:07:14 +00:00
Matthew Flatt
cbe41955f1
test for optimizer lifting with unused rest arg
...
svn: r5793
2007-03-19 22:04:48 +00:00
Matthew Flatt
2848977def
more/repaired tests more mred editors
...
svn: r5789
2007-03-19 03:49:53 +00:00
Matthew Flatt
3803b4e045
fix pretty-printer to pay attention to print-box (PR 8567)
...
svn: r5787
2007-03-19 03:29:06 +00:00
Robby Findler
058bb56915
added guilty-party
...
svn: r5783
2007-03-17 21:39:59 +00:00
Eli Barzilay
1e0f84d937
fix memory functions argument parsing, fix foreign tests
...
svn: r5711
2007-03-01 06:38:30 +00:00
Matthew Flatt
3b10623bad
tests for mz and port.ss repairs
...
svn: r5641
2007-02-20 01:42:25 +00:00
Eli Barzilay
5387c758f2
added test for u8vector items
...
svn: r5628
2007-02-17 15:23:49 +00:00
Matthew Flatt
d191d764be
extra notes on examples
...
svn: r5617
2007-02-15 08:18:18 +00:00
Matthew Flatt
7a48da5797
ideas for honu tests
...
svn: r5613
2007-02-15 07:48:43 +00:00