Commit Graph

421 Commits

Author SHA1 Message Date
Stevie Strickland
93d6a5fc7c * Just use new marks instead of name mangling for the ctc-ids
* Set the 'inferred-name property appropriately.

svn: r13802
2009-02-23 14:36:28 +00:00
Stevie Strickland
8a6804c525 Need to use the srcinfo for the marked identifiers, not the unmarked ones.
If this is wrong, then we need to do the first-order checks after creating
the set! transformers.

svn: r13781
2009-02-21 19:03:49 +00:00
Stevie Strickland
b2c6dd5b9e This should have been a reference to the already verified contract.
svn: r13780
2009-02-21 18:59:25 +00:00
Matthew Flatt
24e4fd407b chat-noir literate small repairs
svn: r13765
2009-02-21 13:30:22 +00:00
Stevie Strickland
7e1ea98876 Pull back Robby's allowance of all struct options just a bit, plus handle
the ones we do allow natively.

svn: r13727
2009-02-18 21:14:50 +00:00
Robby Findler
cf856a33bf forward keywords
svn: r13725
2009-02-18 13:11:08 +00:00
Stevie Strickland
7e8816ce0f * Add initial version of define-struct/contract
* Allow uncontracted exports of syntax from a with-contract form.

svn: r13717
2009-02-18 02:25:45 +00:00
Stevie Strickland
770aab6700 Move first-order checks for free-var ctcs to before the body of the
with-contract expansion.

svn: r13713
2009-02-17 23:38:46 +00:00
Stevie Strickland
3ff2184a38 Add the first-order free variable contract checks I mentioned earlier.
svn: r13707
2009-02-17 20:50:56 +00:00
Stevie Strickland
d18a56a956 Okay, no infinite syntax unrolling, please.
svn: r13705
2009-02-17 20:32:04 +00:00
Stevie Strickland
cf916f51fa Forgot to add rename-transformers for unprotected ids.
svn: r13704
2009-02-17 19:58:26 +00:00
Stevie Strickland
999d9357ab * Fix it so we say definition or function in define/contract appropriately
again.
 * Fix horribly complicated and ridiculous version of with-contract with
   a more streamlined, and more importantly, correct version.

svn: r13703
2009-02-17 19:31:57 +00:00
Stevie Strickland
64a68db15d Initial attempt at free var contracts. Needs a little more work, but might
handle Robby's use cases.

svn: r13700
2009-02-17 18:18:53 +00:00
Stevie Strickland
10b89445c6 Do a little better here, including using id->contract-src-info instead of
just the identifier.

svn: r13631
2009-02-15 23:08:56 +00:00
Stevie Strickland
1943083cf9 Fix nested with-contracts by checking explicitly for ssps. Apparently
painting the bindings causes the ssp to later fail when you try to access
the parameter.  Not sure if this is a bug or not, will talk to Matthew.

