Commit Graph

27 Commits

Author SHA1 Message Date
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +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
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
19c33a8e2a no need for string->immutable-string when creating exceptions
svn: r5372
2007-01-17 01:18:50 +00:00
Eli Barzilay
d1e22794f4 specialize code for body and no keywords (and no optionals)
svn: r4440
2006-09-26 15:28:05 +00:00
Eli Barzilay
821135354b allow #:body without #:keys
svn: r4431
2006-09-25 13:00:28 +00:00
Eli Barzilay
2c22b8910a allow #:flag specs
svn: r2992
2006-05-19 20:07:22 +00:00
Eli Barzilay
88341ddf0e Made it ok to use rest-like stuff with keywords when allowing other keywords
(either explicitly or implicitly).

svn: r2676
2006-04-15 21:15:08 +00:00
Eli Barzilay
5552630953 make no meta-keywords case faster
svn: r2675
2006-04-15 17:33:54 +00:00
Eli Barzilay
70d2fa327d When both optionals and keywords are used, the first keyword marks the end
of the optionals.

svn: r2322
2006-02-27 04:42:27 +00:00
Eli Barzilay
67e5151775 fix expansion problems
svn: r2312
2006-02-24 13:14:04 +00:00
Eli Barzilay
f41698de15 optimize keyword-get
svn: r2305
2006-02-23 18:20:58 +00:00
Eli Barzilay
8a425d27a6 other-keys now includes duplicates of specified keys
(if duplicates are allowed)

svn: r1149
2005-10-25 00:58:37 +00:00
Eli Barzilay
9ef65a4a80 * getarg' -> keyword-get'
* `#:rest-keys' -> `#:other-keys+body'

svn: r1147
2005-10-24 22:15:20 +00:00
Eli Barzilay
1cf3559d0c #:allow-anything can be used with any rest-like, simply treats a last
imbalanced keyword as the beginning of the body

svn: r1141
2005-10-24 11:24:41 +00:00
Eli Barzilay
0b1034dcf8 Made #:forbid-anything be the counterpart of #:allow-anything
svn: r1140
2005-10-24 11:05:34 +00:00
Eli Barzilay
4130a38299 Don't allow dot-notation with other meta-keywords
svn: r1139
2005-10-24 10:43:32 +00:00
Eli Barzilay
acfb67ec9b Added #:allow-anything so it's possible to get extra speed
svn: r1138
2005-10-24 10:18:31 +00:00
Eli Barzilay
2415956597 * 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
2005-10-24 05:30:38 +00:00
Eli Barzilay
0de18bc3ab use (let () ...) instead of begin, so internal definitions work
svn: r1121
2005-10-21 23:02:47 +00:00
Eli Barzilay
fd7a56fb36 no need for promise defaults
svn: r1113
2005-10-20 21:56:47 +00:00
Eli Barzilay
b5835267dd Properly check a body specification
svn: r1110
2005-10-19 22:09:11 +00:00
Eli Barzilay
04d36492b5 Better error message for non-keywords
svn: r1106
2005-10-19 15:14:28 +00:00
Eli Barzilay
3494461c98 All features complete, remove utilities that don't seem necessary,
make getarg and getarg* stop at non-keyword

svn: r1103
2005-10-19 07:47:56 +00:00
Eli Barzilay
1db64d4e85 A lot more functionality (and tests), almost complete now.
svn: r1102
2005-10-19 07:05:22 +00:00
Eli Barzilay
78c19494b7 Extensive argument processing, more meta-keywords for modes,
efficient optionals, test everything so far

svn: r1099
2005-10-17 23:42:24 +00:00
Eli Barzilay
bab76d0479 * Renamed kw-proc.ss to kw..ss
* Make only #:optopnal and #:key work, no alternative names

svn: r1069
2005-10-13 16:39:51 +00:00