Commit Graph

292 Commits

Author SHA1 Message Date
Eli Barzilay
91fb6ffce0 move sandbox-coverage to scheme/private
svn: r10690
2008-07-09 07:20:51 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Robby Findler
4993e26b0a PR 9442
svn: r10603
2008-07-04 20:22:33 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Matthew Flatt
9707770ace fix phase problem in 'make-namespace' form 'mzscheme'
svn: r10478
2008-06-27 18:36:31 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Eli Barzilay
04b97ff977 Make promise.ss use #%kernel directly -- this way mzscheme does not
depend on scheme/base.

svn: r10424
2008-06-23 14:32:27 +00:00
Eli Barzilay
3619ab2062 * USe a thunk for caught values, not just the exception value, since
(as Mathew notes as a bug) any value can be raised
*  Actually use an applicable struct, so we can printout something
   sensible.  The current printout is:
     #<promise!exn!...exn-message...> for exceptions
     #<promise!(raise val)> for other values

svn: r10423
2008-06-23 13:57:18 +00:00
Eli Barzilay
1ffd3f5ba0 type (PR9535)
svn: r10419
2008-06-23 06:42:43 +00:00
Eli Barzilay
b7839a4ec3 removed redundant syntax hack
svn: r10417
2008-06-23 04:33:25 +00:00
Eli Barzilay
945dc376d2 * Removed `with-handlers*' that was causing a problem in some long
nested streams example (from Jos Koot).
* Replaced with `call-with-exception-handler' which is (intentionally)
  not tail-recursive, but it seems to work fine now.
* The `lazy' form is restricted to single-valued expressions only.

svn: r10416
2008-06-23 04:07:12 +00:00
Matthew Flatt
bba93038ed 'for' macro certification needs to propagate certs
svn: r10269
2008-06-15 16:03:14 +00:00
Eli Barzilay
f6c68334a6 use evaluator-message as a generic function-application-in-user-context tool
svn: r10255
2008-06-13 17:06:33 +00:00
Carl Eastlund
4baccff55a scheme/sandbox:
Updated get-output and get-error-output to function properly regardless of user
language.  Previously, it relied on #%app and #%datum behaving similarly to the
scheme language.

svn: r10251
2008-06-13 14:41:28 +00:00
Matthew Flatt
2b1aebca19 add missig path normalization for 'enter!' (PR 9491)
svn: r10237
2008-06-12 16:55:46 +00:00
Matthew Flatt
9956e095af add for-syntax #%datum export to scheme/runtime-path
svn: r10091
2008-06-02 15:11:29 +00:00
Matthew Flatt
69f4097020 fix 'gui-dynamic?' more
svn: r9983
2008-05-27 18:34:42 +00:00
Matthew Flatt
c7201b8982 fix 'gui-available?' (PR 9415)
svn: r9976
2008-05-27 12:43:35 +00:00
Matthew Flatt
d1628d6238 fix some phase issues in 'match' implementation
svn: r9963
2008-05-26 19:51:06 +00:00
Matthew Flatt
2b48cb0a4d fill in some guide sections
svn: r9871
2008-05-16 21:23:53 +00:00
Sam Tobin-Hochstadt
61a80e85fb Fix uses of make-Dummy.
Fix handling of seen vars in ...

svn: r9870
2008-05-16 19:56:07 +00:00
Matthew Flatt
26a36a9cbe add 'false?'
svn: r9849
2008-05-15 16:03:50 +00:00
Robby Findler
9f69672740 fixed bug from the mailing list
svn: r9830
2008-05-14 11:46:49 +00:00
Matthew Flatt
a932a75708 fix rename-in bug, and try to provide a better error message for attempting to use a run-time definition in a transformer expression
svn: r9819
2008-05-12 23:13:47 +00:00
Sam Tobin-Hochstadt
2bf93a2fa0 Add mlist patterns, and handle ...
svn: r9774
2008-05-09 19:47:28 +00:00
Matthew Flatt
fad08fcd84 more drscheme repairs and tests
svn: r9721
2008-05-07 16:31:20 +00:00
Matthew Flatt
860c41d749 drs bug and test-suite fixes
svn: r9709
2008-05-06 23:27:23 +00:00
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