Commit Graph

1155 Commits

Author SHA1 Message Date
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
Eli Barzilay
14bfe8e0cb * Arguments can now be passed directly as lists
* Keywords are compared for the literal symbol instead of comparing ids
* Added tests for the above
* Some re-formatting

svn: r2356

original commit: 776e15490e262a4aa450920dd8fda3e39c2ec5e4
2006-03-03 14:48:22 +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
Matthew Flatt
8a2cb61fd7 make serialization work right when a module is dynamic-required using a (non-string) path
svn: r2321

original commit: d9e3e1e2679fe7dac1972d417be44b70a177cb40
2006-02-26 17:45:37 +00:00
Eli Barzilay
2c827b5e6d fix expansion problems
svn: r2312

original commit: 67e5151775113459e2365084fae664c95e5aa8eb
2006-02-24 13:14:04 +00:00
Matthew Flatt
f9490a0cfb when writing a .zo fails, delete the bad file
svn: r2310

original commit: 6ddea0a0f599d81157eabd7843ef6ff05cfe08f2
2006-02-23 20:53:41 +00:00
Eli Barzilay
05cca6ba24 optimize keyword-get
svn: r2305

original commit: f41698de15ce2f86cb64e75434d2b931abba1d98
2006-02-23 18:20:58 +00:00
Matthew Flatt
b414a65b0e Jepri's changes so that md5 works on ports
svn: r2194

original commit: a59d668f6dab454494f1daaa0d2b86a5f6f2dee9
2006-02-11 05:35:35 +00:00
Matthew Flatt
b3cfb53900 give the compiler hints with define-const
svn: r2191

original commit: c5a6d3d04652890abb829a189a82ba7906a7d497
2006-02-10 22:03:13 +00:00
Matthew Flatt
a3ea5d0f98 report unexpected EOF in inflate/gunzip
svn: r2190

original commit: 144b8d65933db914ba0b58515e071e5757fdf5ee
2006-02-10 21:42:31 +00:00
Matthew Flatt
7f7f4868ed authenticated SMTP
svn: r2136

original commit: 0c7aff3441985920fe951eb766f140bddf62090e
2006-02-06 14:03:28 +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
be1efb383f updated many unions to or/c's
svn: r2061

original commit: fddb1fa862b6e0e8e71f011dcdda5309e64635e1
2006-01-31 19:17:33 +00:00
Robby Findler
7ec66999ed improved expansion of -> contract combinator to generate less stuff and got a very slight performance improvement. also split up contract implementation into multiple files
svn: r1956

original commit: edc4b96987ebfa1016801536f200fe3d7056ee4a
2006-01-25 04:44:49 +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
Robby Findler
91da1bd212 fixed up file: urls and fixed a bug in the parsing of urls with empty string host names
svn: r1779

original commit: aa5d3f737811208ba53915272b6b91e0a98ce2f1
2006-01-07 03:25:26 +00:00
Robby Findler
07736c9ff7 fixed url code in various ways
svn: r1752

original commit: c6992e0307932fad24a9287b5e8525a27b02abd3
2006-01-03 14:02:25 +00:00
Matthew Flatt
1398263012 the flag table is never really empty, since -h and -- are always implcitly there
svn: r1730

original commit: d19819f3055a5b876ca8fa8fdd3cd3fb498e8e1e
2005-12-31 14:01:52 +00:00
Matthew Flatt
36320cca64 300.3
svn: r1698

original commit: c38876b84876d329151df7eb6941cce8d38eab27
2005-12-27 17:49:13 +00:00
Matthew Flatt
d102f86461 more v300.2
svn: r1683

original commit: b43abfcc6d6df4bb2822a5c8a6d7700263d7f8b6
2005-12-24 22:47:07 +00:00
Eli Barzilay
3fb7a925d4 * Use immutable strings in errors
* Use line buffering on the line to the server

svn: r1666

original commit: 0b7c5eb79c4e5811848f931e034e219e816a357f
2005-12-22 05:55:10 +00:00
Matthew Flatt
7c7eded36d export inherit-field
svn: r1496

original commit: 81c837ad260682835783d9a1ed0438f5b2fa5000
2005-12-02 19:30:57 +00:00
Matthew Flatt
4d999e7962 fixed processing of file: URLs to not assume Unix conventions and to distinguish relative and absolute paths
svn: r1463

original commit: b41c9de014530a5914a814b4f885ad0a2ba965fb
2005-12-01 20:07:04 +00:00
Matthew Flatt
6ef89da68b make pretty-print graph numbering consistent
svn: r1417

original commit: 0095637dd7c9fd0a34d54c689261c87c8e219f01
2005-11-27 13:19:31 +00:00
Matthew Flatt
8fb4d8327e strip #! from start of programs
svn: r1376

original commit: c0476d4addfa1cd58cd85cad32b89bb9fd93eae4
2005-11-22 22:34:35 +00:00
Matthew Flatt
dd3c8a4365 pretty-print needs to combine custom-write? with not-struct-type?
svn: r1370

original commit: 9fae17c411bdcb5221933576b0a0f8251937b09e
2005-11-22 15:08:23 +00:00
Matthew Flatt
eb4453a16b shortcut to letrec-syntaxes+values
svn: r1263

original commit: 6bff44b4266fa689abdaf2af33a99cf7795fb606
2005-11-09 20:48:42 +00:00
Matthew Flatt
1332477464 fixed mapped id application context
svn: r1198

original commit: e46ea7dbb2ee59dbd629b002fc4ffd187051383a
2005-11-01 20:13:36 +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
4984ead796 Made #:forbid-anything be the counterpart of #:allow-anything
svn: r1140

original commit: 0b1034dcf87411b77c9247b0ccd733e815773f0f
2005-10-24 11:05:34 +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
Matthew Flatt
1709b4c0f4 added object-method-arity-includes
svn: r1123

original commit: f3a67ccb9a97aa0b770abde9ec614cd8d7716641
2005-10-22 01:56:45 +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
f413504664 use (let () ...) instead of begin, so internal definitions work
svn: r1121

original commit: 0de18bc3ab44a510c8400563a2edd94ec0cae58d
2005-10-21 23:02:47 +00:00
Eli Barzilay
0349b6ae99 no need for promise defaults
svn: r1113

original commit: fd7a56fb36892da69c262cee3603c243cc4a8011
2005-10-20 21:56:47 +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
f1d98beb31 Better error message for non-keywords
svn: r1106

original commit: 04d36492b5ac2157e1691d38629df2fcd1a69e43
2005-10-19 15:14:28 +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
Eli Barzilay
3619f43cb4 first version of swindle-like keywords
svn: r1060

original commit: 3bded648f7ad699bd932c954b3bf246140192fda
2005-10-13 02:43:44 +00:00