Commit Graph

896 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
c4deb8e5e7 Fix handling of wrong size vectors.
Add tests.
Fixes PR9885.

svn: r12334
2008-11-06 20:23:40 +00:00
Matthew Flatt
fadf10cf10 fix problems with template expansion when a pattern variable is used at different depths under a common ellipsis
svn: r12327
2008-11-06 16:21:50 +00:00
Matthew Flatt
37aae202c5 speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Robby Findler
122f8d41dc PR 9852
svn: r12076
2008-10-20 20:08:05 +00:00
Robby Findler
eb7d9be3f0 fixed the contract? predicate so that it recognizes thigns that aren't yet turned into contract structs
svn: r12043
2008-10-15 12:54:37 +00:00
Robby Findler
2ef287f107 added empty as a coerceable value
svn: r12025
2008-10-13 21:09:18 +00:00
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Eli Barzilay
98975fc524 move the reader of make-module-evaluator inside the user context jail
svn: r11963
2008-10-07 14:20:18 +00:00
Eli Barzilay
bbceacae84 turn on read-accept-reader in the default-sandbox-reader
svn: r11962
2008-10-07 14:14:59 +00:00
Eli Barzilay
433819df52 Added a #:language argument to `make-module-evaluator' to enforce a
particular language module.

svn: r11954
2008-10-06 21:34:24 +00:00
Eli Barzilay
062152e711 fixed PR9806 and PR9807
svn: r11940
2008-10-05 04:42:48 +00:00
Matthew Flatt
086f3c3b44 fix int-def context binding problems, fix scheme/splicing, change rnrs/base-6 to use scheme/splicing
svn: r11917
2008-09-30 22:03:55 +00:00
Eli Barzilay
d892cb243e * Move the help functionality into the search collection, so it is not
packaged with the mzscheme distribution
* Make scheme/help throw a helpful message if the file is missing

svn: r11896
2008-09-28 20:43:13 +00:00
Eli Barzilay
4efab4f12f removed some unnecessary old autoloading, reformat some stuff
svn: r11886
2008-09-27 02:12:02 +00:00
Eli Barzilay
59b1eea0bc fixed help with #:search, made most of the help-related overhead loaded when help is used
svn: r11885
2008-09-27 02:07:59 +00:00
Eli Barzilay
fa86e9ee9f minor formatting
svn: r11877
2008-09-25 20:07:07 +00:00
Matthew Flatt
6f9b5ad586 correct error message for bad formal argument after keyword
svn: r11823
2008-09-20 11:24:53 +00:00
Robby Findler
d165c586af PR 9760
svn: r11766
2008-09-15 21:58:59 +00:00
Matthew Flatt
186bf67630 msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
svn: r11758
2008-09-15 19:08:50 +00:00
Robby Findler
fb17d339ef oops, committed too soon...
svn: r11731
2008-09-13 22:38:21 +00:00
Robby Findler
d69957455c a bunch more values are now converted into contracts automatically (added bytes)
svn: r11730
2008-09-13 22:37:16 +00:00
Robby Findler
85e489219c a bunch more values are now converted into contracts automatically
svn: r11729
2008-09-13 22:35:09 +00:00
Robby Findler
06a4d0df4a got rid of define-struct/prop since scheme/base has a define-struct that does all that (and more) now
svn: r11727
2008-09-13 16:29:01 +00:00
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
Kevin Tew
7068de8f67 Change place_wait and place_sleep to place-wait and place-sleep
svn: r11589
2008-09-09 15:52:13 +00:00
Matthew Flatt
1a8b6cb824 fix mistakes in augment corrections; fix runtime-path handling of lib paths
svn: r11577
2008-09-08 19:44:32 +00:00
Matthew Flatt
74addc1b71 fix checking of augment on a method that is overridable but was formerly augmentable
svn: r11574
2008-09-08 14:41:56 +00:00
Robby Findler
2ece9d9e95 PR 9729
svn: r11567
2008-09-07 12:46:17 +00:00
Eli Barzilay
e508264945 typo (PR9726)
svn: r11554
2008-09-05 18:13:49 +00:00
Robby Findler
44b62899fa improved blame error message when there is no source location
svn: r11526
2008-09-02 16:12:13 +00:00
Robby Findler
300d1361a1 added planet bug report icon
svn: r11522
2008-09-02 12:46:12 +00:00
Robby Findler
facfe60934 svn: r11513 2008-09-01 20:30:04 +00:00
Robby Findler
5596aff30f improved contract error messages so that they now always have absolute module references in them for blame information
svn: r11511
2008-09-01 19:54:50 +00:00
Sam Tobin-Hochstadt
5b0da0948a Fix or not to use continuations, and to use a success/failure flag instead. Fixed PR 9689.
svn: r11360
2008-08-20 19:52:58 +00:00
Eli Barzilay
da3b476e80 finish the cm move: change all requires, leave stub files in mzlib
svn: r11314
2008-08-19 00:22:57 +00:00
Matthew Flatt
c09b9baae8 fix stxparam bug (from Olin via Sam)
svn: r11304
2008-08-18 22:19:18 +00:00
Matthew Flatt
9ecece65d7 place patches from Kevin
svn: r11273
2008-08-15 15:59:39 +00:00
Matthew Flatt
0715f3d7f9 fix rationalize on inexact arguments
svn: r11215
2008-08-13 10:52:53 +00:00
Eli Barzilay
6307b4bdc1 comment typo
svn: r11157
2008-08-08 22:35:36 +00:00
Eli Barzilay
ce7dc400f3 svn: r11129 2008-08-07 19:32:26 +00:00
Eli Barzilay
f781bc04a1 svn: r11128 2008-08-07 19:32:13 +00:00
Matthew Flatt
d0419345d8 clean up extended in-vector, in-string, and in-bytes
svn: r11124
2008-08-07 12:13:21 +00:00
Noel Welsh
ed0bd51c8b Add support for start/stop/step parameters to in-vector comprehension forms. Vector like comprehensions (strings etc) actually support this as well, when used in the body of the for comprehension. However this will not be documented as support do not extend to sequences defined outside a comprehension.
svn: r11068
2008-08-04 18:38:47 +00:00
Sam Tobin-Hochstadt
35575378d8 Add shorthands for define-require-syntax and define-provide-syntax.
Document shorthands.

