Commit Graph

624 Commits

Author SHA1 Message Date
Robby Findler
4ddbe71e2d fixed the comparison contracts so they work right wrt to complex numbers
svn: r16445
2009-10-28 16:04:39 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Stevie Strickland
a7ff1cba83 Add definition checks back.
svn: r16377
2009-10-19 23:45:06 +00:00
Stevie Strickland
c17885638a * Fix with-contract so that all uncontracted names are automatically exported
* Also allow mutation of contracted names that flow in/out of with-contract.

svn: r16376
2009-10-19 23:17:30 +00:00
Robby Findler
7dbd784048 PR 10518
svn: r16282
2009-10-08 16:32:37 +00:00
Matthew Flatt
4e35bda756 add some missing prefixes for static struct info
svn: r16219
2009-10-02 17:38:15 +00:00
Kevin Tew
a25ddaae54 kernstruct.ss in scheme/private, makeexn generates kernstruct.ss
svn: r16215
2009-10-02 14:31:45 +00:00
Sam Tobin-Hochstadt
65d804d286 Add disappeared-use properties for struct ids.
Fix bug with handling of identifier as second arg to `define-match-expander'

svn: r16201
2009-10-01 18:59:12 +00:00
Matthew Flatt
95235a4522 fix problem with regexp-match*, etc. and byte regexps (merge to 4.2.2)
svn: r16133
2009-09-26 18:50:41 +00:00
Matthew Flatt
eab6803895 change sandbox to allow read from the planet directory; delay some path calculations in other libraries to avoid sandbox prohibitions (but the ones in Scribble seem like too much)
svn: r16122
2009-09-24 14:54:15 +00:00
Jon Rafkind
ded3dc04ba export mzlib/trace from the scheme collection
svn: r16106
2009-09-22 04:39:20 +00:00
Stevie Strickland
636adcc142 Refactoring all the private contract stuff into its own playpen.
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
3805186531 Add scheme/contract/base.
svn: r16051
2009-09-17 19:52:00 +00:00
Stevie Strickland
70e8f21ba2 Refactoring scheme/private/contract into reasonably sized pieces.
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e First moving private/contract.ss to a different name. The diaspora from
that file into others will happen next.

svn: r16048
2009-09-17 17:42:45 +00:00
Eli Barzilay
80a386e482 minor fixes
svn: r16012
2009-09-14 21:21:28 +00:00
Jon Rafkind
6137510396 make generators use a parameterized yield function
svn: r16010
2009-09-14 21:11:07 +00:00
Matthew Flatt
374a70d9f1 move pretty-print implementation from mzlib to scheme
svn: r15990
2009-09-13 13:56:22 +00:00
Jon Rafkind
bba25510ea define-struct/contract:
fix looping over keywords
  allow #:property keyword
  cleanup syntax errors

svn: r15973
2009-09-11 17:37:40 +00:00
Matthew Flatt
d4e40e0b25 fix some problems with sandboxes and extension (PR 10381) and Snow Leopard extension building (also demonstrated by PR 10381)
svn: r15964
2009-09-10 19:39:37 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +00:00
Stevie Strickland
3c5511e5b0 We shouldn't blame the context for both positive and negative here -- the
positive blame should be the struct itself.  We'll get that blame via
(current-contract-region), since the expression is within the with-contract.

svn: r15890
2009-09-05 17:33:28 +00:00
Jon Rafkind
e9e1d4b5b7 define-struct/contract can handle sub-typing now
svn: r15887
2009-09-05 16:47:59 +00:00
Robby Findler
5f688d1144 added scheme/exists lang and some docs in the guide about #:exists contracts
svn: r15879
2009-09-04 17:58:08 +00:00
Robby Findler
937d2efab3 added exists to provide/contract
svn: r15871
2009-09-04 04:52:02 +00:00
Robby Findler
4532602b5a svn: r15854 2009-09-01 21:43:41 +00:00
Robby Findler
5c73253e03 changed the low-level api for contracts so the projections accept an extra argument indicating if the contract is being used positively or negatively
svn: r15850
2009-09-01 16:25:08 +00:00
Ryan Culpepper
38fc6c8e67 fixed PR 10418 (keyword args in procedure contracts)
svn: r15847
2009-09-01 15:08:06 +00:00
Ryan Culpepper
d015699db5 fixed typo
svn: r15830
2009-08-29 23:02:55 +00:00
Eli Barzilay
9ecbffa70e svn: r15818 2009-08-27 20:34:18 +00:00
Jon Rafkind
e4f86edbed a few name changes
svn: r15816
2009-08-27 16:42:12 +00:00
Eli Barzilay
78471a5b86 better name-age
svn: r15815
2009-08-27 16:08:27 +00:00
Eli Barzilay
572f7f849b suggested revision
svn: r15812
2009-08-27 12:16:26 +00:00
Eli Barzilay
ec9fc2571a Added `in-producer'.
(Note that `test-generator' tests use quasiquote for the expected result).

svn: r15811
2009-08-27 09:15:52 +00:00
Jon Rafkind
f63a9046af comment about define-sequence-syntax
svn: r15810
2009-08-26 22:05:13 +00:00
Jon Rafkind
4697b7fd6f use gensym and dont keep track of position
svn: r15808
2009-08-26 21:43:42 +00:00
Jon Rafkind
56c4fe6c7d cosmetic fixes. add in-generator
svn: r15807
2009-08-26 21:29:02 +00:00
Eli Barzilay
98f9472dd4 reformat
svn: r15806
2009-08-26 21:07:42 +00:00
Eli Barzilay
ab7caff9bc reformat
svn: r15805
2009-08-26 21:05:04 +00:00
Jon Rafkind
f61f933b8b add library for creating generator sequences
svn: r15803
2009-08-26 20:54:22 +00:00
Stevie Strickland
8ae58f1244 Primarily this is a change so that the negative party entering into
with-contract based contracts is the syntactic context of the with-contract
expression.  Also, there's some code cleanup.

svn: r15665
2009-08-03 21:15:44 +00:00
Robby Findler
b5b32d1d8e added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
svn: r15635
2009-07-30 05:17:40 +00:00
Matthew Flatt
a47d94f75f add file-or-directory-identity (4.1.2.5)
svn: r15623
2009-07-29 17:39:03 +00:00
Eli Barzilay
3b194ff070 error typo
svn: r15593
2009-07-28 06:18:28 +00:00
Eli Barzilay
af5614455a some reformatting
svn: r15592
2009-07-28 05:05:17 +00:00
Matthew Flatt
0cccedabb4 export Scheme-implemented ormap (for 1 and 2 lists), which was accidentally unexported before
svn: r15471
2009-07-17 11:08:39 +00:00
Matthew Flatt
ba87f38f72 improve checker for optional keywords
svn: r15432
2009-07-11 15:23:07 +00:00
Matthew Flatt
2b5f12b6fa fix broken 'case' improvement!
svn: r15429
2009-07-11 04:04:19 +00:00
Matthew Flatt
b2e39baa26 improve expansion of 'case' for a clause with 2 or 3 values
svn: r15428
2009-07-11 04:03:20 +00:00
Matthew Flatt
ab1db74ecc more keyword-argument performance improvements, including general fast path for applying simple applicable-struct wrappers over plain procedures
svn: r15403
2009-07-08 13:57:16 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Matthew Flatt
6d8c6e4f09 revise keyword implementation to reduce overhead
svn: r15368
2009-07-03 03:10:25 +00:00
Robby Findler
8fbc4f86aa svn: r15364 2009-07-02 16:21:40 +00:00
Eli Barzilay
c072d23baf reformat, etc
svn: r15361
2009-07-02 03:27:19 +00:00
Robby Findler
2b5e836b74 fixed a bug mentioned on the mailing list
svn: r15352
2009-07-01 14:02:55 +00:00
Jay McCarthy
3141c3736f Adding struct* to scheme/match
svn: r15255
2009-06-24 19:36:26 +00:00
Matthew Flatt
7f019819e0 allow empty splicing-syntax-parameterize body in a defn context (PR 10311)
svn: r15251
2009-06-24 13:17:17 +00:00
Matthew Flatt
8e5993f99f fix serialization problems
svn: r15241
2009-06-23 12:07:54 +00:00
Matthew Flatt
36f3ed4465 expose and support unreadable symbols, which are generated during expansion
svn: r15239
2009-06-23 00:17:45 +00:00
Robby Findler
ed4f066bb6 svn: r15213 2009-06-19 14:57:47 +00:00
Robby Findler
ec44ee7df1 added hash/c
svn: r15210
2009-06-18 21:31:33 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
233df48709 Fixed module-specs->non-lib-paths which was very broken in several different ways (PR10305)
svn: r15180
2009-06-15 21:44:54 +00:00
Eli Barzilay
5f7e052469 removed old unused argument
svn: r15179
2009-06-15 20:43:33 +00:00
Matthew Flatt
62325eb7cf fix bugs related to changes in keyword-argument error messages
svn: r15098
2009-06-05 21:45:05 +00:00
Matthew Flatt
ae7dab88d3 change expansion of application with keyword arguments to use quoted lists instead of lifting
svn: r15083
2009-06-04 21:44:20 +00:00
Matthew Flatt
118d0e7a3c adjust error messages for keyword-related function-call problems
svn: r15068
2009-06-03 19:19:48 +00:00
Matthew Flatt
395301a1c6 scheme/gui/init reexports scheme/init
svn: r15064
2009-06-03 11:56:36 +00:00
Matthew Flatt
43a3a326b7 hash quasiquote on hash tables (PR 10266) (merge to 4.2)
svn: r15003
2009-05-28 13:02:42 +00:00
Matthew Flatt
de0fc2e745 fix syntax patterns on prefabs (PR 10268) (merge to 4.2)
svn: r15001
2009-05-28 03:01:45 +00:00
Matthew Flatt
070ed03d90 fix custodian problem with register-finalizer
svn: r14988
2009-05-26 20:01:54 +00:00
Sam Tobin-Hochstadt
1b2013dd73 Fix error reporting when first clause is not a list.
Ok for 4.2.

svn: r14965
2009-05-23 23:51:52 +00:00
Eli Barzilay
b9a7dc01b8 scheme' is now srfi/1-free. (All delete-duplicate' requires were
not necessary.)

svn: r14956
2009-05-23 08:42:17 +00:00
Matthew Flatt
70859f0d0b identifier-prune-lexical-context (4.2.0.2)
svn: r14850
2009-05-17 12:31:51 +00:00
Matthew Flatt
440a60c8ad fix make-custom-weak-hash (PR 10232)
svn: r14762
2009-05-09 13:37:28 +00:00
Matthew Flatt
57ff3c2486 fix foldr/foldr argument checking (PR 10215)
svn: r14706
2009-05-04 02:20:06 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
db90b44b0d make const accept arbitrary keywords
svn: r14700
2009-05-03 22:08:57 +00:00
Eli Barzilay
a1d943146b added a nullary case to compose
svn: r14697
2009-05-03 20:41:37 +00:00
Eli Barzilay
3ca6ac2175 added stupid make-list and stupid const
svn: r14693
2009-05-03 16:17:48 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Robby Findler
6d08558ab7 fixed a bug in my earlier bugfix (also PR 10221)
svn: r14662
2009-04-29 21:08:01 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
Robby Findler
de6c1a524d PR 10219
svn: r14654
2009-04-29 16:38:31 +00:00
Robby Findler
87c9aba9e0 added a little optimization to provide/contract
svn: r14646
2009-04-29 03:48:45 +00:00
Matthew Flatt
f51f8c8b7f avoid generating unnecessary struct-accessor and -mutator names
svn: r14566
2009-04-20 13:14:40 +00:00
Eli Barzilay
3b39cfc4b8 fixed two uses of raise-type-error (PR 10208)
svn: r14555
2009-04-18 18:15:33 +00:00
Matthew Flatt
4b3626c156 fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
svn: r14548
2009-04-17 22:50:19 +00:00
Matthew Flatt
7d61c67bab fix handling of define*-values between a syntax binding and a syntax-local-value
svn: r14541
2009-04-17 12:29:04 +00:00
Matthew Flatt
09320cea1c tiny object-instantiation perf. tweak
svn: r14534
2009-04-16 21:24:42 +00:00
Matthew Flatt
709ad23400 performance improvements: class local-field access uses accessor with index built in (so the index is checked once); JIT partially inlines struct-field mutation
svn: r14530
2009-04-16 19:01:20 +00:00
Stevie Strickland
b7063fc563 Fix error message in define/contract.
svn: r14522
2009-04-15 15:43:04 +00:00
Matthew Flatt
0be3dca240 check-syntax binding for open-package's package id
svn: r14498
2009-04-13 14:52:14 +00:00
Matthew Flatt
5d0416aec9 David's build-list
svn: r14472
2009-04-09 00:58:13 +00:00
Eli Barzilay
4aab5e4eab use void for true predicates, makes things run faster
svn: r14451
2009-04-08 00:02:57 +00:00
Matthew Flatt
de1e2fac23 scheme/package simplifications from Chongkai
svn: r14448
2009-04-07 20:36:08 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Eli Barzilay
76c2d9eceb rehack the argument formatting hack
svn: r14436
2009-04-06 12:18:42 +00:00
Eli Barzilay
2cc94cbf02 reformat some
svn: r14435
2009-04-06 11:17:15 +00:00
Eli Barzilay
06636c1813 added in-sequences and in-cycle
svn: r14424
2009-04-05 08:29:17 +00:00