Commit Graph

262 Commits

Author SHA1 Message Date
Matthew Flatt
1dd30ca031 dup-{in,out}put-port and sandbox-error-output default
svn: r9617
2008-05-03 04:47:14 +00:00
Eli Barzilay
921ef6cfcb fixed regexp-match-peek-positions* and added tests
svn: r9611
2008-05-02 23:00:57 +00:00
Eli Barzilay
0e299c5bd2 fix regexp-match-positions* with input ports
svn: r9604
2008-05-02 21:04:24 +00:00
Matthew Flatt
52581d024b improve scribble memory use (a little bit)
svn: r9601
2008-05-02 19:48:57 +00:00
Eli Barzilay
a995ba1304 fix for regexp-match-positions* on input ports
svn: r9600
2008-05-02 18:09:58 +00:00
Eli Barzilay
1054f9cdea empty matches in regexp-X* makeover, part two: better code
svn: r9597
2008-05-02 17:21:04 +00:00
Eli Barzilay
26a180f458 empty matches in regexp-X* makeover, part one
svn: r9594
2008-05-02 17:18:52 +00:00
Robby Findler
baa9ed726a moved the surrogate library to scheme/ (out of mzlib/)
svn: r9554
2008-05-01 02:51:52 +00:00
Matthew Flatt
efa0f5f396 fix syntax-case bug
svn: r9553
2008-04-30 23:38:24 +00:00
Sam Tobin-Hochstadt
03f3ee3e81 Provide match-lambda**
svn: r9532
2008-04-29 03:53:51 +00:00
Robby Findler
e5fba85ed0 fixed a bug in check syntax and a bug in the contract system
svn: r9524
2008-04-28 22:12:21 +00:00
Matthew Flatt
f579d40b82 'must-update file mode; R6RS tests and bug fixes
svn: r9511
2008-04-28 16:32:50 +00:00
Eli Barzilay
2548f7ecbb provide string-join
svn: r9459
2008-04-24 16:26:50 +00:00
Matthew Flatt
1ee0298552 struct-copy
svn: r9456
2008-04-24 13:56:36 +00:00
Matthew Flatt
f4703d8ab6 fix double evaluation in in-range (PR 9315)
svn: r9452
2008-04-24 12:06:50 +00:00
Matthew Flatt
931d93ba2f Scribble support for redirecting external links and re-rooting corss-reference paths
svn: r9448
2008-04-24 02:37:47 +00:00
Eli Barzilay
4870d9830c slightly more readable code
svn: r9444
2008-04-23 23:25:39 +00:00
Eli Barzilay
b1024c8952 Added append-map' and filter-not'.
svn: r9433
2008-04-23 17:26:41 +00:00
Eli Barzilay
f19cdb4fe2 a little better comment on filter
svn: r9431
2008-04-23 17:06:42 +00:00
Eli Barzilay
13c5e3812d Added last-pair and tests
svn: r9422
2008-04-23 13:20:05 +00:00
Eli Barzilay
bcde2e1424 added filter-map' and partition', with tests
--This line, and those below, will be ignored--

M    collects/scheme/list.ss
M    collects/tests/mzscheme/list.ss

