Commit Graph

274 Commits

Author SHA1 Message Date
Robby Findler
dbc90df6ae added define-opt/c
svn: r5515

original commit: 81ce545d63800bbec251485763681dad85c916fc
2007-01-31 01:12:19 +00:00
Matthew Flatt
842e4b257e 369.7
svn: r5506

original commit: bfc693c06348d44012ba59b289d14ae1ca84ea2b
2007-01-30 06:34:05 +00:00
Robby Findler
e08ead165a merged the opt/c changes back into the trunk (finally!)
svn: r5481

original commit: 4ad8fdadeaf56e8e373a947f6d2d0f451d959233
2007-01-28 02:54:16 +00:00
Matthew Flatt
1abcc01622 fix threadlib section report
svn: r5418

original commit: 6781640440dedfbc789284bf1390afd85aa57b5b
2007-01-19 21:42:53 +00:00
Robby Findler
69eb1bb885 changed the strategy of the preferences library in the framework to use a different key at the file.ss level (and thus save the prefs on each call to preferences:set)
svn: r5058

original commit: d47247507f6dd55cf3d628a83570096137cda406
2006-12-07 22:32:31 +00:00
Eli Barzilay
5401208e73 merged units branch
svn: r5033

original commit: 3459c3a58f1cdc52fbc916acf306b29408468912
2006-12-05 20:31:14 +00:00
Robby Findler
b44b6de3f1 added in attribute tests (but commented out for now)
svn: r4818

original commit: 302fa08dd8ef3fa8e7a68878344cdf4b944652a0
2006-11-10 03:28:09 +00:00
Robby Findler
f71da72753 add tail call behavior test for -> contract
svn: r4779

original commit: 18288da49361fcf70780ae1330c39f4992516e10
2006-11-05 02:06:19 +00:00
Eli Barzilay
eaa4136d7d allow #:body without #:keys
svn: r4431

original commit: 821135354b2fec54ed11054e917c150abb7a472c
2006-09-25 13:00:28 +00:00
Robby Findler
937f635aea fixed bug where the name has disappeared from a contract violation (and added test cases, of course)
svn: r4235

original commit: 4a6cee9cf89142f5fc921becf9d491a69f488e61
2006-09-04 02:07:01 +00:00
Robby Findler
9370b845ab added a test
svn: r4215

original commit: a39db76867c6862568fb1b7e4f7c3f749778a335
2006-09-01 15:51:13 +00:00
Robby Findler
0a34d6f098 fixed buggy test suite
svn: r3998

original commit: 97e613ac54ec203d55862b6b784c01f084c1421b
2006-08-09 14:07:02 +00:00
Eli Barzilay
58359b6418 re-do changes that were undone in r3843
svn: r3859

original commit: bb5b45b181a85a28ee865cffcf2ef42c54a18408
2006-07-28 08:15:46 +00:00
Eli Barzilay
e357d38c7c Undo the following revisions:
r3839
  r3825
  r3823
  r3821
  r3820 (undo only the changes in drscheme/private/debug.ss)
  r3792
  r3791

They will be re-done after v352 is released

svn: r3843

original commit: 5099b078c6bc07d83e0b11d486e342905a87ede4
2006-07-27 17:12:18 +00:00
Robby Findler
7dff7ec133 fixed PR 8190
svn: r3839

original commit: 967cd9ab14f632d68caf8b8e590862941c4a9fc4
2006-07-27 14:10:55 +00:00
Robby Findler
f1ab9853dc added more or/c tests
svn: r3793

original commit: c937d4aa28d04478576efb0c1ad31660db5201ce
2006-07-24 14:51:52 +00:00
Robby Findler
f2b0445595 fixed PR 8166
svn: r3701

original commit: 73ce86e94bf9b7f572475bfb2180789bdfca6d48
2006-07-13 19:29:04 +00:00
Robby Findler
2136b48e14 added first order checking and some stop-gap checking for sub-structs
svn: r3675

original commit: 0d07f36ab77960c7bb5199c9b05f14740f6a10b8
2006-07-10 20:57:33 +00:00
Matthew Flatt
9dde9cc2cf fix case in restart test
svn: r3671

