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