svn: r9421
2008-04-23 12:53:47 +00:00
Eli Barzilay
5d4256921c remove local length? utility
svn: r9420
2008-04-23 11:48:06 +00:00
Matthew Flatt
e25e7a1098 keyword in methods and apply; procedure-reduce-keyword-arity
svn: r9396
2008-04-22 18:00:04 +00:00
Eli Barzilay
8e6b3e9ba0 Simplified remove-duplicates interface, adjusted tests.
svn: r9386
2008-04-21 19:46:11 +00:00
Matthew Flatt
a0f65ba33e dictionaries
svn: r9383
2008-04-21 17:26:35 +00:00
Eli Barzilay
9b0fc20d3e added a powerful remove-duplicates and tests
svn: r9373
2008-04-19 15:41:24 +00:00
Eli Barzilay
2736de7404 * move flatten' next to append*'
* document `add-between'

svn: r9369
2008-04-19 10:30:31 +00:00
Eli Barzilay
180dc08777 added add-between and string-join, no lists-join
svn: r9361
2008-04-18 14:00:41 +00:00
Eli Barzilay
0b7bdfe92c added scheme/string, include it in the scheme language, put string-append* in there, tested, documented
svn: r9356
2008-04-18 04:10:46 +00:00
Eli Barzilay
5ccfe300f7 better argument name
svn: r9354
2008-04-18 01:58:05 +00:00
Matthew Flatt
5aeaf7ea75 R6RS docs, other misc clean-up
svn: r9349
2008-04-17 21:29:07 +00:00
Matthew Flatt
28a3f3f0e7 r5rs and srfi docs and bindings
svn: r9336
2008-04-16 20:52:39 +00:00
Matthew Flatt
46b8b435ca export checked-struct-info?
svn: r9300
2008-04-14 19:20:58 +00:00
Matthew Flatt
9617dbbfd6 fix continuation prompt in scheme/load
svn: r9297
2008-04-14 16:39:43 +00:00
Matthew Flatt
9851d4aa0f refine namespace handling of scheme/load to that it works with both DrScheme and setting current-namespace within the program
svn: r9296
2008-04-14 16:11:22 +00:00
Matthew Flatt
d94b97b835 make scheme/load work better in DrScheme
svn: r9295
2008-04-14 15:54:20 +00:00
Matthew Flatt
febe8ce783 scheme/load
svn: r9294
2008-04-14 15:20:18 +00:00
Matthew Flatt
8036ddf5a1 remove euler from scheme/math
svn: r9290
2008-04-14 11:44:13 +00:00
Eli Barzilay
a4de7ca7c9 reformat, etc
svn: r9288
2008-04-14 05:17:09 +00:00
Matthew Flatt
b9d7824c8e more scribble rendering and doc details
svn: r9261
2008-04-11 19:09:26 +00:00
Sam Tobin-Hochstadt
13b7f8c506 Add checked-struct-info.
svn: r9227
2008-04-09 23:25:30 +00:00
Sam Tobin-Hochstadt
6a4414c82b Fix PR 9286.
svn: r9219
2008-04-09 13:21:46 +00:00
Matthew Flatt
cb3fdd8fc5 change real->decimal-string (PR 9285)
svn: r9210
2008-04-08 21:56:29 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
26b283b953 fixed pr9285, added tests
svn: r9197
2008-04-08 12:33:53 +00:00
Sam Tobin-Hochstadt
ec502d4802 rename
svn: r9184
2008-04-07 21:42:15 +00:00
Eli Barzilay
7a29625659 lift handle-results, since matthew said that the compiler might not do so
svn: r9181
2008-04-07 19:55:54 +00:00
Eli Barzilay
f0547adffc fix force for dealing with (lazy 0), add a test suite (simple one for now)
svn: r9180
2008-04-07 19:33:48 +00:00
Sam Tobin-Hochstadt
f7ec875386 Add new `typechecker:called-in-tail-position' property.
svn: r9165
2008-04-04 17:33:55 +00:00
Matthew Flatt
307ca18d31 doc make-generic and add 'generic?'
svn: r9164
2008-04-04 12:13:19 +00:00
Matthew Flatt
f28726ab4d fix bytecode writing of prefabs, add prop:sequence
svn: r9149
2008-04-03 14:07:52 +00:00
Sam Tobin-Hochstadt
b5128a2874 Implement column reordering.
Fix ordering problems with non-linear or patterns.
Use `nest' in a few places.
Fix error message from match-expanders.

svn: r9141
2008-04-02 19:20:56 +00:00
Matthew Flatt
fb392dd331 adjust sort keyword arguments and docs
svn: r9131
2008-04-02 01:28:09 +00:00
Eli Barzilay
fcfaa3cc64 use sort.ss in kw.ss too
svn: r9129
2008-04-02 00:07:45 +00:00
Eli Barzilay
bfc990e3c5 Added #:key and #:cache-keys to `sort', documented and tested.
svn: r9128
2008-04-01 20:58:41 +00:00
Eli Barzilay
fac8cf7328 minor
svn: r9127
2008-04-01 20:37:55 +00:00
Sam Tobin-Hochstadt
1fd2e9b3fc Create renaming to avoid using the same identifier multiple times.
Delete dead code.

