Matthew Flatt
bd7ced966e
add 'compose' to scheme/base; switch Help Desk to a mzscheme app
...
svn: r7979
2007-12-12 22:17:09 +00:00
Matthew Flatt
a58893f4ba
fix bug in deserializer related to order of shared values
...
svn: r7978
2007-12-12 21:50:31 +00:00
Matthew Flatt
5a6f8aede3
sandbox doc and API tweaks
...
svn: r7972
2007-12-12 18:39:15 +00:00
Matthew Flatt
622cd0554d
revised mzlib/sandbox in scheme/sandbox
...
svn: r7965
2007-12-12 13:47:02 +00:00
Matthew Flatt
d7e8371254
finish FFI scribbling
...
svn: r7944
2007-12-11 00:32:41 +00:00
Matthew Flatt
ca5a7c5560
split part of scheme/file into scheme/path, document them
...
svn: r7938
2007-12-10 17:59:26 +00:00
Matthew Flatt
eab8008c4f
change 'include' and 'include-bitmap' to better match normal module-path syntax
...
svn: r7936
2007-12-10 16:13:25 +00:00
Matthew Flatt
a7dad576bd
fix modbeg again, change resolved module path so that it is not case-normalized
...
svn: r7917
2007-12-07 17:51:08 +00:00
Robby Findler
a295a42c15
improved contract library so that structs without mutators work and it now passes the test suite
...
svn: r7879
2007-11-30 22:50:01 +00:00
Sam Tobin-Hochstadt
b997f8b0f7
Use symbolic comparison for => in match, to handle new bindings from `cond'.
...
svn: r7864
2007-11-29 23:02:23 +00:00
Matthew Flatt
517e20f868
change trace & untrace to not return anything
...
svn: r7853
2007-11-28 20:29:03 +00:00
Robby Findler
47a4b69e5d
some progress on the contract test suite
...
svn: r7850
2007-11-28 04:38:23 +00:00
Matthew Flatt
8138758ea5
fix some tests
...
svn: r7847
2007-11-27 17:58:59 +00:00
Matthew Flatt
5f312dcbde
doc fixes
...
svn: r7832
2007-11-25 19:48:41 +00:00
Matthew Flatt
44478fa8e0
match docs
...
svn: r7817
2007-11-22 18:51:26 +00:00
Matthew Flatt
5b0a0be3d6
change scheme/unit and scheme/signature #langs to build on scheme/base
...
svn: r7792
2007-11-20 23:44:31 +00:00
Matthew Flatt
391892a848
3.99.0.3: improved namespace API
...
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
6056159ad7
class and mzc -k fixes
...
svn: r7724
2007-11-14 16:24:48 +00:00
Matthew Flatt
39cedb62ed
v3.99.0.2
...
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
96117cc86d
uses the remapping for determining named-let status now
...
svn: r7607
2007-11-01 12:34:58 +00:00
Matthew Flatt
07d9a8130b
fix hash-table pretty printing when the value part of a mapping is a pair
...
svn: r7600
2007-10-31 11:25:00 +00:00
Robby Findler
359196ae82
improved contract libraries handling of #%app for provide/contract'd variables
...
svn: r7590
2007-10-29 21:07:43 +00:00
Robby Findler
3724e47d0c
possible fix to PR 9204
...
svn: r7587
2007-10-29 02:28:30 +00:00
Robby Findler
018bc0e8f6
removed extraneous requires
...
svn: r7548
2007-10-21 22:57:12 +00:00
Eli Barzilay
ac9e9b4f02
avoid exposing the command-line arguments
...
svn: r7484
2007-10-11 02:00:24 +00:00
Ryan Culpepper
29501ba68a
fixed duplication of code in define-macro
...
svn: r7482
2007-10-11 00:15:07 +00:00
Robby Findler
176a888bb4
changed the case-> combinator back so that it does not use a symbolic comparison to find -> and friends
...
svn: r7460
2007-10-09 12:57:18 +00:00
Eli Barzilay
6c13e101bf
fix bad input to raise an error as usual, added tests
...
svn: r7445
2007-10-07 18:12:11 +00:00
Matthew Flatt
4ebccec087
fix problem with lifting contract applications by delaying expansion to an expression context
...
svn: r7434
2007-10-05 19:57:05 +00:00
Robby Findler
d9cb743afc
removed an optimization that obscures the names in contracted functions
...
svn: r7379
2007-09-18 15:48:28 +00:00
Eli Barzilay
05ae7be90d
fixed endian-ness
...
svn: r7377
2007-09-18 13:54:18 +00:00
Robby Findler
65cfcd5722
moved contracts back to contract library
...
svn: r7367
2007-09-17 17:09:58 +00:00
Eli Barzilay
cae0931777
allow raw result from md5
...
svn: r7366
2007-09-17 16:54:54 +00:00
Robby Findler
ac52b9f2ba
avoid lifting more than once
...
svn: r7364
2007-09-17 16:33:40 +00:00
Eli Barzilay
f7e4690841
set svn:eol-style
...
svn: r7358
2007-09-17 05:16:55 +00:00
Robby Findler
bd93217061
refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
...
svn: r7357
2007-09-17 02:27:05 +00:00
Robby Findler
b7c441833e
tried to improve size of generated code for structs
...
svn: r7348
2007-09-15 19:57:28 +00:00
Eli Barzilay
45649900e7
do not trust require spec from user code
...
svn: r7342
2007-09-15 00:50:54 +00:00
Eli Barzilay
d35939f5ed
recurse into prefix etc require specs, ignore symbols
...
svn: r7341
2007-09-15 00:09:29 +00:00
Robby Findler
33311ab211
few minor improvements to the code generated by the contract library
...
svn: r7339
2007-09-14 21:27:53 +00:00
John Clements
c192fba302
tests for minor bug fixes in date.ss
...
svn: r7309
2007-09-11 05:03:03 +00:00
Eli Barzilay
449d9097c7
Avoid having hard-wired paths in contract error messages.
...
These will use "<collects>/..." now. (A perhaps better solution
is to do what "mzlib/etc.ss" does and insert code that expands
to the file on the client machine.)
svn: r7306
2007-09-10 02:26:59 +00:00
Eli Barzilay
6f83062a51
improved code for build-src-loc-string (no change in functionality)
...
svn: r7303
2007-09-09 18:25:29 +00:00
Matthew Flatt
e4cbc4e6a9
371.2
...
svn: r7263
2007-09-02 17:39:32 +00:00
Matthew Flatt
76cad48393
fix sandbox for running in MrEd
...
svn: r7213
2007-08-29 20:34:17 +00:00
Eli Barzilay
2e636a54f1
new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
...
svn: r7124
2007-08-19 23:45:08 +00:00
Eli Barzilay
392f99b717
new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
...
svn: r7123
2007-08-19 23:27:14 +00:00
Eli Barzilay
6793e45228
typo
...
svn: r7029
2007-08-06 13:00:49 +00:00
Robby Findler
67dd80eb78
changes noticed by Matthew
...
svn: r6980
2007-07-29 18:56:32 +00:00
Eli Barzilay
045b9e9ec7
sort directory lists so operations are independent of filesystem directory order
...
svn: r6930
2007-07-17 09:38:53 +00:00
Eli Barzilay
e198aa3c29
some code reformatting
...
svn: r6929
2007-07-17 09:16:30 +00:00
Eli Barzilay
ef9994abc5
read-accept-infix-dot
...
svn: r6835
2007-07-07 15:20:02 +00:00
Robby Findler
cb47325215
fixed parameter contracts
...
svn: r6833
2007-07-07 15:19:46 +00:00
Matthew Flatt
9764065c6a
370.5
...
svn: r6832
2007-07-07 08:31:19 +00:00
Robby Findler
2dfd35e5c7
added parameter/c
...
svn: r6770
2007-06-29 16:44:18 +00:00
Matthew Flatt
b883f4ef76
fix problem with recursive reads on hash tables, sfix syntax-quoted hash tables in marhsaled compiled code, and add a bit more new documentation
...
svn: r6759
2007-06-28 22:59:06 +00:00
Matthew Flatt
efb592bd15
doc work on modules, new big collection
...
svn: r6732
2007-06-25 08:47:02 +00:00
Matthew Flatt
d518f24039
370.4
...
svn: r6710
2007-06-20 21:11:38 +00:00
Shu-Yu Guo
5016e59f8e
fixes match
...
svn: r6674
2007-06-16 16:58:37 +00:00
Robby Findler
ea5b3493f3
fixed define-contract-struct so that it defines (via define-syntax) the struct name, following the define-struct covention
...
svn: r6664
2007-06-14 21:14:14 +00:00
Matthew Flatt
b0328d4853
keyword-procedure implementation scribblings; reverted opt-lambda hacks
...
svn: r6654
2007-06-14 02:05:38 +00:00
Matthew Flatt
2385d8bd93
fix trait bug found by Ryan
...
svn: r6653
2007-06-13 22:47:17 +00:00
Robby Findler
3857b95a7b
fixed PR 8737
...
svn: r6596
2007-06-12 15:23:54 +00:00
Matthew Flatt
05607ad661
work on docs for keyword arguments
...
svn: r6581
2007-06-12 01:44:02 +00:00
Robby Findler
44ca7fb6e5
changed the set of exported names a little bit
...
svn: r6577
2007-06-11 20:50:50 +00:00
Matthew Flatt
32e9101594
guide and reference work; change opt-lambda to use lambda/kw and hack in keyword support for documentation purposes, along with define-opt
...
svn: r6572
2007-06-11 07:19:42 +00:00
Robby Findler
f597eef4db
svn: r6558
2007-06-09 18:33:37 +00:00
Matthew Flatt
7d7cae8bf2
get rid of for-values, change document format for mini-grammars
...
svn: r6549
2007-06-09 01:13:52 +00:00
Matthew Flatt
63ce7b93fb
370.3
...
svn: r6545
2007-06-08 08:03:06 +00:00
Robby Findler
377c5b3ad0
had to find a new way to defeat the inlining
...
svn: r6413
2007-05-30 17:32:39 +00:00
Matthew Flatt
c59c7ebab7
revised 'for' and docs
...
svn: r6400
2007-05-30 03:10:57 +00:00
Matthew Flatt
e9385a910e
370.2
...
svn: r6369
2007-05-29 03:26:32 +00:00
Matthew Flatt
4074eb593a
revise generator names in for.ss
...
svn: r6329
2007-05-26 00:52:55 +00:00
Robby Findler
2f97ee61a8
fixed comment
...
svn: r6292
2007-05-25 13:22:29 +00:00
Matthew Flatt
27624d91d6
add comprehension implementation, though it may not survive
...
svn: r6247
2007-05-24 01:24:23 +00:00
Robby Findler
3d4f153275
fixed default value of parameter
...
svn: r6234
2007-05-19 23:05:09 +00:00
Robby Findler
bd7f075593
added pretty-print-abbreviate-read-macros
...
svn: r6231
2007-05-19 17:28:02 +00:00
Robby Findler
e41ff4705e
improved error checking for provide/contract struct clauses
...
svn: r6155
2007-05-05 17:50:19 +00:00
Matthew Flatt
e85a15df98
add support for 'lib paths in define-runtime-path, and change world.ss to use it
...
svn: r6150
2007-05-05 00:17:06 +00:00
Matthew Flatt
ba66079155
temporary fix to preferences-file problem
...
svn: r6149
2007-05-04 23:32:24 +00:00
Eli Barzilay
26ab4af5f7
made it possible to try several versions, use it in readline and openssl
...
svn: r6138
2007-05-04 06:08:48 +00:00
Eli Barzilay
9c35fbd7ff
use new mzscheme primitives
...
svn: r6109
2007-05-01 08:49:29 +00:00
Robby Findler
5ac3fdd86e
added unsafe list contract combinators
...
svn: r6096
2007-04-29 21:46:27 +00:00
Matthew Flatt
e9bf34f193
369.11
...
svn: r6085
2007-04-29 02:08:24 +00:00
Robby Findler
2cb314de1b
improved error message a little more, thanks to Jon Rafkind
...
svn: r6073
2007-04-28 21:50:05 +00:00
Robby Findler
bbb4f1c307
tweaked wording of any error message
...
svn: r6071
2007-04-28 20:21:04 +00:00
Robby Findler
ddf5ddaf68
fixed a bug in structs
...
svn: r6059
2007-04-27 22:02:14 +00:00
Matthew Flatt
1227511d1c
fix gunzip to consume all bytes for the gzip stream
...
svn: r6058
2007-04-27 08:06:02 +00:00
Eli Barzilay
853579755d
svn: r6052
2007-04-26 21:39:36 +00:00
Robby Findler
c3e07c0a8c
removed bogus inference from matcher's optimizer
...
svn: r6034
2007-04-24 18:22:10 +00:00
Matthew Flatt
a45251d272
369.10
...
svn: r6003
2007-04-20 01:16:15 +00:00
Robby Findler
db8cba03aa
added unconstrained-domain->
...
svn: r5967
2007-04-17 18:54:19 +00:00
Matthew Flatt
382209d3fb
split moddep into smaller libraries
...
svn: r5966
2007-04-17 13:52:13 +00:00
Eli Barzilay
e2a460e2d9
more memory
...
svn: r5936
2007-04-14 05:48:40 +00:00
Eli Barzilay
3b88282cfe
reversed accidental commit
...
svn: r5922
2007-04-11 06:47:26 +00:00
Eli Barzilay
bf8cd534cd
u8vector is implemented using bytes
...
svn: r5921
2007-04-11 06:46:17 +00:00
Eli Barzilay
4a010a722c
typo
...
svn: r5919
2007-04-10 22:56:24 +00:00
Eli Barzilay
0b386c6301
svn: r5912
2007-04-10 18:14:59 +00:00
Eli Barzilay
30a27b1d8b
better sandbox input
...
svn: r5905
2007-04-09 11:11:22 +00:00
Eli Barzilay
c6f377aca8
better output specs and implementation
...
svn: r5903
2007-04-09 09:15:25 +00:00
Matthew Flatt
61785f1fc8
fix get-preferences when the file isn't there
...
svn: r5896
2007-04-09 02:40:57 +00:00
Eli Barzilay
4cf75fbb65
some filename tweaks for windows
...
svn: r5891
2007-04-08 21:39:12 +00:00
Matthew Flatt
274246e330
better default caching for preferences
...
svn: r5885
2007-04-08 07:40:34 +00:00
Matthew Flatt
a47e48fc20
fix inferred name of field values and values installed into fields with set!
...
svn: r5880
2007-04-07 23:36:24 +00:00
Eli Barzilay
0a266fabd3
each evaluator gets its own thread group
...
svn: r5879
2007-04-07 06:26:43 +00:00
Eli Barzilay
874c0331c3
do what you can when not in 3m
...
svn: r5878
2007-04-07 02:23:36 +00:00
Eli Barzilay
433c9a57ec
new sandbox in mzlib
...
svn: r5873
2007-04-06 08:56:23 +00:00
Robby Findler
8f51c76a7b
added pretty-format
...
svn: r5862
2007-04-03 22:27:21 +00:00
Robby Findler
032740261d
fixed a bug in new pretty-print-remap-stylable parameter handling
...
svn: r5810
2007-03-21 23:07:41 +00:00
Robby Findler
a0f85de2e4
added pretty-print-remap-stylable
...
svn: r5808
2007-03-21 20:09:11 +00:00
Matthew Flatt
3803b4e045
fix pretty-printer to pay attention to print-box (PR 8567)
...
svn: r5787
2007-03-19 03:29:06 +00:00
Matthew Flatt
81b7aea7d9
fix expansion of match-define to use define-values instead of begin with set!
...
svn: r5786
2007-03-19 01:55:21 +00:00
Robby Findler
058bb56915
added guilty-party
...
svn: r5783
2007-03-17 21:39:59 +00:00
Robby Findler
69ed5483cf
improved source locations for previous fix
...
svn: r5765
2007-03-09 22:42:40 +00:00
Robby Findler
e61faf231e
fixed bug mentioned by Paulo Matos on plt-scheme mailing list
...
svn: r5764
2007-03-09 22:38:51 +00:00
Robby Findler
d67ab8b0a9
improved the expansion to make runtime error reporting better
...
svn: r5703
2007-02-27 23:48:00 +00:00
Sam Tobin-Hochstadt
7f9030952e
Fix typo in name of macro.
...
svn: r5694
2007-02-27 03:09:32 +00:00
Matthew Flatt
dff013afc5
fix port functions to use byte-ready? instead of char-ready?
...
svn: r5640
2007-02-20 01:42:03 +00:00
Eli Barzilay
492733aa40
make-cvector with 0 args
...
svn: r5619
2007-02-15 20:39:17 +00:00
Matthew Flatt
4b765cfa5a
369.8
...
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
2007843ba4
add new command-line arguments: -p, -P, -Q
...
svn: r5557
2007-02-06 05:14:34 +00:00
Robby Findler
81ce545d63
added define-opt/c
...
svn: r5515
2007-01-31 01:12:19 +00:00
Matthew Flatt
bfc693c063
369.7
...
svn: r5506
2007-01-30 06:34:05 +00:00
Robby Findler
de59204fa5
some cleanup
...
svn: r5503
2007-01-30 00:54:23 +00:00
Robby Findler
7ab052ebb9
fixed a bug
...
svn: r5485
2007-01-28 15:25:46 +00:00
Robby Findler
4ad8fdadea
merged the opt/c changes back into the trunk (finally!)
...
svn: r5481
2007-01-28 02:54:16 +00:00
Matthew Flatt
e7cc73c1cf
hack to experiment with disabling contracts
...
svn: r5454
2007-01-25 06:20:22 +00:00
Matthew Flatt
272980489c
avoid chains of derived-from-... names (due to previous attempt at fixing the string vs. symbol problem)
...
svn: r5444
2007-01-24 02:37:01 +00:00
Matthew Flatt
c0c04fb2fc
make derived-from-... name a symbol in a class record
...
svn: r5443
2007-01-24 02:34:38 +00:00
Matthew Flatt
42bf3cfbe0
minor streamlining of unit compilation
...
svn: r5424
2007-01-22 03:45:26 +00:00
Matthew Flatt
dbaccc2d5c
fix cert problem when internal and external names are provided, but no initial value is provided
...
svn: r5403
2007-01-19 01:50:17 +00:00
Matthew Flatt
05faf4f7d3
fix read-to-peek port so that it calls special-value procs only once for both peek and read
...
svn: r5392
2007-01-18 12:17:45 +00:00
Eli Barzilay
19c33a8e2a
no need for string->immutable-string when creating exceptions
...
svn: r5372
2007-01-17 01:18:50 +00:00
Matthew Flatt
87c0d5754e
369.5
...
svn: r5366
2007-01-16 20:55:13 +00:00
Matthew Flatt
32ec113ed1
fix public-final-name-localized bug
...
svn: r5354
2007-01-15 05:58:28 +00:00
Matthew Flatt
91add0453f
369.4
...
svn: r5327
2007-01-12 07:09:56 +00:00
Matthew Flatt
71f0a99be1
fix pretty-print cycle detection for vectors
...
svn: r5228
2007-01-05 07:01:15 +00:00
Eli Barzilay
ddc068c52b
2006->2007
...
svn: r5201
2006-12-31 10:05:55 +00:00
Matthew Flatt
7b13755dad
unit clean-up
...
svn: r5160
2006-12-22 01:26:58 +00:00
Matthew Flatt
caffa6d450
fix rfc2822 timezone output for positive offset (include +)
...
svn: r5151
2006-12-21 01:20:18 +00:00
Eli Barzilay
e56e336194
check identifiers
...
svn: r5135
2006-12-18 05:08:01 +00:00
Eli Barzilay
a772fa8c84
* Better dealing with errors in eval-string and read-from-string/-all
...
* Made them work with byte strings too
* Added tests to the above
svn: r5081
2006-12-11 18:03:33 +00:00
Eli Barzilay
2da3b1f2aa
much improvements
...
svn: r5073
2006-12-10 00:01:10 +00:00
Eli Barzilay
d835aa46f9
switch to kw, reformatting
...
svn: r5072
2006-12-09 21:07:53 +00:00
Matthew Flatt
4f75452dbd
allow macros to expand to require in a-unit.ss
...
svn: r5055
2006-12-07 03:04:19 +00:00
Sam Tobin-Hochstadt
2b876b1f11
Port render-test-list.scm and helpers to use new-style units.
...
svn: r5035
2006-12-05 22:51:47 +00:00
Eli Barzilay
3459c3a58f
merged units branch
...
svn: r5033
2006-12-05 20:31:14 +00:00
Eli Barzilay
36d0159d8f
~n -> \n
...
svn: r4939
2006-11-23 21:54:13 +00:00
Eli Barzilay
ed58b58c90
even better code
...
svn: r4937
2006-11-23 17:56:06 +00:00
Eli Barzilay
a0243b4616
fixed another typo in the code, added tests
...
svn: r4936
2006-11-23 17:49:24 +00:00
Eli Barzilay
f902ea5ba9
fixed some stuff, added tests, added simple option (no ranges)
...
svn: r4935
2006-11-23 17:38:53 +00:00
Eli Barzilay
6fbc2dc27f
improved glob->regexp + tests
...
svn: r4933
2006-11-23 09:53:58 +00:00
Eli Barzilay
145cc5be61
improved regexp-quote and regexp-replace-quote
...
svn: r4932
2006-11-23 05:39:47 +00:00
Matthew Flatt
46fed6e891
serialize paths with convention type
...
svn: r4925
2006-11-23 01:50:00 +00:00
Eli Barzilay
11debcdcdc
reformatted
...
svn: r4916
2006-11-22 00:06:01 +00:00
Eli Barzilay
1de6b29aed
no need for let*
...
svn: r4841
2006-11-13 19:53:13 +00:00
Eli Barzilay
ed575e9e03
use path-element where needed
...
svn: r4838
2006-11-13 19:15:55 +00:00
Eli Barzilay
9d04d4dcfc
indentation
...
svn: r4837
2006-11-13 18:50:36 +00:00
Matthew Flatt
b8924dfbea
fix syntax-parameterize when RHS refers to LHS (PR 8383)
...
svn: r4830
2006-11-13 00:49:50 +00:00
Robby Findler
83e09ada4c
fixed a bug -- used to duplicate subexpressions
...
svn: r4814
2006-11-09 22:42:14 +00:00
Eli Barzilay
b04926284f
fix c->scheme for structs: set all tags
...
svn: r4799
2006-11-07 04:25:04 +00:00
Shu-Yu Guo
dfaad3f28a
contract opting should not be provided for release.
...
svn: r4795
2006-11-06 20:45:47 +00:00
Shu-Yu Guo
eaf71a272a
typos, name tests for opt/c.
...
svn: r4781
2006-11-05 06:45:58 +00:00
Carl Eastlund
22fd8f51cc
Added tracing capabilities to mzscheme's class system.
...
- class-internal.ss exports two versions (traced/untraced) of macros/functions
- classidmap.ss provides expansion to both forms (traced/untraced)
- class-traced.ss exports traced versions
- class.ss (unchanged) exports untraced versions
- class-events.ss contains hooks called by traced version
Functionality will be used by tool to be released via PLaneT.
svn: r4778
2006-11-04 20:46:52 +00:00
Shu-Yu Guo
bd0b34a9ac
- refactored opt/c to its own struct/prop
...
- moved opters next to their respective original contracts where possible
- the rest moved to contract-basic-opters.ss to avoid module cycle
- fixed some typos
svn: r4774
2006-11-04 05:02:57 +00:00
Matthew Flatt
d863eac492
allow fields in a trait
...
svn: r4741
2006-11-01 23:01:18 +00:00
Matthew Flatt
58191912c6
added real->decimal-string (one piece of a real formatter)
...
svn: r4685
2006-10-26 06:55:29 +00:00
Eli Barzilay
23882b3fac
use sort to implement quicksort
...
svn: r4682
2006-10-25 17:10:05 +00:00
Matthew Flatt
60fe398868
added trait, finally
...
svn: r4681
2006-10-25 08:02:59 +00:00
Matthew Flatt
e7fd0e5818
clarify connection of control and fcontrol
...
svn: r4611
2006-10-16 02:09:36 +00:00
Eli Barzilay
45b095f968
Sitiram -> Sitaram
...
svn: r4598
2006-10-14 01:52:23 +00:00
Matthew Flatt
2f86c5d14d
new control MzLib library
...
svn: r4595
2006-10-13 22:06:32 +00:00
Eli Barzilay
19ce52a1ea
assume put_byte and put_short get numbers in the right range (looks like its ok)
...
svn: r4491
2006-10-05 05:30:50 +00:00
Eli Barzilay
4e7be21178
misc minor improvements
...
svn: r4490
2006-10-05 05:15:36 +00:00
Eli Barzilay
4f7cc1e56b
fix for PR8331
...
svn: r4487
2006-10-05 01:54:36 +00:00
Eli Barzilay
97c30012ed
Mainly reformatting and using kw.ss instead of opt-lambda and case-lambda
...
svn: r4453
2006-09-28 16:13:32 +00:00
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