svn: r11025
2008-08-01 18:48:48 +00:00
Eli Barzilay
b93cdc5803 minor
svn: r11001
2008-07-31 04:03:28 +00:00
Matthew Flatt
16b04d0328 fix syntax pattern-matching bug (PR 9643)
svn: r10989
2008-07-30 19:45:59 +00:00
Matthew Flatt
8140b3644e add 'bitwise-bit-set?' and 'in-value' (v4.0.2.6)
svn: r10971
2008-07-29 19:27:33 +00:00
Matthew Flatt
616ec71325 fix for/or and for/and when one of the clauses binds multiple values
svn: r10926
2008-07-26 21:38:39 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Matthew Flatt
867306caff new #lang planet reader; new sandbox-make-loger parameter
svn: r10833
2008-07-18 17:25:49 +00:00
Eli Barzilay
5a7ce88ac0 added filtered-in and -out
svn: r10826
2008-07-17 23:02:56 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Stevie Strickland
63a4e5af2e This was incorrectly syntaxed.
svn: r10700
2008-07-09 17:39:31 +00:00
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
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
Matthew Flatt
8ffe707b76 more r6rs work
svn: r8825
2008-02-29 02:37:00 +00:00
Matthew Flatt
682f356b45 3.99.0.14, define-require-syntax, define-provide-syntax, fix extreme corner case for identifier binding (a macro-introduced identifier that is unmarked and unrenamed)
svn: r8822
2008-02-28 17:15:54 +00:00
Matthew Flatt
5a646bfe18 r6rs io
svn: r8807
2008-02-26 22:15:02 +00:00
Matthew Flatt
743db7529d r6rs io work; compiler tweaks
svn: r8805
2008-02-26 13:54:54 +00:00
Matthew Flatt
8311c8f9e4 Eli's repaired and specialized sort, fix in 'for/fold' binding, generalized integers-bytes functions, and some r6rs work
svn: r8798
2008-02-25 14:42:32 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
31a9f69df5 typo
svn: r8784
2008-02-24 16:18:17 +00:00
Eli Barzilay
2e418f3f46 fixed sort to be stable, improved a little, properly test stability
svn: r8783
2008-02-24 16:04:17 +00:00
Eli Barzilay
1e002f2e5b fix #:help-labels
svn: r8781
2008-02-24 08:32:22 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
3ed0c89b8b fix expansion of lone 'lambda' in a module body
svn: r8758
2008-02-21 21:59:57 +00:00
Matthew Flatt
5427d8c546 fix enter!
svn: r8757
2008-02-21 18:45:23 +00:00
Matthew Flatt
f39b12a555 doc repairs and r6rs repairs
svn: r8754
2008-02-21 14:49:58 +00:00
Matthew Flatt
b953b448ba expose struct:struct-info
svn: r8753
2008-02-21 13:30:25 +00:00
Robby Findler
9692473c62 changed union to or/c
svn: r8747
2008-02-20 23:25:13 +00:00
Robby Findler
f0efed2a3e PR 9200
svn: r8746
2008-02-20 22:39:07 +00:00
Robby Findler
79f4b8ff30 removed union from scheme/contract
svn: r8745
2008-02-20 21:18:48 +00:00
Matthew Flatt
ba63bd6f95 3.99.0.13: generalize require and provide to work with arbitrary phases
svn: r8742
2008-02-20 14:17:37 +00:00
Eli Barzilay
8653264868 cleaned up the interface a little
svn: r8724
2008-02-19 15:20:37 +00:00
Eli Barzilay
3a03f08900 fix arity error message
svn: r8714
2008-02-19 07:36:49 +00:00
Matthew Flatt
b87d9a986e support documentation for bindings from a hypothetical module, as opposed to a specific module
svn: r8663
2008-02-14 16:59:26 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Matthew Flatt
b03e7426eb finish mzlib docs, except for contracts
svn: r8623
2008-02-11 21:37:03 +00:00
Eli Barzilay
82d0dd13f2 handle #f for sleep
svn: r8619
2008-02-11 14:20:54 +00:00
Matthew Flatt
6f057bd68c fix syntax-local-expand/capture-lifts
svn: r8614
2008-02-10 15:52:46 +00:00
Eli Barzilay
ae087c18b6 fixed error messages
svn: r8611
2008-02-10 06:19:58 +00:00
Matthew Flatt
1959c56743 doc and test repairs
svn: r8597
2008-02-09 13:01:39 +00:00
Eli Barzilay
8a17372db3 Make regexp-split and relatives work with empty matches like other
regexp packages (eg, Dorai's pregexp and Emacs).

svn: r8556
2008-02-06 19:19:44 +00:00
Eli Barzilay
6436441ebd minor things
svn: r8554
2008-02-06 11:35:01 +00:00
Eli Barzilay
ab64d26a21 yet further improvements
svn: r8553
2008-02-06 10:14:24 +00:00
Eli Barzilay
2ae21adbff use tail-calls for regexp iterations
svn: r8549
2008-02-06 02:49:19 +00:00
Matthew Flatt
8bac4b1d28 start scribbling mzlib (about half done)
svn: r8546
2008-02-05 22:07:35 +00:00
Eli Barzilay
f3bbc44451 Major cleanup, switch regexp-fn to a macro to clarify things
svn: r8545
2008-02-05 22:02:34 +00:00
Matthew Flatt
794e6c8a39 add #:use-sources to Scribble module declarations, so that scheme/base and mzscheme can better share documentation; finish documenting legacy mzscheme bindings
svn: r8538
2008-02-05 16:33:26 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
096ec546a6 fix struct-out; add -I configuration option
svn: r8530
2008-02-04 21:51:39 +00:00
Matthew Flatt
4c23a44fd5 fix module->namespace problem, add link to bug report page, fix tests
svn: r8470
2008-01-30 00:21:24 +00:00
Eli Barzilay
dbd27dafc6 * Added send-url/file that consumes a path and adds the file://, use
that in places that show docs.

* Made send-url quote characters that are possibly dangerous for
  subprocesses (good uses should call it wil already quoted urls).
  Also a keyword argument that can disable this, if someone really
  wants to.

* IE7 bug workaround finally working (but will need to switch from
  regedit to mred, to avoid vista warning).

svn: r8467
2008-01-29 21:38:27 +00:00
Matthew Flatt
17d717a8ba scheme/bool and scheme/local
svn: r8394
2008-01-23 18:11:02 +00:00
Matthew Flatt
b2dbe63ed1 small doc fixes, plus change to syntax pattern matching to allow null as a dotted match after ellipses
svn: r8384
2008-01-23 01:35:26 +00:00
Robby Findler
ccceb3368a fixed PR 9155
svn: r8368
2008-01-19 18:00:16 +00:00
Eli Barzilay
cd239fc23c minor code improvements, added ninth and tenth
svn: r8364
2008-01-18 16:04:43 +00:00
Matthew Flatt
63c5d8a7cb doc improvements: enter! and 'more'
svn: r8348
2008-01-16 14:09:59 +00:00
Matthew Flatt
b014545c7a added 'more: systems' doc
svn: r8341
2008-01-16 00:21:19 +00:00
Matthew Flatt
8b16cee613 start mzc scribbling
svn: r8334
2008-01-15 13:09:40 +00:00
John Clements
6267a19122 added mappend\!
svn: r8326
2008-01-14 23:07:24 +00:00
Matthew Flatt
05434ec54d change path->main-collects-relative, and change output directory of start document
svn: r8301
2008-01-11 19:54:38 +00:00
Matthew Flatt
2d08c17725 fix bug in deserializer; also change scribble eval to not use sandbox module mode
svn: r8280
2008-01-10 19:47:13 +00:00
Matthew Flatt
6487debfee keep props in include
svn: r8267
2008-01-08 23:49:35 +00:00
Matthew Flatt
6352736822 fix include/reader
svn: r8265
2008-01-08 22:16:01 +00:00
Robby Findler
a7f300543e improved keyword error messages a little bit
svn: r8240
2008-01-07 03:41:47 +00:00
Matthew Flatt
f3cb86dc1a sandbox Scribble evaluations; fix rational exact->inexact loss of precision
svn: r8238
2008-01-06 16:54:34 +00:00
Robby Findler
cda0888ab9 renamed string/len to string-len/c
svn: r8237
2008-01-06 15:53:50 +00:00
Matthew Flatt
7fc41024c0 3.99.0.9: binding links in docs use nominal import sources
svn: r8196
2008-01-03 19:07:02 +00:00
Robby Findler
3cf6ed4673 mostly finished the contract library changes
svn: r8195
2008-01-03 18:10:43 +00:00
Robby Findler
e7b5653dd6 finished case->
svn: r8178
2008-01-02 01:24:55 +00:00
Robby Findler
90de53d2b2 finished ->d
svn: r8166
2007-12-30 23:36:58 +00:00
Matthew Flatt
b9cc763355 scheme/runtime-path
svn: r8153
2007-12-29 14:18:15 +00:00
Matthew Flatt
1d8b21f53b disallow empty application; rename regexp-match/fail-without-reading to regexp-try-match
svn: r8152
2007-12-29 13:51:32 +00:00
Matthew Flatt
92ac61e806 scheme/mpair
svn: r8151
2007-12-29 12:30:25 +00:00
Matthew Flatt
d2aa4f610b re-fix error when keywords missing in app; fix defn to allow non-keyword args withotu default after keyword args
svn: r8140
2007-12-27 16:49:27 +00:00
Eli Barzilay
c719f1c506 newline after not-found message
svn: r8138
2007-12-27 16:32:48 +00:00
Matthew Flatt
53bf8bae8e 3.99.0.7: add prop:equal+hash
svn: r8137
2007-12-27 16:19:35 +00:00
Matthew Flatt
5c76cb507e finish mz docs
svn: r8123
2007-12-26 02:58:13 +00:00
Eli Barzilay
e3f8d7e74b better code organization
svn: r8116
2007-12-24 12:24:46 +00:00
Eli Barzilay
9ba922ff1c reformatting
svn: r8114
2007-12-24 11:29:33 +00:00
Matthew Flatt
396dd54b06 call-with-exception-handler change, plus some configure/Makefile changes that didn't help fix the built-on-10.5-for-10.4 problem but are still healthier in the long run
svn: r8102
2007-12-22 12:41:48 +00:00
Robby Findler
342eb86c10 finished the new ->*
svn: r8086
2007-12-20 20:35:58 +00:00
Matthew Flatt
d794bde875 liberalize un{quote,syntax}-spliciing to allow a non-list at the end of an enclosing list
svn: r8083
2007-12-20 14:00:15 +00:00
Matthew Flatt
6f45daa5f4 fix #%app bug when it starts with a keyword; PR 9122
svn: r8077
2007-12-20 01:45:35 +00:00
Matthew Flatt
a018da21f7 detect syntax-wrapped keyword for generate-temporaries
svn: r8074
2007-12-19 21:41:28 +00:00
Matthew Flatt
f70ea2d03a shared
svn: r8069
2007-12-19 21:32:07 +00:00
Matthew Flatt
415cd0bf15 lazy, force, delay in scheme/promise and scheme; clean up mzscheme some, and clean up the docs some
svn: r8053
2007-12-18 21:37:23 +00:00
Robby Findler
49f198dad7 fixed naming bugs and added a test suite to ensure that I preserve backwards compatibility with the old version of mzlib's contract system
svn: r8050
2007-12-18 20:49:33 +00:00
Robby Findler
a3f3dcb64d added keywords to ->*
svn: r8049
2007-12-18 20:19:11 +00:00
Robby Findler
0e43e1da8c added keywords to -> contract
svn: r8041
2007-12-17 23:48:30 +00:00
Matthew Flatt
5b984bc34e tweak mzscheme's help form
svn: r8036
2007-12-17 16:23:54 +00:00
Matthew Flatt
f5845e01a0 slideshow fixes
svn: r8035
2007-12-17 15:56:53 +00:00
Robby Findler
116241eee5 converted the contract test suite to use scheme/base and fixed bugs along the way
svn: r8032
2007-12-16 22:45:52 +00:00
Matthew Flatt
3e2e0ff02d more slideshow docs
svn: r8031
2007-12-16 14:19:10 +00:00
Matthew Flatt
fd1de94a48 change Scribble to complain about colliding tags
svn: r8025
2007-12-16 03:10:00 +00:00
Matthew Flatt
8f463ff1c4 fix err msg for last of non-list
svn: r8024
2007-12-16 01:15:40 +00:00
Robby Findler
8a7cdad926 removed links to old mzlib stuff and mzscheme module from the contract library (but not from all the libraries it depends on)
svn: r8023
2007-12-16 00:20:18 +00:00
Matthew Flatt
bfecd9e0f5 doc scribble/xref, and start net docs
svn: r8021
2007-12-15 23:36:23 +00:00
Matthew Flatt
c9aecb01f0 split setup/scribble-index into setup/xref and scribble/xref
svn: r8020
2007-12-15 22:10:29 +00:00
Robby Findler
9a0498b44d moved class, contracts, serialize, and traits into scheme/ and changed the class and contract interface so that contracts no longer depend on the class system (instead its the other way around)
svn: r8017
2007-12-15 18:46:55 +00:00
Matthew Flatt
f12a39d97b added scheme/help
svn: r8016
2007-12-15 18:02:05 +00:00
Matthew Flatt
138a38ea04 new scheme/cmdline, refine -r/-u to imply -N
svn: r7989
2007-12-13 15:04:20 +00:00
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
5a6f8aede3 sandbox doc and API tweaks
svn: r7972
2007-12-12 18:39:15 +00:00
Matthew Flatt
8e2ee94811 add scheme/cmdline
svn: r7969
2007-12-12 16:57:57 +00:00
Matthew Flatt
622cd0554d revised mzlib/sandbox in scheme/sandbox
svn: r7965
2007-12-12 13:47:02 +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
Matthew Flatt
5adbf6424b fix local expansion for printing wrapper to use the right #%app, etc.
svn: r7912
2007-12-07 14:34:11 +00:00
Matthew Flatt
9b96716432 improve arity error messages when keywords are involved
svn: r7887
2007-12-02 15:45:51 +00:00
Matthew Flatt
58684c1b0b doc corrections in quick and guide
svn: r7880
2007-12-01 01:47:32 +00:00
Matthew Flatt
d194a8b145 doc serialize
svn: r7875
2007-11-30 21:34:16 +00:00
Matthew Flatt
f520abb24c new-style define-serializable-struct
svn: r7871
2007-11-30 19:02:15 +00:00
Matthew Flatt
8930f31115 remove 'else' and '=>' bindings from 'mzscheme'
svn: r7859
2007-11-29 14:08:08 +00:00
Matthew Flatt
d42b8a68df ensure thst case' expansion is an expression
svn: r7856
2007-11-29 01:53:13 +00:00
Matthew Flatt
cbf636442b define-struct/derived and doc improvements
svn: r7844
2007-11-27 15:15:34 +00:00
Matthew Flatt
2c6a894474 fix mismatch between identifier and datums in module paths; revive HtDP language tests; fix quick's cache
svn: r7833
2007-11-26 00:38:58 +00:00
Matthew Flatt
1858ceb76e doc scheme/port
svn: r7821
2007-11-23 16:56:55 +00:00
Matthew Flatt
0cc6eac6db doc require/provide transformers and pretty-print
svn: r7820
2007-11-23 14:53:20 +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
0f700b8531 add lib'
svn: r7771
2007-11-19 22:46:22 +00:00
Matthew Flatt
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
John Clements
3503c4603a spefication -> specification
svn: r7726
2007-11-14 17:43:39 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00