svn: r13621
2009-02-15 21:59:22 +00:00
Robby Findler
435adfea0a PR 10073
svn: r13606
2009-02-15 14:44:12 +00:00
Robby Findler
eed5f52878 PR 10073
svn: r13595
2009-02-15 02:49:35 +00:00
Matthew Flatt
7b11c290f5 qq fixes, so that (quasiquote #(unquote lst)) is a syntax error
svn: r13517
2009-02-11 15:01:04 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Matthew Flatt
3d04e81fa0 fix arity error for method with optional arguments
svn: r13375
2009-02-03 13:13:53 +00:00
Stevie Strickland
72d551082d If we're using known-good-contract here, we won't always have an identifier
for the contract, so use the contract in that case.  Also rename to
contract-stx in make-with-contract-transformer so its name isn't misleading.

svn: r13269
2009-01-23 20:34:59 +00:00
Stevie Strickland
ffa59b4548 Fix with-contract so that it expands slowly into a series of begins instead
of erroneously attempting to head expand all the expressions before it does
any work.

Remove an extra verify-contract call in define/contract while we're at it.

svn: r13198
2009-01-18 05:21:29 +00:00
Stevie Strickland
16700ed8fc Now that I know what's going on, we no longer have to shift all the
generated defines towards the bottom (which didn't help anyway).

Notice how marker-f is now defined -- that's the solution Matthew presented
to me.

svn: r13196
2009-01-18 05:00:43 +00:00
Stevie Strickland
9142823419 Forgot to remove a paren from my quick edit on the command line there.
svn: r13190
2009-01-17 19:49:13 +00:00
Stevie Strickland
0401130784 Here, let's store this change I was working on to fix up the expansion of
with-contract (since I can't head-expand-all like I was erroneously thinking).

svn: r13189
2009-01-17 19:44:28 +00:00
Stevie Strickland
6672638df1 Syncing up.
svn: r13154
2009-01-15 17:57:25 +00:00
Matthew Flatt
6aea96cb5c improve name of class field accessors/mutators
svn: r13150
2009-01-15 13:49:04 +00:00
Stevie Strickland
8b5b007a51 We want to cover the marked version of the identifier (which has the proper
value), not the "regular" version that's now a transformer to a contracted
version of the marked identifier (and thus double-contracting here).

svn: r13145
2009-01-15 09:11:50 +00:00
Stevie Strickland
8ef9977f57 Change contract error reporting back to how it was (at least how it is on
unit-contracts, which avoids the spacing issue), and just change the blame
notation so that we can still report the region/definition stuff.

svn: r13122
2009-01-14 21:21:59 +00:00
Stevie Strickland
9facb3ffaf Forgot a quote-syntax here, so unprotected ids weren't being transformed
correctly.

svn: r13121
2009-01-14 20:58:38 +00:00
Stevie Strickland
5ac3135cd6 Syncing up here as well.
svn: r13118
2009-01-14 18:27:06 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
455999eadd Add first-order contract checking at definition time.
svn: r13095
2009-01-13 20:52:58 +00:00
Stevie Strickland
4899d91b97 Lacked unprotected ids, and c should have never been false here anyway.
svn: r13093
2009-01-13 20:40:36 +00:00
Stevie Strickland
1cede752f9 Not sure whether we want just a simple rename transformer for non-contracted
ids or whether we really want a set! transformer that still disallows set!ing.
Hmm.

svn: r13090
2009-01-13 19:41:52 +00:00
Stevie Strickland
909dd82f7c Using splicing-syntax-parameterize and a syntax-introducer instead of
what I had originally.

svn: r13089
2009-01-13 19:36:54 +00:00
Stevie Strickland
51da9beab4 This is a change I was toying with that shouldn't have gotten caught up in
the trunk sync of 13084.

svn: r13088
2009-01-13 19:01:21 +00:00
Stevie Strickland
2537508865 Syncing on up
svn: r13084
2009-01-13 01:05:50 +00:00
Matthew Flatt
a58010fd0d scheme/class: fix local member names to provide an better message on misuse, and to declare itself as an expression form
svn: r13050
2009-01-09 21:00:50 +00:00
Stevie Strickland
22ee00b10f Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
Lyndon LaRouche was right!

svn: r13037
2009-01-08 14:55:23 +00:00
Robby Findler
c9ebe9bba3 changed the way or/c works; PR 10010
svn: r13030
2009-01-07 16:48:17 +00:00
Robby Findler
97e00eef97 fixed a bug in the ->d contract checking (wrt tail dropping)
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0 changed ->d so that it only checks the contract just above, not many above
svn: r12986
2009-01-03 16:40:54 +00:00
Stevie Strickland
6d966c80af Syncing
svn: r12982
2009-01-03 03:09:06 +00:00
Matthew Flatt
b2d0a37f7b add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls
svn: r12979
2009-01-02 21:57:31 +00:00
Matthew Flatt
e92b588985 macro-expansion performance tweaks
svn: r12972
2009-01-02 16:50:32 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
0cd2537a82 add equal<%> ad interface*
svn: r12946
2008-12-28 15:05:02 +00:00
Stevie Strickland
dd5afccd82 Catch up to now.
svn: r12742
2008-12-08 17:02:26 +00:00
Matthew Flatt
89d0801d7a change quote-syntax to include a certificate for the enclosing module, enable certificate checking of phase-1 bindings, and fix some other problems with certificates
svn: r12714
2008-12-05 22:45:04 +00:00
Matthew Flatt
66a0c27703 avoid shared mutation of break state across with-handlers procs
svn: r12706
2008-12-04 23:04:33 +00:00
Stevie Strickland
e94cadd86d Syncing -- nothing to see here.
svn: r12660
2008-12-01 15:11:00 +00:00
Matthew Flatt
6e9ccd3f43 better checking of case where a local name is used before it is defined (in an int-def context)
svn: r12659
2008-12-01 12:54:16 +00:00
Stevie Strickland
581800ad8c Splicing syntax parameterize, here I come!
svn: r12601
2008-11-26 22:42:32 +00:00
Matthew Flatt
2c48c2c817 splicing-syntax-parameterize and docs for scheme/splicing
svn: r12600
2008-11-26 21:31:58 +00:00
Stevie Strickland
6f83ed1a80 Sync that beautiful trunk footage
svn: r12593
2008-11-25 21:18:04 +00:00
Matthew Flatt
a0f91d905e revised internal-definitions context and a basic 'define-package' form
svn: r12579
2008-11-24 19:52:41 +00:00
Stevie Strickland
702c1b7af2 Syncerating the countryside
Syncerating the peasants
Syncerating all the peoples
in the thatched-roof COTTAGES!
THATCHED-ROOF COTTAGES!

svn: r12578
2008-11-24 17:52:56 +00:00
Eli Barzilay
5b9f0aa322 Implemented a `no-empty-edge-matches' function using the new
`make-regexp-tweaker', which produces a regexp that cannot match an
empty string at the beginning or the end of the input.  This:
* simplies a whole bunch of messy and fragile code
* makes `regexp-split' and friends usable with a pattern like #px"\\b"
  (which previously would match in every position, making it explode
  the string to 1-character strings)
* makes it even closer to what perl does, the only way that we produce
  a different result from perl now is that we don't blindly drop empty
  matches at the end like perl (it *does* keep empty matches in the
  beginning though)
The two tests that demonstrated the difference are now changed, and a
bunch of other tests added.

svn: r12575
2008-11-23 05:40:54 +00:00
Eli Barzilay
ecb39eedee added make-regexp-tweaker (not used yet), and some code reorganization
svn: r12573
2008-11-23 00:17:39 +00:00
Stevie Strickland
3212d11712 Add all changes from branches/with-contract (which this branch will replace
eventually), plus a couple of fixes in contract-test.ss.

svn: r12451
2008-11-14 16:48:17 +00:00
Matthew Flatt
02277342ac substitute Scheme-implemented map, for-each, andmap, and ormap in scheme/base and mzscheme, since the JIT generates faster code for the common 1- and 2-argument cases
svn: r12393
2008-11-11 22:25:24 +00:00
Matthew Flatt
a6d953b6f5 add port->string, file->string, etc.
svn: r12388
2008-11-11 17:55:14 +00:00
Matthew Flatt
ad75c8aa58 fix problems in lex-rename simplification; other tiny improvements and doc repairs
svn: r12380
2008-11-10 22:50:54 +00:00
Robby Findler
773aaca3ba made mutual recursion work for ->d
svn: r12366
2008-11-09 13:42:46 +00:00
Robby Findler
2394848555 function contracts now preserve tail recursion
svn: r12360
2008-11-09 02:31:25 +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
062152e711 fixed PR9806 and PR9807
svn: r11940
2008-10-05 04:42:48 +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
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
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
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
Matthew Flatt
c09b9baae8 fix stxparam bug (from Olin via Sam)
svn: r11304
2008-08-18 22:19:18 +00:00
Matthew Flatt
0715f3d7f9 fix rationalize on inexact arguments
svn: r11215
2008-08-13 10:52:53 +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
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
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
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
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
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Eli Barzilay
1ffd3f5ba0 type (PR9535)
svn: r10419
2008-06-23 06:42:43 +00:00
Matthew Flatt
bba93038ed 'for' macro certification needs to propagate certs
svn: r10269
2008-06-15 16:03:14 +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
Matthew Flatt
860c41d749 drs bug and test-suite fixes
svn: r9709
2008-05-06 23:27:23 +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
Matthew Flatt
efa0f5f396 fix syntax-case bug
svn: r9553
2008-04-30 23:38:24 +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
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
f19cdb4fe2 a little better comment on filter
svn: r9431
2008-04-23 17:06:42 +00:00
Matthew Flatt
e25e7a1098 keyword in methods and apply; procedure-reduce-keyword-arity
svn: r9396
2008-04-22 18:00:04 +00:00
Matthew Flatt
a0f65ba33e dictionaries
svn: r9383
2008-04-21 17:26:35 +00:00
Matthew Flatt
46b8b435ca export checked-struct-info?
svn: r9300
2008-04-14 19:20:58 +00:00
Sam Tobin-Hochstadt
13b7f8c506 Add checked-struct-info.
svn: r9227
2008-04-09 23:25:30 +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
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
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
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
Matthew Flatt
c81eb6ede0 add in-lines and some doc clarifications
svn: r9072
2008-03-23 13:25:56 +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
Matthew Flatt
3a763f3bcc generalized except-out
svn: r9015
2008-03-18 13:38:13 +00:00
Robby Findler
9ba432ab9c added the _ special case to ->d
svn: r8998
2008-03-17 04:01:39 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Matthew Flatt
9ecf9dfe4a fix some error-message reporting for mzscheme define-struct
svn: r8953
2008-03-11 21:14:40 +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
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
bb5fe5e47c Provide find-method/who and do-make-object, for Typed Scheme.
svn: r8841
2008-03-01 23:09:23 +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
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
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
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
3a03f08900 fix arity error message
svn: r8714
2008-02-19 07:36:49 +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
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
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
096ec546a6 fix struct-out; add -I configuration option
svn: r8530
2008-02-04 21:51:39 +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
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
Robby Findler
a7f300543e improved keyword error messages a little bit
svn: r8240
2008-01-07 03:41:47 +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
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
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
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
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
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
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
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
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
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
622cd0554d revised mzlib/sandbox in scheme/sandbox
svn: r7965
2007-12-12 13:47:02 +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
d194a8b145 doc serialize
svn: r7875
2007-11-30 21:34:16 +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
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