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