Commit Graph

816 Commits

Author SHA1 Message Date
Stevie Strickland
6e86da95e6 Actually make this used specifically for blame, not the unit name.
We might end up collapsing this and what's introduced in with-contract.

svn: r13140
2009-01-15 05:17:27 +00:00
Stevie Strickland
dbe366c6a0 Add error checking for contracted form, also added documentation in reference
svn: r13135
2009-01-15 00:42:49 +00:00
Stevie Strickland
c7ee5b600c Change this more to how it should be.
svn: r13124
2009-01-14 21:35:07 +00:00
Stevie Strickland
5ac3135cd6 Syncing up here as well.
svn: r13118
2009-01-14 18:27:06 +00:00
Stevie Strickland
4ca79e31ff Syncing up to trunk.
svn: r13115
2009-01-14 16:45:50 +00:00
Stevie Strickland
12fc114993 Let's just make some differently painted identifiers so that some
error messages won't reveal the non-similarly-named ids behind the
curtain.

(I have my hammer, and damn if I won't use it.)

svn: r13107
2009-01-14 03:14:26 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
b5efb99548 Going to try switching this back, but need to sync from trunk to get Matthew's
changes to see if it works.

svn: r13098
2009-01-14 01:12:52 +00:00
Stevie Strickland
37b2272ecf Move away from using the error-syntax to grab the unit name wherever we want
it -- just use a syntax parameter.

svn: r13096
2009-01-13 23:08:47 +00:00
Stevie Strickland
0db2eb851a Allow multiple identifier/contract pairs in the same contracted form.
svn: r13054
2009-01-09 22:22:24 +00:00
Stevie Strickland
af69c0bbec Tag the contracts so we know what are truly contracts and which are just
placeholder #fs.

svn: r13048
2009-01-09 19:50:28 +00:00
Stevie Strickland
bae2c7b5e1 Basically write begin-with-definitions here by hand, which _does_ work.
So that should pretty much give us unit contracts, modulo whether we can
separate out the projections so that contracts aren't checked twice
inappropriately.

svn: r13047
2009-01-09 19:08:03 +00:00
Stevie Strickland
8d1b82bcd2 There's no need for the special-casing define-values with one binding, so
simplify this.

svn: r13044
2009-01-09 00:59:04 +00:00
Stevie Strickland
a932bfc84a Small fixes
svn: r13043
2009-01-09 00:33:43 +00:00
Stevie Strickland
e402d7ea36 We do _not_ want (void) last, we want it first here.
svn: r13040
2009-01-08 20:52:18 +00:00
Stevie Strickland
bf0d872afd Changed to be more like what Sam and I envisioned.
svn: r13039
2009-01-08 20:50:33 +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
Stevie Strickland
d5f0b90981 My fellow Americans. As a young boy, I dreamed of being a baseball,
but tonight I say, we must move forward, not backward, upward, not
forward, and always twirling, twirling, twirling towards freedom.

svn: r13036
2009-01-08 14:53:46 +00:00
Matthew Flatt
0663588ee1 change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
svn: r13031
2009-01-07 17:49:14 +00:00
Robby Findler
cda64e40da opened up the trace library a little more to make it more useable for Redex
svn: r13027
2009-01-07 15:44:07 +00:00
Matthew Flatt
61685c72f9 revised Mac OS X sleeping; optional atomic mode for FFI callbacks
svn: r13016
2009-01-06 13:07:45 +00:00
Eli Barzilay
8a2753efb8 2008 -> 2009
svn: r13001
2009-01-04 15:34:50 +00:00
Matthew Flatt
d596401804 scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
svn: r12992
2009-01-03 18:51:15 +00:00
Stevie Strickland
6d966c80af Syncing
svn: r12982
2009-01-03 03:09:06 +00:00
Stevie Strickland
a80ac8d72f Syncing up.
svn: r12981
2009-01-03 02:51:36 +00:00
Matthew Flatt
1c38bd2d3f fix unit signature 'open' by adjusting 'rename', 'only', and 'execpt'
svn: r12964
2009-01-01 21:15:56 +00:00
Stevie Strickland
9e4d8d08b9 Syncing
svn: r12929
2008-12-23 03:20:02 +00:00
Stevie Strickland
4f002a60d5 Sync again
svn: r12928
2008-12-23 03:05:16 +00:00
Matthew Flatt
ec600c59bb fine-tune typechecking index entry
svn: r12920
2008-12-21 13:57:46 +00:00
Matthew Flatt
82ead03b92 change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
svn: r12913
2008-12-20 05:09:35 +00:00
Eli Barzilay
a62b6a3128 fix _-identifier? typo
svn: r12912
2008-12-20 03:06:59 +00:00
Matthew Flatt
7dc56df949 add FFI types _string/utf-16/null and _string/ucs-4/null
svn: r12911
2008-12-19 23:59:33 +00:00
Stevie Strickland
d81776083f Sync
svn: r12899
2008-12-19 05:43:50 +00:00
Stevie Strickland
3def625a77 Sync
svn: r12898
2008-12-19 05:42:21 +00:00
Matthew Flatt
2c95f77c31 ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
svn: r12890
2008-12-18 20:05:21 +00:00
Stevie Strickland
29487b251e I guess this documentation got lost at some point during the various branch
moves, so add it back.

svn: r12888
2008-12-18 17:13:13 +00:00
Stevie Strickland
48ea3995b4 Another day, another sync.
svn: r12887
2008-12-18 15:24:18 +00:00
Eli Barzilay
6283205982 ctype-basetype now holds:
* a symbol naming the type for primitive types
* a list of ctypes for cstruct types
* another ctype for user-defined ctypes

svn: r12882
2008-12-18 06:48:10 +00:00
Stevie Strickland
821a3ae900 Remove unused argument
svn: r12872
2008-12-16 20:35:19 +00:00
Stevie Strickland
f7c37571ce Handle this similarly to scheme/private/contract.
svn: r12869
2008-12-16 19:42:06 +00:00
Stevie Strickland
bc62c06e1c These lets aren't doing anything, so remove them.
svn: r12769
2008-12-10 19:29:21 +00:00
Stevie Strickland
8bc883d1cb Last changes, everything works up to here.
svn: r12765
2008-12-10 18:51:40 +00:00
Stevie Strickland
56854a84bd I'd like a better way of handling export contracts (some of the work that
should be doable at compile time is being done at run time), but at least
this works for now and gives us a chance to play around with it.