original commit: aad04a274b01248ce87c4414776bfe986e057e16
2006-07-10 13:33:47 +00:00
Robby Findler
dde4df1443 improved running time of contracts and moved some provide/contracts to the bottom of files (not necc yet, but may become necc)
svn: r3665

original commit: 49667529da7ed68dce159b2af3b62cd56231ebce
2006-07-09 21:07:04 +00:00
Eli Barzilay
2d45ce40ea Better output: using quiet.ss will show nothing except for section
headers and errors (if any).  Also, using quiet.ss will exit with an
error code if there were errors.

svn: r3655

original commit: bbf54efde9725215d56bb0d6eafaf23970f6820f
2006-07-07 23:46:35 +00:00
Robby Findler
a721c44f89 extended or/c to support multiple higher-order contracts
svn: r3606

original commit: 79ae279b79dba87c058d4ac6a610c1d50fa32932
2006-07-06 02:08:12 +00:00
Robby Findler
2474f2657f generalized and/c
svn: r3422

original commit: 6cd4b0009b782b23317a5ff7b19def7da05e5f96
2006-06-20 20:49:18 +00:00
Robby Findler
4bf775bd34 removed tests that I cannot fix
svn: r3207

original commit: 1159ef9df105ff5e6bbe316c3bb58e024389e1df
2006-06-03 21:56:55 +00:00
Eli Barzilay
00615732be Made it ok to use rest-like stuff with keywords when allowing other keywords
(either explicitly or implicitly).

svn: r2676

original commit: 88341ddf0eb5bcf194e6a4bf44228c318ca91a7e
2006-04-15 21:15:08 +00:00
Robby Findler
f3d91012e7 fixed PR 7999 and added one-of/c to the contract library
svn: r2650

original commit: 1c97b4c21f978136b5c52c838f9a1cd4ac17bd1f
2006-04-10 03:54:55 +00:00
Robby Findler
66b6983a12 added a test or two
svn: r2565

original commit: 0f122fbc0d15b118ebee3183087abd53e7a6915a
2006-04-01 02:34:04 +00:00
Robby Findler
d4f886bc6c improved internal contract stuff
svn: r2547

original commit: 940fbc81a9225cfd23ec4200d68a5a92e5633778
2006-03-30 19:06:27 +00:00
Robby Findler
51beca64bb more tests
svn: r2504

original commit: 2a39639d9869707c1cf03c3c590ddd2ad8cb9d75
2006-03-25 04:31:48 +00:00
Robby Findler
e303804613 more tests
svn: r2501

original commit: dba28564ea9962e69b9e88a169456127378acfe6
2006-03-25 00:23:23 +00:00
Robby Findler
513f481f3c added some tests as I refactor the contract library
svn: r2497

original commit: 4aed9bd39398bc310ebb79560af6408589fd740a
2006-03-24 16:07:34 +00:00
Robby Findler
fc3586a331 defeats the inlining optimization by making procedure bodies big in order to do lazy contract checking
svn: r2486

original commit: 8617ca8fcdb1ede4c6ede7e63073cfc36fa5f447
2006-03-22 21:12:53 +00:00
Robby Findler
7199344a5c added another contract-greater test
svn: r2483

original commit: ab80f989438f4ef2a2b8a35079a2e97d12ed922d
2006-03-22 15:22:09 +00:00
Robby Findler
10f79f3099 finished lazy data structure contracts
svn: r2458

original commit: bb9b8eb90ede10a736b1998776af6983c69a015d
2006-03-19 00:03:48 +00:00
Robby Findler
988c2818bd added first stages of improvments to contract library to support lazy structure contracts. not yet complete, but contract system is in working order, so committing
svn: r2452

original commit: d8217b9d2778725eac62fe9d2d7cbe28e22b285f
2006-03-18 05:33:08 +00:00
Robby Findler
775e862c96 svn: r2393
original commit: 724908088857d828ce7ad6f4793af6392e0f5574
2006-03-08 17:23:45 +00:00
Robby Findler
6b9627e9f0 fixed PR 7927
svn: r2341

original commit: 873e71a9dd99e2850b717b69d40ed4c1c467c593
2006-03-02 02:48:40 +00:00
Eli Barzilay
c0a5c8c153 When both optionals and keywords are used, the first keyword marks the end
of the optionals.