svn: r9122
2008-03-31 21:01:29 +00:00
Eli Barzilay
a4f70641b9 error message typo
svn: r9110
2008-03-29 15:45:51 +00:00
Matthew Flatt
61ea615004 optimizer inlining improvements, especially to ensure that single-use bindings are inlined
svn: r9094
2008-03-27 16:07:42 +00:00
Sam Tobin-Hochstadt
9084ac10e3 New match implementation:
- Delete old match code.
 - Create scheme/match collection.
 - Change scheme/match.ss to provide new implementation.
 - Change mzlib/match and mzlib/plt-match to refer to scheme/match/
 - Fix Typed Scheme require of private match code.

svn: r9091
2008-03-26 14:40:48 +00:00
Eli Barzilay
e7bb849899 add scheme/nest to the scheme language
svn: r9087
2008-03-25 18:27:18 +00:00
Sam Tobin-Hochstadt
ae4acf1d51 Remove old match implementation.
Fix typed-scheme to work w/ new match.
Factor out lots of common code.
Implement (mcons ..) patterns

svn: r9086
2008-03-25 18:26:39 +00:00
Eli Barzilay
8d08719ee6 added scheme/nest
svn: r9085
2008-03-25 18:09:54 +00:00
Eli Barzilay
6901fc1fd7 some minor cleanup
svn: r9078
2008-03-24 17:55:53 +00:00
Matthew Flatt
c75933cd40 fix 'enter!' and extension-implemented modules
svn: r9077
2008-03-24 14:04:33 +00:00
Matthew Flatt
c81eb6ede0 add in-lines and some doc clarifications
svn: r9072
2008-03-23 13:25:56 +00:00
Sam Tobin-Hochstadt
a37fe34a48 Factor out match expander code.
Improve error message.

svn: r9068
2008-03-22 17:10:09 +00:00
Sam Tobin-Hochstadt
63df5e13f7 add matchable?
svn: r9067
2008-03-22 17:07:59 +00:00
Sam Tobin-Hochstadt
eedaebefaf remove debugging printf
svn: r9060
2008-03-22 02:29:49 +00:00
Sam Tobin-Hochstadt
a3076b8648 certify in one more place
svn: r9058
2008-03-22 02:11:50 +00:00
Sam Tobin-Hochstadt
0ee6afc2a1 same stupid bug in the old syntax
svn: r9057
2008-03-22 01:48:19 +00:00
Sam Tobin-Hochstadt
c914aab4ea add orig-stx parameter
svn: r9056
2008-03-22 01:40:13 +00:00
Sam Tobin-Hochstadt
3552f7f73b handle empty structs
svn: r9055
2008-03-22 01:37:55 +00:00
Sam Tobin-Hochstadt
b7127dc9c7 Add new match implementation.
Does not yet work:
 - some errors about car of ()
 - some match-expander certification errors