svn: r12763
2008-12-10 17:19:39 +00:00
Stevie Strickland
90ad3f9221 Do the let so that (hopefully) the contract errors will get reported on the
identifier.  With a small change in scheme/contract, it does, but even with
this, it doesn't seem to.  How odd.

svn: r12760
2008-12-09 23:16:48 +00:00
Stevie Strickland
a9be78545d Add contracts to unit imports and values imported via
define-values/invoke-unit.  We still need contracts on unit exports,
and we might want to do the stuff here in a cleaner fashion (particularly
for define-values/invoke-unit).

svn: r12759
2008-12-09 22:14:11 +00:00
Stevie Strickland
52b76b8dfa Removing the work that's now on unit-contracts.
svn: r12744
2008-12-08 17:09:33 +00:00
Stevie Strickland
bf5dddbd13 Adding current unit contract work over here.
svn: r12743
2008-12-08 17:06:53 +00:00
Stevie Strickland
beb5f19530 Now to move the contract info appropriately into sigs from signatures.
svn: r12712
2008-12-05 17:55:47 +00:00
Stevie Strickland
1b4d2cb7bf Start on adding contracts to units. Here we're just adding contract(ed) forms,
but they're not (yet) used further in.

svn: r12711
2008-12-05 17:47:37 +00:00
Stevie Strickland
e94cadd86d Syncing -- nothing to see here.
svn: r12660
2008-12-01 15:11:00 +00:00
Eli Barzilay
7ea8ab6592 switch to #lang, reformat
svn: r12655
2008-12-01 03:21:46 +00:00
Stevie Strickland
6f83ed1a80 Sync that beautiful trunk footage
svn: r12593
2008-11-25 21:18:04 +00:00
Matthew Flatt
ed536c002e scheme/package (and more int-def repairs)
svn: r12589
2008-11-25 17:58:21 +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
eca59f6b1d Missed a file.
svn: r12452
2008-11-14 16:49:10 +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
Eli Barzilay
987b164478 better syntax error message when define-cstruct gets an identifier without a _
svn: r12420
2008-11-13 02:18:16 +00:00
Matthew Flatt
a6d953b6f5 add port->string, file->string, etc.
svn: r12388
2008-11-11 17:55:14 +00:00
Matthew Flatt
209b252f2c fix shared on top-level 'list' binding
svn: r12387
2008-11-11 17:53:12 +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
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
Matthew Flatt
8b666c1710 streamline srfi-4 index-argument check
svn: r12155
2008-10-28 12:12:09 +00:00
Matthew Flatt
bb7d3d1a28 fix 'local-expand' checking of stop list to disallow symbols; extend 'continuation-marks' to work on threads; fix HtDP language module-level stop list
svn: r12101
2008-10-23 13:38:03 +00:00
Matthew Flatt
e2d4bc0d2b finish decompiler on syntax objects
svn: r12077
2008-10-21 00:10:47 +00:00
Matthew Flatt
7a55275a26 unit bug fixes related to new scoping of signature elements; change scribble/manual to compute ids typeset as variables at compile time, in preparation for moving from a parameter to syntax bindings; fix docs typos; extend decompiler's support for unmarshaling syntax objects
svn: r12046
2008-10-15 22:23:56 +00:00
Matthew Flatt
8b595ed120 make-syntax-delta-introducer and adjusted binding in scheme/unit forms
svn: r12032
2008-10-14 13:27:43 +00:00
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Eli Barzilay
2bd0019110 register-finalizer is not unsafe
svn: r11994
2008-10-12 06:13:46 +00:00
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Eli Barzilay
2886a95318 * Exported `cvector-ptr'
* Added `#:hold' to `_fun' for callbacks (will be changed to `#:keep'
  soon, but better to have a checkpoint)