svn: r2322

original commit: 70d2fa327d8218662292fb824edfc40a799b3976
2006-02-27 04:42:27 +00:00
Robby Findler
97a0a32a33 added tests for or/c ordering and and/c ordering and fixed name of the or/c contract (so it doesn't claim to be a union contract anymore)
svn: r2100

original commit: 106c19a461417784805f1378b2171360165c3c2a
2006-02-03 04:07:25 +00:00
Robby Findler
dac5388cd0 added this, bound in ->r and ->pp contracts, when used in object-contract
svn: r1841

original commit: 12c7c0b6c65158b8685d7fd87f16e504b6de3de0
2006-01-16 18:42:11 +00:00
Eli Barzilay
c470acaaf1 other-keys now includes duplicates of specified keys
(if duplicates are allowed)

svn: r1149

original commit: 8a425d27a6f62a9abb52bcf0a378ddb7a12ab78b
2005-10-25 00:58:37 +00:00
Eli Barzilay
1dcd4966c7 * getarg' -> keyword-get'
* `#:rest-keys' -> `#:other-keys+body'

svn: r1147

original commit: 9ef65a4a80d55968875c6f4460733134ed644845
2005-10-24 22:15:20 +00:00
Eli Barzilay
82f7ecb1ee #:allow-anything can be used with any rest-like, simply treats a last
imbalanced keyword as the beginning of the body

svn: r1141

original commit: 1cf3559d0ca11f1a21313ed9738a5e726d374710
2005-10-24 11:24:41 +00:00
Eli Barzilay
a9efd06e7c Don't allow dot-notation with other meta-keywords
svn: r1139

original commit: 4130a38299aaabf36c94d722778092bdd18b52b6
2005-10-24 10:43:32 +00:00
Eli Barzilay
d50e0fc727 Added #:allow-anything so it's possible to get extra speed
svn: r1138

original commit: acfb67ec9bdab28786d9231bd46eb0957c1eb371
2005-10-24 10:18:31 +00:00
Eli Barzilay
55a73f404d * Added #:allow- and #:forbid-duplicate-keys and a check for this
* getarg accepts only thunks for a default
* Test new stuff, and better macros for testing

svn: r1137

original commit: 241595659742c38a5bab24b88a77187a52dc6ea2
2005-10-24 05:30:38 +00:00
Eli Barzilay
5e476b5ee1 make sure that internal definitions work
svn: r1122

original commit: 574dd38e9608ff20f8fab8c6a5622f35776aa08b
2005-10-21 23:05:50 +00:00
Eli Barzilay
bcdf5806d0 Properly check a body specification
svn: r1110

original commit: b5835267ddd6a37a18f1f9f7cbc69b2602faad01
2005-10-19 22:09:11 +00:00
Eli Barzilay
6b657c26ed Added a few more tests.
svn: r1105

original commit: 9eb9d4e04089e13d4b6a6d963e7e72f9b56bb301
2005-10-19 14:54:13 +00:00
Eli Barzilay
059d777474 All features complete, remove utilities that don't seem necessary,
make getarg and getarg* stop at non-keyword

svn: r1103

original commit: 3494461c98ca509ce46ac7240cc2b714a8275fa4
2005-10-19 07:47:56 +00:00
Eli Barzilay
11091df3cf A lot more functionality (and tests), almost complete now.
svn: r1102

original commit: 1db64d4e850088fe32c2b5bb82b23956928bf837
2005-10-19 07:05:22 +00:00
Eli Barzilay
6829d2122b Extensive argument processing, more meta-keywords for modes,
efficient optionals, test everything so far

svn: r1099

original commit: 78c19494b7b7031c174852391f38f2e4a8c8f9f0
2005-10-17 23:42:24 +00:00
Eli Barzilay
6fafdab49e * Renamed kw-proc.ss to kw..ss
* Make only #:optopnal and #:key work, no alternative names

svn: r1069

original commit: bab76d0479e63f144f5d51831ea89e6e309f87d3
2005-10-13 16:39:51 +00:00
Eli Barzilay
6d7fd6a7ba just an initial test set for keyword args
svn: r1061

original commit: 6f4241fe7f0ecee0558cc72be554e260fffb609e
2005-10-13 06:27:16 +00:00
Robby Findler
3423c90b58 fixed pr 7628, ->d now checks the domain contract before partially applying the range function
svn: r1042

original commit: 71a50407852a98c4b641cb3b9805531ea0a431a3
2005-10-11 12:57:57 +00:00
Robby Findler
23798adf48 ,
svn: r532

original commit: 461193f073190b8633bf908b887effb40ff50b55
2005-08-02 04:12:48 +00:00
Matthew Flatt
3998bc5cfc test for PR 7518
svn: r528

original commit: 0a833c44c49141f3dcd214cd6ed86cb80f9f6fde
2005-08-01 22:27:57 +00:00
Robby Findler
fc226432e3 fixed bug in provide/contract
svn: r411

original commit: b01290c3efae6b79deea2946201e5596775aa814
2005-07-21 00:22:36 +00:00
Robby Findler
f667490416 fixed bugs dealing with super structs in provide/contract and fixed (newly exposed) bugs in mrflow
svn: r391

original commit: 4b0e802fe44083d923e34734d773b545246e1ee4
2005-07-18 13:06:30 +00:00
Robby Findler
e342ca6d62 made struct library work better with copy-struct; still not perfect
svn: r381

original commit: 20aa3cef02788bec8c804c13ed4388e30654cd80
2005-07-16 04:41:29 +00:00
Matthew Flatt
15748f8dcd fixed verify- ops to take old-format exploded signatures
svn: r277

original commit: 3d8c40afe49bc1d1dc2eefa65c26ca8525160f92
2005-06-30 16:40:13 +00:00
Matthew Flatt
f5ea87030c 299.107
svn: r259

original commit: 0d4bc2cd9d93b05203f70cccdaf832babee3a4cd
2005-06-28 17:01:03 +00:00
Robby Findler
1d2fedc05a added recursive contracts and fixed a bug or two
svn: r81

original commit: 06b511f32381a507c542fd4fc8355ad901d4cfdd
2005-06-09 18:56:19 +00:00
Robby Findler
0bf5499d00 .
original commit: 40c3d85334a84236cb316d4358ffb5264dac9e32
2005-02-28 13:58:53 +00:00
Robby Findler
bd2008d8f0 .
original commit: 36fdb4c8950dc4146b4522ac6855fd4936bcfb8b
2005-02-28 05:18:18 +00:00
Robby Findler
f8e649c970 .
original commit: 7efabe94bc90a9b1f47c139fe8021736a0f9d4db
2005-02-28 05:15:49 +00:00
Matthew Flatt
c7a0079a1a .
original commit: 13e7d0e72325c6baf53af7a38c65dd39104bea9c
2005-02-12 03:58:36 +00:00
Robby Findler
59f6cf4f44 .
original commit: 5c23d2c871bdbbaee31e202da9ac85dced6e66fc
2005-01-28 15:26:17 +00:00
Robby Findler
7da0f13976 .
original commit: 9e8133b7a9c0bc886d4e9d44bf2dc7671402ac01
2005-01-21 23:24:29 +00:00
Robby Findler
b33493ea8e .
original commit: 28e8d7d337f009adcb92d142d6f92140379d506d
2005-01-20 05:05:05 +00:00
Matthew Flatt
8594a98f2a .
original commit: b1375c1d95f38d7f5df74b385e742f90954579fc
2005-01-14 22:00:49 +00:00
Matthew Flatt
1ec734b5d8 .
original commit: dd0ba73e796b2740efe4501753feece1bc8eb079
2005-01-14 21:06:43 +00:00
Robby Findler
c752669237 .
original commit: 67aec70f5bbfc29b6469303c5aac4ba9bcb87727
2004-12-22 21:22:22 +00:00
Matthew Flatt
2cbc8b98d0 .
original commit: 037b4b4df019e1b3e7a40c5bae722d1c34d1c552
2004-11-30 14:08:07 +00:00
Robby Findler
ac8b99bd09 .
original commit: 1bd92c441435a2c2ae5f0a37c7d5e6559e620360
2004-10-19 18:34:34 +00:00
Robby Findler
c6186a664c .
original commit: b4533287934ffc5dae30f65e002c014e004ed99e
2004-10-16 14:51:40 +00:00
Matthew Flatt
6e91c36bed .
original commit: a011f598e69bb031041a75ed509e8c9b585098a9
2004-10-13 21:03:29 +00:00
Robby Findler
7f8d2ed4e8 .
original commit: 83c36d8311a5021406c7c3817da7659765f64df9
2004-10-12 22:43:41 +00:00
Robby Findler
e9f49fe4a4 .
original commit: 79909a1a86679609176fca500c160c28fb65e5be
2004-08-21 05:50:40 +00:00
Robby Findler
af2420010d .
original commit: 9f5607cbe061edfbe2bcba2fec33303f6cbc25d4
2004-06-21 03:43:24 +00:00
Robby Findler
8bec15be98 .
original commit: 8b6b950c5fce0884e99e83f690592810a3121d28
2004-05-24 01:38:08 +00:00
Robby Findler
f5cacf16f6 .
original commit: 82b5df91b12374f412ea005db30640aee91064a7
2004-05-23 22:17:35 +00:00
Robby Findler
fc971fb502 .
original commit: e041f9011678922198c46afde29f05b06c1b27aa
2004-05-23 22:16:32 +00:00
Matthew Flatt
f278d5d7c4 .
original commit: f8fcb3dd5b50640fc9567ca5d9d228845ae687ae
2004-05-18 18:21:12 +00:00
Matthew Flatt
eb8680e0e5 .
original commit: ef5bb50667aeded71aa2b9c9978e5be88a23248d
2004-05-16 03:51:14 +00:00
Matthew Flatt
cf7206160f .
original commit: 0bd3f21d885bd04008db565949af48bbb3d525fb
2004-04-16 19:10:23 +00:00
Matthew Flatt
0badcf8400 .
original commit: 0e83a42addc6d0f33dc4f1e87cc22396d212d6dc
2004-04-14 14:24:37 +00:00
Robby Findler
4ddfb44560 .
original commit: 236b1691822cc6ca54745e440681661c28daeee1
2004-03-15 22:54:52 +00:00
Robby Findler
80bc20f71d .
original commit: 231e6deaf4a96359fad011d349810fad7f142da0
2004-03-12 21:37:53 +00:00
Matthew Flatt
b86c77fd55 .
original commit: dd4c0c2ada2b0fa837737d541f008a9e7700c571
2004-03-12 13:43:00 +00:00
Robby Findler
973ef41682 .
original commit: c80153aa7bac2f3d3fecbe3e66a2e4d2cbf3856c
2004-03-12 00:42:42 +00:00
Robby Findler
b0266fa590 .
original commit: 405cb4839a3bc22112b9f96d29b0f1be52327799
2004-03-12 00:05:36 +00:00
Matthew Flatt
44d74d96b3 avoid free variable "a"
original commit: 8f2daf6bc3e985391d234cc32c815a18dc10d5fc
2004-01-08 20:54:30 +00:00
Robby Findler
26c2d754fd ..
original commit: d29fe9a28af20bbccceec050bbd32ad9d8c09060
2004-01-05 06:46:00 +00:00
Matthew Flatt
c02f41a8d4 .
original commit: e51933fa60bad870baba2f215ffc1b60652574e6
2003-12-06 15:51:37 +00:00
Robby Findler
2eaf875b8d ..
original commit: c90ed312584fd4807ba037ff6ff8c8e9cd8c3c57
2003-12-04 18:26:57 +00:00
Robby Findler
a52d7de5ca ..
original commit: 08aa0bf1d8abb66a43585e55e85bccbad19391bc
2003-12-02 21:25:33 +00:00
Robby Findler
698bb4878f ..
original commit: cda3b0a7f7574edc129931378c77ea595bb315a7
2003-12-01 18:24:03 +00:00
Robby Findler
cc5ed0b5a5 ..
original commit: c1858e88db8f2e97c01fff29e6f6135996b190a7
2003-11-28 15:09:03 +00:00
Robby Findler
606b10d2a8 ..
original commit: ffd8ab5f9bbd9bac480ecd7b57e009d3f5f84339
2003-11-27 23:07:52 +00:00