Eli Barzilay
b123c4b394
typo
...
svn: r4448
2006-09-27 19:12:26 +00:00
Eli Barzilay
6c2343f20c
added _bytes/eof
...
svn: r4447
2006-09-27 19:11:45 +00:00
Matthew Flatt
4b5146ca5b
fix pregexp-match-positions
...
svn: r4441
2006-09-26 20:56:51 +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
Robby Findler
90b688b143
fixed PR 8293
...
svn: r4420
2006-09-23 02:54:25 +00:00
Sam Tobin-Hochstadt
605c510b9e
Merged changes from branch:
...
http://svn.plt-scheme.org/plt/branches/samth/match2
revisions 4220:4417
Included Matthew's version of regexp-error change, not Sam's.
Major changes:
- simplification pass
- define match-letrec in terms of match-define
- show steps of match-expander in macro stepper
- substantial refactoring of gen-match
- removed unused times-used-neg field of test struct
- added match:internal-error
- general refactoring
- bug fix in parsing of quasi-patterns
svn: r4418
2006-09-22 18:35:22 +00:00
Matthew Flatt
bbcd99e537
allow regexps for pregexp pattern in match
...
svn: r4410
2006-09-22 01:59:40 +00:00
Matthew Flatt
e404e9252a
dropped pregexp argument checking; it was too much duplication of contracts, and I'd rather leave it as a motivating example for better error reporting instead of a pile of code to maintain
...
svn: r4405
2006-09-21 03:25:12 +00:00
Matthew Flatt
e9a73b701e
explicitly check pregexp arguments, insteda of letting regexp errors through
...
svn: r4404
2006-09-21 02:39:00 +00:00
Sam Tobin-Hochstadt
0a5ff7fddd
Fix bug in definition of match-define.
2006-09-20 11:30:20 -04:00
Sam Tobin-Hochstadt
00383c4c5d
convert-pat:
...
- reformatting
- use constant-data?
render-test-list-impl:
- reformatting
- refactoring
2006-09-20 11:02:15 -04:00
Sam Tobin-Hochstadt
6bf106f785
Fix infinite loop in pregexp-split.
...
svn: r4398
2006-09-20 14:12:48 +00:00
Matthew Flatt
357849bf0a
minor px support
...
svn: r4390
2006-09-19 21:39:37 +00:00
Sam Tobin-Hochstadt
a6f8fbe350
Fix bug in conversion of dotted patterns.
2006-09-19 14:31:17 -04:00
Sam Tobin-Hochstadt
086db937b8
pregexp can now return a regexp object.
2006-09-19 13:01:04 -04:00
Matthew Flatt
d3b96f936e
352.6
...
svn: r4379
2006-09-19 00:39:51 +00:00
Sam Tobin-Hochstadt
b42e317e0c
Changed convert-pat to use syntax/loc.
2006-09-15 12:12:10 -04:00
Sam Tobin-Hochstadt
ee63e4e80d
Factor observe-step into separate file.
...
Use observe step in match.ss match-expanders.
2006-09-11 15:43:50 -04:00
Sam Tobin-Hochstadt
7646ee635d
Show correctly marked results in stepper.
2006-09-11 00:57:35 -04:00
Sam Tobin-Hochstadt
34aa12ddac
Added expansion of match-expanders to macro-debugger.
2006-09-10 21:24:35 -04:00
Eli Barzilay
412a8b8cb3
error message typo
...
svn: r4295
2006-09-10 16:36:43 +00:00
Eli Barzilay
a0c4d3b454
* code reformatting
...
* use kw.ss instead of opt-lambda
* moved a debugging comment into an `if'
svn: r4273
2006-09-07 19:55:41 +00:00
Sam Tobin-Hochstadt
506c154ea8
Add new simplification pass before render-test-list.
...
Simplification expands match expanders and removes syntactic sugar.
Also, syntax errors are checked in the simplification phase, so better
error messages can be given.
2006-09-07 12:02:41 -04:00
Sam Tobin-Hochstadt
6034e5e0d5
fix bug with list-rest in quasi-patterns
2006-09-06 14:26:19 -04:00
Sam Tobin-Hochstadt
b1bc4714d5
update-counts: Fix a really dumb bug in logical-equal? that
...
caused huge time blowup.
svn: r4259
2006-09-06 16:50:50 +00:00
Sam Tobin-Hochstadt
3a77f5a914
Work toward adding simplication pass before render-test-list.
2006-09-05 18:56:04 -04:00
Robby Findler
4a6cee9cf8
fixed bug where the name has disappeared from a contract violation (and added test cases, of course)
...
svn: r4235
2006-09-04 02:07:01 +00:00
Sam Tobin-Hochstadt
32e8e72175
gen-match:
...
- use begin-with-definitions for code clarity
- rename some variables
- better contracts (comments)
test-structure:
- delete unused field
update-counts:
- general reformatting
- delete dead code
- refactoring to eliminate duplication
2006-09-01 18:42:58 -04:00
Sam Tobin-Hochstadt
c702686b01
gen-match.ss: kill dead code, remove pointless argument
...
match-internal-func.ss:
- use match-define to implement match-letrec
- clean up match-letrec using with-syntax
2006-09-01 17:27:47 -04:00
Sam Tobin-Hochstadt
9e17a6d993
reformatting
2006-09-01 16:52:45 -04:00
Robby Findler
dd4c63ab07
upped the number of calls to 'values' in order to continue to defeat mz's optimizations
...
svn: r4216
2006-09-01 15:51:52 +00:00
Robby Findler
d8a72d982f
added contract-opt, renamed contract-helpers to be a .ss, not .scm
...
svn: r4207
2006-08-31 22:30:13 +00:00
Sam Tobin-Hochstadt
d1fe9f9645
Rewrite emit and assem to use better style.
...
Remove pointless optional arguments in getbindings.
Don't create unneccessary match-lambda*.
Implement keyword arguments to define-match-expander.
Lots of refactoring of gen-match for general clarity.
Use combinators instead of writing our own loops.
Simplify struct info accessor.
Add timing printer.
Refactor coupling/binding for general clarity.
Rewrite logical-equal not to use the expansion of match.
General replacement of () with [].
svn: r4192
2006-08-30 19:41:47 +00:00
Robby Findler
d9ac9270a8
provide/contract now grabs the source locations from the identifiers that have contracts, not some other part of itself
...
svn: r4187
2006-08-29 13:14:33 +00:00
Matthew Flatt
6864440c7e
class-level mixin syntax reports reported as from mixin
...
svn: r4159
2006-08-27 23:10:29 +00:00
Matthew Flatt
c0ce55afb4
make generic smarterabout final methods
...
svn: r4105
2006-08-22 01:26:58 +00:00
Robby Findler
eefb6a8c87
minor tweak to contract library
...
svn: r4092
2006-08-18 21:53:54 +00:00
Matthew Flatt
35d14b301f
add inherit/super and inherit/inner (to eventually replace rename-inner and rename-super)
...
svn: r4087
2006-08-18 00:47:32 +00:00
Matthew Flatt
63c03f40f9
fix #hasheq printing
...
svn: r4066
2006-08-15 09:22:36 +00:00
Eli Barzilay
b20f81b781
opt-lambda -> define/kw
...
svn: r4032
2006-08-12 03:22:56 +00:00
Matthew Flatt
21939a881d
don't block for bytes that might not be needed
...
svn: r4031
2006-08-12 03:02:46 +00:00
Matthew Flatt
786bfdab30
use opt-lambda instead of rest arg: cleaner, and correctly reports arity mismatches
...
svn: r4030
2006-08-12 02:48:26 +00:00
Matthew Flatt
b206c1bc84
avoid expensive char-by-char peek with lookahead, and instead peek a block into a buffer
...
svn: r4029
2006-08-12 02:47:46 +00:00
Robby Findler
2edea47556
fixed PR 8215
...
svn: r3994
2006-08-09 03:28:59 +00:00
Robby Findler
a582a09d66
fixed PR 8210
...
svn: r3979
2006-08-07 13:31:32 +00:00
Matthew Flatt
6dc42e3a8d
changed handling of primitive by-position-only arguments to behave like init-rest
...
svn: r3954
2006-08-04 13:33:31 +00:00
Sam Tobin-Hochstadt
0cf62c196a
Changed #:macro to #:expression in define-match-expander.
...
svn: r3945
2006-08-03 20:18:22 +00:00
Sam Tobin-Hochstadt
931d214b69
Removed obsolete mzlib/private/plt-match directory.
...
Moved match implementation to new mzlib/private/match directory.
Implement keyword arguments to define-match-expander.
svn: r3943
2006-08-03 20:01:39 +00:00
Matthew Flatt
2b7a722b33
fix scoped init names (i.e., when combined with define-local-member-name)
...
svn: r3937
2006-08-02 20:14:32 +00:00
Eli Barzilay
bb5b45b181
re-do changes that were undone in r3843
...
svn: r3859
2006-07-28 08:15:46 +00:00
Eli Barzilay
5099b078c6
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
2006-07-27 17:12:18 +00:00
Robby Findler
967cd9ab14
fixed PR 8190
...
svn: r3839
2006-07-27 14:10:55 +00:00
Robby Findler
ea3c2b9743
sped up or/c (probably) and fixed ordering in printout of or/c contract names
...
svn: r3825
2006-07-26 17:07:47 +00:00
Sam Tobin-Hochstadt
aac8dfdbe5
match: Don't ever avoid let-binding the matched expression (since
...
identifiers can have non-trivial effects). Bug pointed out by RMC.
svn: r3813
2006-07-25 19:10:14 +00:00
Eli Barzilay
3190033d7a
fix bug in case-insensitive globs
...
svn: r3761
2006-07-19 00:48:34 +00:00
Eli Barzilay
5471a32913
use case-lambda instead of dot argument
...
svn: r3703
2006-07-14 14:49:59 +00:00
Robby Findler
73ce86e94b
fixed PR 8166
...
svn: r3701
2006-07-13 19:29:04 +00:00
Robby Findler
6575c9c58d
fixed performance problem with (provide/contract (struct ...))
...
svn: r3698
2006-07-13 14:49:12 +00:00
Eli Barzilay
38d5a59a3c
make it possible for the procedure in fold-files to signal skipping a directory
...
svn: r3695
2006-07-13 09:56:06 +00:00
Eli Barzilay
897fc0e26c
clearer definition for fold-files, pass
...
svn: r3692
2006-07-12 21:48:32 +00:00
Sam Tobin-Hochstadt
1c46dde5dc
Factor out check for constant data into match-helper.ss
...
Use in parse-quasi and render-test-list-impl.
Add support for keywords.
svn: r3690
2006-07-12 19:08:55 +00:00
Sam Tobin-Hochstadt
b42a11d12d
match.ss: abstract some boilerplate, and use syntax/loc when doing conversion to plt-match
...
match-helper.ss: add helper macro
render-test-list-impl.ss: fix hygiene bug in checking for non-linear patters
(thanks to Ryan Culpepper)
gen-match.ss: Fix error reporting location in match errors.
(thanks to Ryan Culpepper)
svn: r3689
2006-07-12 18:59:07 +00:00
Matthew Flatt
495e879820
don't consider item line-splittable if the size hook returns a non-#f value
...
svn: r3688
2006-07-12 13:48:06 +00:00
Robby Findler
0d07f36ab7
added first order checking and some stop-gap checking for sub-structs
...
svn: r3675
2006-07-10 20:57:33 +00:00
Robby Findler
49667529da
improved running time of contracts and moved some provide/contracts to the bottom of files (not necc yet, but may become necc)
...
svn: r3665
2006-07-09 21:07:04 +00:00
Robby Findler
79ae279b79
extended or/c to support multiple higher-order contracts
...
svn: r3606
2006-07-06 02:08:12 +00:00
Matthew Flatt
603d02ac17
fix default case sensitivity of 'restarted' MzScheme
...
svn: r3584
2006-07-03 17:27:24 +00:00
Matthew Flatt
ebe051694d
350.3
...
svn: r3571
2006-07-01 18:53:09 +00:00
Matthew Flatt
0dca64f8f4
missing conversion to internal version of get-ffi-lib
...
svn: r3539
2006-06-29 14:10:41 +00:00
Eli Barzilay
ed80f4a945
redoing proper changes
...
svn: r3533
2006-06-28 21:01:38 +00:00
Matthew Flatt
788d291b13
unwind apparently accidental commit
...
svn: r3520
2006-06-28 11:40:24 +00:00
Eli Barzilay
8d9e8b852a
get-ffi-lib does not expect an ffi-lib input
...
svn: r3515
2006-06-28 01:14:14 +00:00
Matthew Flatt
5eb65a0c32
less Windows special cases now that ffi-lib #f searches MzScheme DLL
...
svn: r3513
2006-06-28 01:01:02 +00:00
Robby Findler
6cd4b0009b
generalized and/c
...
svn: r3422
2006-06-20 20:49:18 +00:00
Matthew Flatt
f272ae9d7e
define-member-name and member-name-key
...
svn: r3415
2006-06-19 13:04:54 +00:00
Eli Barzilay
89e43db944
better zip comment
...
svn: r3404
2006-06-18 20:12:54 +00:00
Eli Barzilay
02814709c8
* Improved some more code
...
* Added `findf'
svn: r3192
2006-06-02 20:47:15 +00:00
Eli Barzilay
124761f29a
simplified fold code
...
svn: r3190
2006-06-02 20:06:31 +00:00
Matthew Flatt
09d6dd95cf
new Create Executable in DrScheme
...
svn: r3178
2006-06-02 11:52:48 +00:00
Eli Barzilay
b5a5531207
added tar.ss, optional port argument to zip->output
...
svn: r3172
2006-06-01 17:34:11 +00:00
Eli Barzilay
e82c0f6bf8
resolve paths in pathlist-closure
...
svn: r3171
2006-06-01 14:10:55 +00:00
Eli Barzilay
436c36cc1e
added pathlist-closure to file.ss
...
svn: r3160
2006-05-31 20:55:21 +00:00
Eli Barzilay
74ebcb9631
typo
...
svn: r3154
2006-05-31 19:03:29 +00:00
Eli Barzilay
d16aca9679
forgot ^...$ wrappers
...
svn: r3152
2006-05-31 18:54:08 +00:00
Eli Barzilay
8607cacc08
rewrite glob->regexp to deal with char ranges properly
...
svn: r3151
2006-05-31 18:41:18 +00:00
Eli Barzilay
185da3d90d
removed spidey.ss
...
svn: r3132
2006-05-30 20:04:18 +00:00
Eli Barzilay
f8c0eb7c87
removed class-old.ss
...
svn: r3130
2006-05-30 19:03:48 +00:00
Eli Barzilay
13f4f1e091
typo
...
svn: r3128
2006-05-30 18:19:23 +00:00
Eli Barzilay
31f4f11a6a
forgot to provide glob->regexp
...
svn: r3127
2006-05-30 18:09:53 +00:00
Eli Barzilay
dc0e3b5700
added glob->regexp
...
svn: r3123
2006-05-30 17:38:21 +00:00
Matthew Flatt
8f589bb6eb
speed improvements
...
svn: r3108
2006-05-29 16:22:16 +00:00
Eli Barzilay
af13065c5f
added mzlib/zip.ss
...
svn: r3100
2006-05-29 00:01:48 +00:00
Matthew Flatt
9877a98a00
inner default expr shouldn't evaluate when a target is available
...
svn: r3094
2006-05-28 11:49:41 +00:00
Eli Barzilay
ba4185aea5
fix CRC value
...
svn: r3088
2006-05-27 18:38:40 +00:00
Eli Barzilay
7523be44de
removed bogus type lines, made find-files reverse its result so directories precede files which is usually desirable
...
svn: r3087
2006-05-27 15:26:24 +00:00
Eli Barzilay
f4386a4598
sort comments
...
svn: r3074
2006-05-26 13:19:23 +00:00
Matthew Flatt
4a0d8018b1
fixed typo
...
svn: r3071
2006-05-26 12:12:26 +00:00
Eli Barzilay
ebd2227be5
Phew!
...
svn: r3060
2006-05-25 16:48:02 +00:00
Eli Barzilay
4bc41222f1
yet another typo
...
svn: r3059
2006-05-25 16:44:14 +00:00
Eli Barzilay
c4e52e3919
dont use get-lib-search-dirs if the input path is absolute
...
svn: r3058
2006-05-25 16:14:17 +00:00
Eli Barzilay
2c9a54cd34
typos
...
svn: r3057
2006-05-25 15:57:53 +00:00
Eli Barzilay
2d0cbdba67
fix PR8069
...
svn: r3056
2006-05-25 15:56:44 +00:00
Eli Barzilay
2c22b8910a
allow #:flag specs
...
svn: r2992
2006-05-19 20:07:22 +00:00
Matthew Flatt
c727afef04
301.15: new install tree for Unix, moved docs, moved teachpacks, added config.ss
...
svn: r2962
2006-05-18 15:03:05 +00:00
Eli Barzilay
608b840791
comment about random numbers, and put them last
...
svn: r2949
2006-05-15 21:29:51 +00:00
Matthew Flatt
e54a49f4ce
bad ext path could confuse cm.ss
...
svn: r2926
2006-05-12 22:04:54 +00:00
Matthew Flatt
8ed6d36b33
no more PLTHOME anywhere; instead, there's a dir.ss library to find various directories
...
svn: r2924
2006-05-12 21:14:02 +00:00
Eli Barzilay
f3b51bcd26
minor tweak
...
svn: r2917
2006-05-12 05:45:01 +00:00
Eli Barzilay
283cb0dffd
some more touchups
...
svn: r2916
2006-05-12 04:42:52 +00:00
Eli Barzilay
fd96a129f3
Finished with C-ing the code, it's now 2.5 times faster than it was,
...
and spending only 7% of the GC time it used to spend.
svn: r2915
2006-05-12 00:03:40 +00:00
Eli Barzilay
1e760c0546
reuse the same words vector on every block, x1.5 speedup
...
svn: r2914
2006-05-11 22:42:17 +00:00
Eli Barzilay
71ba559f96
more cleanup before actual changes
...
svn: r2913
2006-05-11 21:41:01 +00:00
Eli Barzilay
6264ad30db
major cleanup
...
svn: r2910
2006-05-11 20:59:27 +00:00
Matthew Flatt
12f990e663
fixed define-match-expander to certify properly
...
svn: r2868
2006-05-06 15:42:44 +00:00
Robby Findler
5bcf026fce
added unicdoe lambda to pretty printer
...
svn: r2858
2006-05-03 11:07:17 +00:00
Matthew Flatt
9f513d240e
fix cert handling for init, init-field, and field
...
svn: r2823
2006-04-27 20:30:16 +00:00
Eli Barzilay
4edd6f5b4f
typo
...
svn: r2739
2006-04-23 00:53:23 +00:00
Matthew Flatt
4185aceefe
changed pregexp-replace[*] to accept a procedure as the last argument
...
svn: r2706
2006-04-18 17:21:59 +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
Robby Findler
0ad4118f6f
fixed image.ss to handle the case when positive and negative infinity are supplied to overlay/xy and also limited one-of/c's inputs
...
svn: r2659
2006-04-11 13:53:53 +00:00
Robby Findler
1c97b4c21f
fixed PR 7999 and added one-of/c to the contract library
...
svn: r2650
2006-04-10 03:54:55 +00:00
Eli Barzilay
9b3965f900
typo in list->cblock (PR7990)
...
svn: r2611
2006-04-05 22:18:16 +00:00
Eli Barzilay
7f6a5b3c12
merge -> merge-sorted-lists
...
svn: r2577
2006-04-03 04:14:23 +00:00
Eli Barzilay
6e34508a02
merge -> merge-sorted-lists
...
svn: r2576
2006-04-02 16:09:55 +00:00
Eli Barzilay
16f01a1109
{quick,merge}sort -> sort
...
svn: r2569
2006-04-01 12:24:15 +00:00
Eli Barzilay
a8e8e08677
some spedup in merge!
...
svn: r2566
2006-04-01 08:23:21 +00:00
Matthew Flatt
2ca4121a4f
need to use ephemerons with weak table of ports
...
svn: r2548
2006-03-31 00:25:38 +00:00
Robby Findler
ea9d5bfe8b
improved internal contract stuff
...
svn: r2546
2006-03-30 19:05:54 +00:00
Eli Barzilay
6744633338
Moved (and improved) sort! etc from Swindle to mzlib/list.ss
...
* Expose sort!, merge! and merge, since they're also useful
* Made `mergesort' be an alias for `sort'.
* Removed it all from Swindle
* Removed `sort' from compat.ss
* Needed to adjust a few other files, no problems but
graphics/value-turtles provides its own version of `merge'
svn: r2542
2006-03-30 09:39:30 +00:00
Matthew Flatt
c5492262fc
'status waits for port-managing threads
...
svn: r2526
2006-03-28 14:15:52 +00:00
Robby Findler
cf86c57215
merged revision 2489:2523 from plt/branches/robby -- somehow contract-guts.ss came out messed up; I replaced it with the actual latest version from the branch and things seem okay
...
svn: r2524
2006-03-28 00:38:43 +00:00
Matthew Flatt
d7d9efb1ac
delay finalizer thread until needed
...
svn: r2494
2006-03-24 13:41:41 +00:00
Robby Findler
5e2f5d86de
re arranged the file names in the contract library and exported a few more things from the main library to satisfy plai
...
svn: r2488
2006-03-23 17:22:26 +00:00
Robby Findler
8617ca8fcd
defeats the inlining optimization by making procedure bodies big in order to do lazy contract checking
...
svn: r2486
2006-03-22 21:12:53 +00:00
Matthew Flatt
d2737c73a4
replace same-closure with procedure-closure-contents-eq?
...
svn: r2476
2006-03-21 15:28:59 +00:00
Matthew Flatt
6a4dccff65
tweak for 301.11 inlining
...
svn: r2468
2006-03-20 20:33:43 +00:00
Robby Findler
bb9b8eb90e
finished lazy data structure contracts
...
svn: r2458
2006-03-19 00:03:48 +00:00
Robby Findler
d8217b9d27
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
2006-03-18 05:33:08 +00:00
Matthew Flatt
17670dd89d
moddep contracts and testing
...
svn: r2407
2006-03-10 03:35:23 +00:00
Robby Findler
7249080888
svn: r2393
2006-03-08 17:23:45 +00:00
Eli Barzilay
776e15490e
* 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
2006-03-03 14:48:22 +00:00
Robby Findler
873e71a9dd
fixed PR 7927
...
svn: r2341
2006-03-02 02:48:40 +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
Matthew Flatt
d9e3e1e267
make serialization work right when a module is dynamic-required using a (non-string) path
...
svn: r2321
2006-02-26 17:45:37 +00:00
Robby Findler
3172ffd027
added contract-violation->string parameter
...
svn: r2314
2006-02-24 15:37:58 +00:00
Eli Barzilay
67e5151775
fix expansion problems
...
svn: r2312
2006-02-24 13:14:04 +00:00
Matthew Flatt
6ddea0a0f5
when writing a .zo fails, delete the bad file
...
svn: r2310
2006-02-23 20:53:41 +00:00
Eli Barzilay
f41698de15
optimize keyword-get
...
svn: r2305
2006-02-23 18:20:58 +00:00
Matthew Flatt
a59d668f6d
Jepri's changes so that md5 works on ports
...
svn: r2194
2006-02-11 05:35:35 +00:00
Matthew Flatt
c5a6d3d046
give the compiler hints with define-const
...
svn: r2191
2006-02-10 22:03:13 +00:00
Matthew Flatt
144b8d6593
report unexpected EOF in inflate/gunzip
...
svn: r2190
2006-02-10 21:42:31 +00:00
Robby Findler
106c19a461
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
2006-02-03 04:07:25 +00:00
Robby Findler
fddb1fa862
updated many unions to or/c's
...
svn: r2061
2006-01-31 19:17:33 +00:00
Robby Findler
c43a6f2821
added or/c as alias for union
...
svn: r2059
2006-01-31 16:29:12 +00:00
Robby Findler
f3a8a1895d
minor improvement to provide/contract expansion (making it smaller)
...
svn: r2033
2006-01-30 01:30:47 +00:00
Robby Findler
edc4b96987
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
2006-01-25 04:44:49 +00:00
Robby Findler
12c7c0b6c6
added this, bound in ->r and ->pp contracts, when used in object-contract
...
svn: r1841
2006-01-16 18:42:11 +00:00
Matthew Flatt
d19819f305
the flag table is never really empty, since -h and -- are always implcitly there
...
svn: r1730
2005-12-31 14:01:52 +00:00
Matthew Flatt
c38876b848
300.3
...
svn: r1698
2005-12-27 17:49:13 +00:00
Matthew Flatt
b43abfcc6d
more v300.2
...
svn: r1683
2005-12-24 22:47:07 +00:00
Matthew Flatt
196a6fdff3
transplant-output-port needs to return #f instead of 0 when failing to write bytes
...
svn: r1593
2005-12-12 16:55:36 +00:00
Matthew Flatt
81c837ad26
export inherit-field
...
svn: r1496
2005-12-02 19:30:57 +00:00
Matthew Flatt
0095637dd7
make pretty-print graph numbering consistent
...
svn: r1417
2005-11-27 13:19:31 +00:00
Matthew Flatt
78622b7bb3
moved code out of macro expansion and into functions
...
svn: r1409
2005-11-25 22:50:56 +00:00
Matthew Flatt
c0476d4add
strip #! from start of programs
...
svn: r1376
2005-11-22 22:34:35 +00:00
Matthew Flatt
9fae17c411
pretty-print needs to combine custom-write? with not-struct-type?
...
svn: r1370
2005-11-22 15:08:23 +00:00
Sam Tobin-Hochstadt
4d6d674d9f
Factor render-test-list module into 3 units.
...
- getbindings contains defs for next-outer, create-test-func, getbindings
- ddk-handlers containts all the ddk junk
- render-test-list-impl contains render-test-list and simple dependencies
- render-sigs contains the signatures for all 3
Add define/opt to render-helpers (maybe this should go in etc.ss).
General cleanups in ddk-handlers.
svn: r1296
2005-11-12 16:42:23 +00:00
Sam Tobin-Hochstadt
bb69014fc7
render-test-list:
...
- cleanups and removal of quasisyntax/loc
svn: r1281
2005-11-11 18:35:08 +00:00
Matthew Flatt
6bff44b426
shortcut to letrec-syntaxes+values
...
svn: r1263
2005-11-09 20:48:42 +00:00
Matthew Flatt
e46ea7dbb2
fixed mapped id application context
...
svn: r1198
2005-11-01 20:13:36 +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
Matthew Flatt
f3a67ccb9a
added object-method-arity-includes
...
svn: r1123
2005-10-22 01:56:45 +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
Eli Barzilay
3bded648f7
first version of swindle-like keywords
...
svn: r1060
2005-10-13 02:43:44 +00:00
Robby Findler
71a5040785
fixed pr 7628, ->d now checks the domain contract before partially applying the range function
...
svn: r1042
2005-10-11 12:57:57 +00:00
Matthew Flatt
57d39569fe
removed #kd, fixed :interface
...
svn: r944
2005-09-29 20:06:09 +00:00
Matthew Flatt
898f64df63
avoid leading colon for id
...
svn: r940
2005-09-29 15:51:20 +00:00
Matthew Flatt
4c5aff33a8
avoid leading colon for id
...
svn: r939
2005-09-29 15:50:33 +00:00
Matthew Flatt
63e051aee8
removed unused :ucall
...
svn: r938
2005-09-29 15:50:14 +00:00
Matthew Flatt
74a64f50da
avoid leading colon for id
...
svn: r937
2005-09-29 15:49:48 +00:00
Matthew Flatt
457d23c390
avoid leading colon for id
...
svn: r936
2005-09-29 15:49:27 +00:00
Eli Barzilay
6efbcbbba3
fix self-referential cstructs
...
svn: r924
2005-09-27 09:20:21 +00:00
Sam Tobin-Hochstadt
d96e47c4b7
plt-match.ss/match.ss:
...
- don't export match:test-no-order, which is only used in generated code
test-no-order.ss
- reformat code
- use ormap instead of let loop
render-test-list:
- add define/opt sugar
- remove a lot of pointless stx arguments
- remove a lot of [quasi]syntax/loc
gen-match:
- use internal define instead of let
- remove quasisyntax/loc
- reformat
- remove pointlessly optional argument
coupling-and-binding:
- reformat
- use memf instead of custom loops
svn: r908
2005-09-23 19:55:12 +00:00
Sam Tobin-Hochstadt
24b6ae4b32
Match:
...
- Simplify code for getter and setter handling.
- Fix cons patterns
- Reformat code to make it more readable
svn: r822
2005-09-09 22:28:47 +00:00
Sam Tobin-Hochstadt
6f8d1ef4f2
getter-setter:
...
- Fix bug in handling of structures with set! patterns
nested inside other patterns.
test-structure:
- add placeholder documentation for fields
- use #f instead of (make-inspector)
svn: r812
2005-09-09 15:58:34 +00:00
Matthew Flatt
a42ef53b84
clean up files on break
...
svn: r605
2005-08-16 21:12:46 +00:00
Matthew Flatt
4ad1f38141
299.201
...
svn: r572
2005-08-09 13:41:06 +00:00
Matthew Flatt
e08138d97c
added prop:print-convert-constructor-name
...
svn: r544
2005-08-04 03:49:35 +00:00
Robby Findler
442e9fad32
,
...
svn: r531
2005-08-02 04:12:41 +00:00
Matthew Flatt
64cca08d28
fixed unit/sig rename bug - PR 7518
...
svn: r527
2005-08-01 22:22:57 +00:00
Robby Findler
b01290c3ef
fixed bug in provide/contract
...
svn: r411
2005-07-21 00:22:36 +00:00
Robby Findler
4b0e802fe4
fixed bugs dealing with super structs in provide/contract and fixed (newly exposed) bugs in mrflow
...
svn: r391
2005-07-18 13:06:30 +00:00
Robby Findler
20aa3cef02
made struct library work better with copy-struct; still not perfect
...
svn: r381
2005-07-16 04:41:29 +00:00
Sam Tobin-Hochstadt
b752dcddef
Fix two bugs caused by clean ups, by adding requires of match-helper and provides of match:test-no-order.
...
Fix totally broken handling of structs with immutable fields, as reported in bug 7398.
svn: r354
2005-07-05 22:22:02 +00:00
Robby Findler
4070be1c1a
exported coerce-contract
...
svn: r353
2005-07-05 21:37:21 +00:00
Matthew Flatt
6f16af82f2
pretty-print bug for hash tables fixed
...
svn: r290
2005-07-01 15:35:52 +00:00
Matthew Flatt
c3147b6468
call security guard for truncate-file
...
svn: r281
2005-06-30 19:09:24 +00:00
Matthew Flatt
ba0519874a
repair to truncate-file
...
svn: r280
2005-06-30 18:56:23 +00:00
Matthew Flatt
6d9aa4cab7
truncate-file
...
svn: r279
2005-06-30 17:38:52 +00:00
Matthew Flatt
3d8c40afe4
fixed verify- ops to take old-format exploded signatures
...
svn: r277
2005-06-30 16:40:13 +00:00
Robby Findler
e3b5ba8ef8
moved contract library to private, in order to export a few more names to special places
...
svn: r272
2005-06-29 23:33:51 +00:00
Matthew Flatt
0d4bc2cd9d
299.107
...
svn: r259
2005-06-28 17:01:03 +00:00
Matthew Flatt
e4a71a9b3c
match phase clean-up and minor contract-expansion improvement
...
svn: r232
2005-06-22 21:31:11 +00:00
Robby Findler
06b511f323
added recursive contracts and fixed a bug or two
...
svn: r81
2005-06-09 18:56:19 +00:00
Eli Barzilay
daa18fcba0
typos
...
svn: r66
2005-06-08 00:28:39 +00:00
Eli Barzilay
017d151d59
Adding collects, with all the right properties (except eoln-style).
...
svn: r3
2005-05-27 18:56:37 +00:00