* _cprocedure also has a `hold' argument, and is now using keyword
  arguments (it was getting crowded in the optional arguments
  department)
* Documented everything that changed, with a longish descrption for
  options for holding callback values.
* More tests, including tests for callbacks that would crash if the
  callback values are not held.

svn: r11931
2008-10-04 19:01:17 +00:00
Eli Barzilay
c8be2b6f57 make _cpointer types return the result of the scheme->c function, if any
svn: r11888
2008-09-27 06:35:08 +00:00
Sam Tobin-Hochstadt
9b6a8d2e5a Fix print-convert on keywords.
svn: r11856
2008-09-24 19:55:52 +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
4302033e82 svn: r11741 2008-09-14 03:50:20 +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
1a8b6cb824 fix mistakes in augment corrections; fix runtime-path handling of lib paths
svn: r11577
2008-09-08 19:44:32 +00:00
Eli Barzilay
7becde46d4 mostly just a re-indentation
svn: r11544
2008-09-04 22:12:14 +00:00
Eli Barzilay
e5686a5577 use stdcall for windows kernel functions
svn: r11543
2008-09-04 22:07:23 +00:00
Eli Barzilay
ade8dfad31 added #:abi keyword spec to _fun
svn: r11542
2008-09-04 22:05:10 +00:00
Danny Yoo
b44494abe5 Disabling debug printf statement.
svn: r11538
2008-09-04 19:35:51 +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
Eli Barzilay
2a2977d804 move mzlib/cm and mzlib/cm-accomplice to compiler
svn: r11313
2008-08-19 00:15:00 +00:00
Eli Barzilay
a48366ce12 move cm-ctime to compiler/private, move away compiler/cm and compiler/cm-accomplice stubs
svn: r11312
2008-08-19 00:13:43 +00:00
Eli Barzilay
dd870c3d30 improved cm
svn: r11301
2008-08-18 21:46:16 +00:00
Eli Barzilay
a8407bdfb6 remove duplicate dependencies
svn: r11292
2008-08-16 01:21:51 +00:00
Matthew Flatt
2c813c53c5 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
44b1499301 add current-trace-notify
svn: r10941
2008-07-28 14:45:16 +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
Eli Barzilay
ecfc0cd104 fix misuse of _
svn: r10569
2008-07-03 00:49:52 +00:00
Matthew Flatt
f3b142367d fix pretty-print bugs introduced with support for mpairs
svn: r10548
2008-07-02 00:14:35 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Matthew Flatt
69b4ffc7c0 fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
cbb7db6a2c repair cm handling of extensions
svn: r10045
2008-05-30 16:08:28 +00:00
Matthew Flatt
33dbd34a67 make 'trace' work with keywords
svn: r9974
2008-05-27 12:27:17 +00:00
Matthew Flatt
44a8c8b6b1 fix minor 'unit' phase problems
svn: r9964
2008-05-26 19:59:11 +00:00
Matthew Flatt
d1628d6238 fix some phase issues in 'match' implementation
svn: r9963
2008-05-26 19:51:06 +00:00
Matthew Flatt
4effd7b897 doc clarifications (PR 9307) and arity issue (PR 9025)
svn: r9855
2008-05-15 17:29:49 +00:00
Matthew Flatt
fad08fcd84 more drscheme repairs and tests
svn: r9721
2008-05-07 16:31:20 +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
Matthew Flatt
52581d024b improve scribble memory use (a little bit)
svn: r9601
2008-05-02 19:48:57 +00:00
Matthew Flatt
d7d49190e5 doc compat lib
svn: r9560
2008-05-01 12:31:51 +00:00
Matthew Flatt
55bf7cb288 compat lib
svn: r9559
2008-05-01 12:29:50 +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
2837df70a6 reencode-output: flush buffer on encoding error, so that the port can be closed
svn: r9528
2008-04-29 01:18:13 +00:00
Matthew Flatt
e6b2b19030 r6rs io/ports-6 repairs and tests
svn: r9523
2008-04-28 21:59:18 +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
c14a965ebd do not write .fail files
svn: r9494
2008-04-26 16:24:25 +00:00
Matthew Flatt
01baad11a0 hack evcase to support old and new 'else' bindings
svn: r9481
2008-04-25 21:36:37 +00:00
Eli Barzilay
13c5e3812d Added last-pair and tests
svn: r9422
2008-04-23 13:20:05 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
8036ddf5a1 remove euler from scheme/math
svn: r9290
2008-04-14 11:44:13 +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
Matthew Flatt
f31bf12543 generalize this-expression-source-directory
svn: r9176
2008-04-07 12:52:59 +00:00
Sam Tobin-Hochstadt
aa40a654b0 Update match documentation to new implementation:
- Mention cons and mcons pattern.
 - Describe greedyness.
 - Mention additional literals in grammar.

svn: r9095
2008-03-27 17:35:11 +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
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
c3a503a897 minor
svn: r9042
2008-03-21 17:51:41 +00:00
Eli Barzilay
02c3394726 reformat
svn: r9039
2008-03-21 13:13:31 +00:00
Eli Barzilay
a93dbcb135 improve rec
svn: r9038
2008-03-21 13:09:45 +00:00
Sam Tobin-Hochstadt
afa5e930fe remove debugging code
svn: r9029
2008-03-20 13:29:50 +00:00
Matthew Flatt
a8ae46ba34 workaround limitation in syntax system related to nested marks
svn: r8969
2008-03-14 00:37:19 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Sam Tobin-Hochstadt
6326734300 Fix handling of quote inside unquote-splicing in quasipattern.
svn: r8959
2008-03-12 14:05:02 +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
Noel Welsh
a53d243e99 I have changed the SRFI-4 implementation so structure types are exported for types except u8. This allows developers to subtype the SRFI-4 structures. I have also refactored the code, leading to a significantly simpler implementation
svn: r8918
2008-03-07 16:24:06 +00:00
Matthew Flatt
b451631831 fix coroutine API and test to avoid timeout races
svn: r8900
2008-03-06 14:08:29 +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
Matthew Flatt
b7cfd2fd00 plt-r6rs executable and initial r6rs docs
svn: r8859
2008-03-03 21:59:09 +00:00
Matthew Flatt
b3476706ec add newline handling to reencode-input/output-port; provide a streamlined path for custom-port buffering (via pipes); fix JIT bug related to updating the runstack pointer after a call that turns out to be a direct-native call
svn: r8851
2008-03-02 16:00:12 +00:00
Matthew Flatt
c9a326111d minor r6rs work
svn: r8817
2008-02-27 14:53:41 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +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
Sam Tobin-Hochstadt
79bece6c13 Use syntax/loc for the definitions of the plt-match forms.
svn: r8725
2008-02-19 15:25:24 +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
88290b46be set up mzlib/contract docs a bit more
svn: r8624
2008-02-11 22:06:06 +00:00
Matthew Flatt
b03e7426eb finish mzlib docs, except for contracts
svn: r8623
2008-02-11 21:37:03 +00:00
Matthew Flatt
e958a5af7a more mzlib scribbling
svn: r8621
2008-02-11 14:27:42 +00:00
Matthew Flatt
9bfa156f91 fix scribble output when a table appears as the first thing in an itemization item; a little more mzlib scribblings
svn: r8617
2008-02-11 12:55:30 +00:00
Matthew Flatt
1959c56743 doc and test repairs
svn: r8597
2008-02-09 13:01:39 +00:00
Matthew Flatt
15304f5870 more mzlib scribbling
svn: r8552
2008-02-06 04:10:54 +00:00
Matthew Flatt
8bac4b1d28 start scribbling mzlib (about half done)
svn: r8546
2008-02-05 22:07:35 +00:00
Sam Tobin-Hochstadt
5d17cf0417 Byte strings are legal literals in match constants.
svn: r8543
2008-02-05 17:48:10 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
17d717a8ba scheme/bool and scheme/local
svn: r8394
2008-01-23 18:11:02 +00:00
Eli Barzilay
b3007d9088 PR 6393
svn: r8391
2008-01-23 14:58:38 +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
Sam Tobin-Hochstadt
f951cac011 Use let-bound identifiers properly for handle-end-ddk-list.
svn: r8372
2008-01-20 14:36:32 +00:00
Sam Tobin-Hochstadt
f2c9c59b06 Start add match-...-nesting parameter.
svn: r8371
2008-01-20 14:35:58 +00:00
Sam Tobin-Hochstadt
3f93fd0f25 Use an extra let binding to make Typed Scheme happy.
svn: r8366
2008-01-18 22:44:54 +00:00
Matthew Flatt
74062d996f weak hash table for cstructs needs ephemerons
svn: r8353
2008-01-16 23:19:07 +00:00
Matthew Flatt
b014545c7a added 'more: systems' doc
svn: r8341
2008-01-16 00:21:19 +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
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
Eli Barzilay
281c1b8838 2007->2008
svn: r8169
2007-12-31 00:47:21 +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
Robby Findler
342eb86c10 finished the new ->*
svn: r8086
2007-12-20 20:35:58 +00:00
Matthew Flatt
f70ea2d03a shared
svn: r8069
2007-12-19 21:32:07 +00:00
Matthew Flatt
19a6edc664 finish fixing sandboxed test suites
svn: r8062
2007-12-19 14:46:30 +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
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
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
a58893f4ba fix bug in deserializer related to order of shared values
svn: r7978
2007-12-12 21:50:31 +00:00
Matthew Flatt
5a6f8aede3 sandbox doc and API tweaks
svn: r7972
2007-12-12 18:39:15 +00:00
Matthew Flatt
622cd0554d revised mzlib/sandbox in scheme/sandbox
svn: r7965
2007-12-12 13:47:02 +00:00
Matthew Flatt
d7e8371254 finish FFI scribbling
svn: r7944
2007-12-11 00:32:41 +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
Robby Findler
a295a42c15 improved contract library so that structs without mutators work and it now passes the test suite
svn: r7879
2007-11-30 22:50:01 +00:00
Sam Tobin-Hochstadt
b997f8b0f7 Use symbolic comparison for => in match, to handle new bindings from `cond'.
svn: r7864
2007-11-29 23:02:23 +00:00
Matthew Flatt
517e20f868 change trace & untrace to not return anything
svn: r7853
2007-11-28 20:29:03 +00:00
Robby Findler
47a4b69e5d some progress on the contract test suite
svn: r7850
2007-11-28 04:38:23 +00:00
Matthew Flatt
8138758ea5 fix some tests
svn: r7847
2007-11-27 17:58:59 +00:00
Matthew Flatt
5f312dcbde doc fixes
svn: r7832
2007-11-25 19:48:41 +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
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
6056159ad7 class and mzc -k fixes
svn: r7724
2007-11-14 16:24:48 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
96117cc86d uses the remapping for determining named-let status now
svn: r7607
2007-11-01 12:34:58 +00:00
Matthew Flatt
07d9a8130b fix hash-table pretty printing when the value part of a mapping is a pair
svn: r7600
2007-10-31 11:25:00 +00:00
Robby Findler
359196ae82 improved contract libraries handling of #%app for provide/contract'd variables
svn: r7590
2007-10-29 21:07:43 +00:00
Robby Findler
3724e47d0c possible fix to PR 9204
svn: r7587
2007-10-29 02:28:30 +00:00
Robby Findler
018bc0e8f6 removed extraneous requires
svn: r7548
2007-10-21 22:57:12 +00:00
Eli Barzilay
ac9e9b4f02 avoid exposing the command-line arguments
svn: r7484
2007-10-11 02:00:24 +00:00
Ryan Culpepper
29501ba68a fixed duplication of code in define-macro
svn: r7482
2007-10-11 00:15:07 +00:00
Robby Findler
176a888bb4 changed the case-> combinator back so that it does not use a symbolic comparison to find -> and friends
svn: r7460
2007-10-09 12:57:18 +00:00
Eli Barzilay
6c13e101bf fix bad input to raise an error as usual, added tests
svn: r7445
2007-10-07 18:12:11 +00:00
Matthew Flatt
4ebccec087 fix problem with lifting contract applications by delaying expansion to an expression context
svn: r7434
2007-10-05 19:57:05 +00:00
Robby Findler
d9cb743afc removed an optimization that obscures the names in contracted functions
svn: r7379
2007-09-18 15:48:28 +00:00
Eli Barzilay
05ae7be90d fixed endian-ness
svn: r7377
2007-09-18 13:54:18 +00:00
Robby Findler
65cfcd5722 moved contracts back to contract library
svn: r7367
2007-09-17 17:09:58 +00:00
Eli Barzilay
cae0931777 allow raw result from md5
svn: r7366
2007-09-17 16:54:54 +00:00
Robby Findler
ac52b9f2ba avoid lifting more than once
svn: r7364
2007-09-17 16:33:40 +00:00
Eli Barzilay
f7e4690841 set svn:eol-style
svn: r7358
2007-09-17 05:16:55 +00:00
Robby Findler
bd93217061 refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
svn: r7357
2007-09-17 02:27:05 +00:00
Robby Findler
b7c441833e tried to improve size of generated code for structs
svn: r7348
2007-09-15 19:57:28 +00:00
Eli Barzilay
45649900e7 do not trust require spec from user code
svn: r7342
2007-09-15 00:50:54 +00:00
Eli Barzilay
d35939f5ed recurse into prefix etc require specs, ignore symbols
svn: r7341
2007-09-15 00:09:29 +00:00
Robby Findler
33311ab211 few minor improvements to the code generated by the contract library
svn: r7339
2007-09-14 21:27:53 +00:00
John Clements
c192fba302 tests for minor bug fixes in date.ss
svn: r7309
2007-09-11 05:03:03 +00:00
Eli Barzilay
449d9097c7 Avoid having hard-wired paths in contract error messages.
These will use "<collects>/..." now.  (A perhaps better solution
is to do what "mzlib/etc.ss" does and insert code that expands
to the file on the client machine.)