svn: r9049
2008-03-21 23:54:58 +00:00
Eli Barzilay
fb8efd4816 added take+drop+append to scheme/list (problems with texpict providing drop too)
svn: r9045
2008-03-21 18:45:18 +00:00
Eli Barzilay
d88c6c476a * Better versions of curry/r and negate, doc improvements, tests
svn: r9043
2008-03-21 17:55:29 +00:00
Matthew Flatt
407e0bc2d9 fix serialization on prefabs, equal on cyclic hash tables
svn: r9020
2008-03-18 19:46:39 +00:00
Matthew Flatt
dba1ddc480 scribble/srcdoc experiment in net/gifwrite
svn: r9019
2008-03-18 18:19:25 +00:00
Eli Barzilay
d6cbe2b09f * New scheme/function module (added by mistake on the previous commit)
* Added it to scheme/main
* Documented it

svn: r9018
2008-03-18 14:37:04 +00:00
Eli Barzilay
d0b86a31d1 no need for the commented subtract-out, since it is swalloed by except-out now
svn: r9016
2008-03-18 13:40:25 +00:00
Matthew Flatt
3a763f3bcc generalized except-out
svn: r9015
2008-03-18 13:38:13 +00:00
Matthew Flatt
c58820e30d vyzo's thread mailboxes (3.99.0.19)
svn: r9010
2008-03-18 00:38:36 +00:00
Robby Findler
9ba432ab9c added the _ special case to ->d
svn: r8998
2008-03-17 04:01:39 +00:00
Matthew Flatt
ae75de476f fix phase of no-old-match-form
svn: r8972
2008-03-14 16:57:06 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Eli Barzilay
38e8b04be2 fixed error message
svn: r8963
2008-03-13 06:19:26 +00:00
Eli Barzilay
bb9671f27b remove subtract-out
svn: r8962
2008-03-13 04:16:02 +00:00
Eli Barzilay
bf3da735a4 subtract require/provide forms
svn: r8956
2008-03-12 07:14:57 +00:00
Matthew Flatt
9ecf9dfe4a fix some error-message reporting for mzscheme define-struct
svn: r8953
2008-03-11 21:14:40 +00:00
Eli Barzilay
c3e9f14441 split reqprov.ss to require.ss and provide.ss
svn: r8952
2008-03-11 21:12:10 +00:00
Eli Barzilay
9c0df7fc7c modspec-forms -> reqprov
svn: r8950
2008-03-11 15:22:20 +00:00
Eli Barzilay
3c29bbda9d * Moved the srfi-4 functionality back into the foreign library, so its
available from there instead of only from srfi/4
* Added scheme/modspec-forms with `matching-identifiers-in' for a
  generic regexp-based selection of identifiers
* Used this new form to get make srfi/4 reprovide the relevant stuff
  from foreign
* Did the same for srfi/66 (and added the missing renames etc to
  foreign)

svn: r8944
2008-03-11 13:06:29 +00:00
Eli Barzilay
330649b2d2 flatten and docs
svn: r8926
2008-03-08 06:58:12 +00:00
Matthew Flatt
f3d74fa4c8 R6RS fixes; fix for <, >, <=, and >= with +nan.0 and a bignum or rational; compile two-byte regexp patterns (common for hand-rolled case-insensitivity, as in the R6RS parser) to a more compact and efficient representation
svn: r8898
2008-03-06 04:56:47 +00:00
Matthew Flatt
944770a4d1 fix another(!) JIT bug related to the runstack pointer and GC --- this time when a jump to a native function has the wrong arity; more certificate-management shortcuts to avoid explosion of work for long expansion chains; changed scheme/base module-begin to not create long expansion chais in the first place
svn: r8880
2008-03-04 19:41:21 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Eli Barzilay
72f82a9de4 improve error message
svn: r8848
2008-03-02 06:30:54 +00:00
Eli Barzilay
4c63166f16 fix error message
svn: r8847
2008-03-02 06:28:47 +00:00
Sam Tobin-Hochstadt
0149333d4d Provide list-immutable' in mzscheme' compatibility module.
svn: r8842
2008-03-01 23:10:48 +00:00
Sam Tobin-Hochstadt
bb5fe5e47c Provide find-method/who and do-make-object, for Typed Scheme.
svn: r8841
2008-03-01 23:09:23 +00:00