svn: r7306
2007-09-10 02:26:59 +00:00
Eli Barzilay
6f83062a51 improved code for build-src-loc-string (no change in functionality)
svn: r7303
2007-09-09 18:25:29 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Matthew Flatt
76cad48393 fix sandbox for running in MrEd
svn: r7213
2007-08-29 20:34:17 +00:00
Eli Barzilay
2e636a54f1 new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
svn: r7124
2007-08-19 23:45:08 +00:00
Eli Barzilay
392f99b717 new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
svn: r7123
2007-08-19 23:27:14 +00:00
Eli Barzilay
6793e45228 typo
svn: r7029
2007-08-06 13:00:49 +00:00
Robby Findler
67dd80eb78 changes noticed by Matthew
svn: r6980
2007-07-29 18:56:32 +00:00
Eli Barzilay
045b9e9ec7 sort directory lists so operations are independent of filesystem directory order
svn: r6930
2007-07-17 09:38:53 +00:00
Eli Barzilay
e198aa3c29 some code reformatting
svn: r6929
2007-07-17 09:16:30 +00:00
Eli Barzilay
ef9994abc5 read-accept-infix-dot
svn: r6835
2007-07-07 15:20:02 +00:00
Robby Findler
cb47325215 fixed parameter contracts
svn: r6833
2007-07-07 15:19:46 +00:00
Matthew Flatt
9764065c6a 370.5
svn: r6832
2007-07-07 08:31:19 +00:00
Robby Findler
2dfd35e5c7 added parameter/c
svn: r6770
2007-06-29 16:44:18 +00:00
Matthew Flatt
b883f4ef76 fix problem with recursive reads on hash tables, sfix syntax-quoted hash tables in marhsaled compiled code, and add a bit more new documentation
svn: r6759
2007-06-28 22:59:06 +00:00
Matthew Flatt
efb592bd15 doc work on modules, new big collection
svn: r6732
2007-06-25 08:47:02 +00:00
Matthew Flatt
d518f24039 370.4
svn: r6710
2007-06-20 21:11:38 +00:00
Shu-Yu Guo
5016e59f8e fixes match
svn: r6674
2007-06-16 16:58:37 +00:00
Robby Findler
ea5b3493f3 fixed define-contract-struct so that it defines (via define-syntax) the struct name, following the define-struct covention
svn: r6664
2007-06-14 21:14:14 +00:00
Matthew Flatt
b0328d4853 keyword-procedure implementation scribblings; reverted opt-lambda hacks
svn: r6654
2007-06-14 02:05:38 +00:00
Matthew Flatt
2385d8bd93 fix trait bug found by Ryan
svn: r6653
2007-06-13 22:47:17 +00:00
Robby Findler
3857b95a7b fixed PR 8737
svn: r6596
2007-06-12 15:23:54 +00:00
Matthew Flatt
05607ad661 work on docs for keyword arguments
svn: r6581
2007-06-12 01:44:02 +00:00
Robby Findler
44ca7fb6e5 changed the set of exported names a little bit
svn: r6577
2007-06-11 20:50:50 +00:00
Matthew Flatt
32e9101594 guide and reference work; change opt-lambda to use lambda/kw and hack in keyword support for documentation purposes, along with define-opt
svn: r6572
2007-06-11 07:19:42 +00:00
Robby Findler
f597eef4db svn: r6558 2007-06-09 18:33:37 +00:00
Matthew Flatt
7d7cae8bf2 get rid of for-values, change document format for mini-grammars
svn: r6549
2007-06-09 01:13:52 +00:00
Matthew Flatt
63ce7b93fb 370.3
svn: r6545
2007-06-08 08:03:06 +00:00
Robby Findler
377c5b3ad0 had to find a new way to defeat the inlining
svn: r6413
2007-05-30 17:32:39 +00:00
Matthew Flatt
c59c7ebab7 revised 'for' and docs
svn: r6400
2007-05-30 03:10:57 +00:00
Matthew Flatt
e9385a910e 370.2
svn: r6369
2007-05-29 03:26:32 +00:00
Matthew Flatt
4074eb593a revise generator names in for.ss
svn: r6329
2007-05-26 00:52:55 +00:00
Robby Findler
2f97ee61a8 fixed comment
svn: r6292
2007-05-25 13:22:29 +00:00
Matthew Flatt
27624d91d6 add comprehension implementation, though it may not survive
svn: r6247
2007-05-24 01:24:23 +00:00
Robby Findler
3d4f153275 fixed default value of parameter
svn: r6234
2007-05-19 23:05:09 +00:00
Robby Findler
bd7f075593 added pretty-print-abbreviate-read-macros
svn: r6231
2007-05-19 17:28:02 +00:00
Robby Findler
e41ff4705e improved error checking for provide/contract struct clauses
svn: r6155
2007-05-05 17:50:19 +00:00
Matthew Flatt
e85a15df98 add support for 'lib paths in define-runtime-path, and change world.ss to use it
svn: r6150
2007-05-05 00:17:06 +00:00
Matthew Flatt
ba66079155 temporary fix to preferences-file problem
svn: r6149
2007-05-04 23:32:24 +00:00
Eli Barzilay
26ab4af5f7 made it possible to try several versions, use it in readline and openssl
svn: r6138
2007-05-04 06:08:48 +00:00
Eli Barzilay
9c35fbd7ff use new mzscheme primitives
svn: r6109
2007-05-01 08:49:29 +00:00
Robby Findler
5ac3fdd86e added unsafe list contract combinators
svn: r6096
2007-04-29 21:46:27 +00:00
Matthew Flatt
e9bf34f193 369.11
svn: r6085
2007-04-29 02:08:24 +00:00
Robby Findler
2cb314de1b improved error message a little more, thanks to Jon Rafkind
svn: r6073
2007-04-28 21:50:05 +00:00
Robby Findler
bbb4f1c307 tweaked wording of any error message
svn: r6071
2007-04-28 20:21:04 +00:00
Robby Findler
ddf5ddaf68 fixed a bug in structs
svn: r6059
2007-04-27 22:02:14 +00:00
Matthew Flatt
1227511d1c fix gunzip to consume all bytes for the gzip stream
svn: r6058
2007-04-27 08:06:02 +00:00
Eli Barzilay
853579755d svn: r6052 2007-04-26 21:39:36 +00:00
Robby Findler
c3e07c0a8c removed bogus inference from matcher's optimizer
svn: r6034
2007-04-24 18:22:10 +00:00
Matthew Flatt
a45251d272 369.10
svn: r6003
2007-04-20 01:16:15 +00:00
Robby Findler
db8cba03aa added unconstrained-domain->
svn: r5967
2007-04-17 18:54:19 +00:00
Matthew Flatt
382209d3fb split moddep into smaller libraries
svn: r5966
2007-04-17 13:52:13 +00:00
Eli Barzilay
e2a460e2d9 more memory
svn: r5936
2007-04-14 05:48:40 +00:00
Eli Barzilay
3b88282cfe reversed accidental commit
svn: r5922
2007-04-11 06:47:26 +00:00
Eli Barzilay
bf8cd534cd u8vector is implemented using bytes
svn: r5921
2007-04-11 06:46:17 +00:00
Eli Barzilay
4a010a722c typo
svn: r5919
2007-04-10 22:56:24 +00:00
Eli Barzilay
0b386c6301 svn: r5912 2007-04-10 18:14:59 +00:00
Eli Barzilay
30a27b1d8b better sandbox input
svn: r5905
2007-04-09 11:11:22 +00:00
Eli Barzilay
c6f377aca8 better output specs and implementation
svn: r5903
2007-04-09 09:15:25 +00:00
Matthew Flatt
61785f1fc8 fix get-preferences when the file isn't there
svn: r5896
2007-04-09 02:40:57 +00:00
Eli Barzilay
4cf75fbb65 some filename tweaks for windows
svn: r5891
2007-04-08 21:39:12 +00:00
Matthew Flatt
274246e330 better default caching for preferences
svn: r5885
2007-04-08 07:40:34 +00:00
Matthew Flatt
a47e48fc20 fix inferred name of field values and values installed into fields with set!
svn: r5880
2007-04-07 23:36:24 +00:00
Eli Barzilay
0a266fabd3 each evaluator gets its own thread group
svn: r5879
2007-04-07 06:26:43 +00:00
Eli Barzilay
874c0331c3 do what you can when not in 3m
svn: r5878
2007-04-07 02:23:36 +00:00
Eli Barzilay
433c9a57ec new sandbox in mzlib
svn: r5873
2007-04-06 08:56:23 +00:00
Robby Findler
8f51c76a7b added pretty-format
svn: r5862
2007-04-03 22:27:21 +00:00
Robby Findler
032740261d fixed a bug in new pretty-print-remap-stylable parameter handling
svn: r5810
2007-03-21 23:07:41 +00:00
Robby Findler
a0f85de2e4 added pretty-print-remap-stylable
svn: r5808
2007-03-21 20:09:11 +00:00
Matthew Flatt
3803b4e045 fix pretty-printer to pay attention to print-box (PR 8567)
svn: r5787
2007-03-19 03:29:06 +00:00
Matthew Flatt
81b7aea7d9 fix expansion of match-define to use define-values instead of begin with set!
svn: r5786
2007-03-19 01:55:21 +00:00
Robby Findler
058bb56915 added guilty-party
svn: r5783
2007-03-17 21:39:59 +00:00
Robby Findler
69ed5483cf improved source locations for previous fix
svn: r5765
2007-03-09 22:42:40 +00:00
Robby Findler
e61faf231e fixed bug mentioned by Paulo Matos on plt-scheme mailing list
svn: r5764
2007-03-09 22:38:51 +00:00
Robby Findler
d67ab8b0a9 improved the expansion to make runtime error reporting better
svn: r5703
2007-02-27 23:48:00 +00:00
Sam Tobin-Hochstadt
7f9030952e Fix typo in name of macro.
svn: r5694
2007-02-27 03:09:32 +00:00
Matthew Flatt
dff013afc5 fix port functions to use byte-ready? instead of char-ready?
svn: r5640
2007-02-20 01:42:03 +00:00
Eli Barzilay
492733aa40 make-cvector with 0 args
svn: r5619
2007-02-15 20:39:17 +00:00
Matthew Flatt
4b765cfa5a 369.8
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
2007843ba4 add new command-line arguments: -p, -P, -Q
svn: r5557
2007-02-06 05:14:34 +00:00
Robby Findler
81ce545d63 added define-opt/c
svn: r5515
2007-01-31 01:12:19 +00:00
Matthew Flatt
bfc693c063 369.7
svn: r5506
2007-01-30 06:34:05 +00:00
Robby Findler
de59204fa5 some cleanup
svn: r5503
2007-01-30 00:54:23 +00:00
Robby Findler
7ab052ebb9 fixed a bug
svn: r5485
2007-01-28 15:25:46 +00:00
Robby Findler
4ad8fdadea merged the opt/c changes back into the trunk (finally!)
svn: r5481
2007-01-28 02:54:16 +00:00
Matthew Flatt
e7cc73c1cf hack to experiment with disabling contracts
svn: r5454
2007-01-25 06:20:22 +00:00
Matthew Flatt
272980489c avoid chains of derived-from-... names (due to previous attempt at fixing the string vs. symbol problem)
svn: r5444
2007-01-24 02:37:01 +00:00
Matthew Flatt
c0c04fb2fc make derived-from-... name a symbol in a class record
svn: r5443
2007-01-24 02:34:38 +00:00
Matthew Flatt
42bf3cfbe0 minor streamlining of unit compilation
svn: r5424
2007-01-22 03:45:26 +00:00
Matthew Flatt
dbaccc2d5c fix cert problem when internal and external names are provided, but no initial value is provided
svn: r5403
2007-01-19 01:50:17 +00:00