Matthew Flatt
e73dd4b4af
add FFI types _string/utf-16/null and _string/ucs-4/null
...
svn: r12911
original commit: 7dc56df9499127695e4fc09d754bdd4cdd411fa5
2008-12-19 23:59:33 +00:00
Matthew Flatt
588e3b23a5
ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
...
svn: r12890
original commit: 2c95f77c3141a0827bd094d8d93b3e3fa39ef8b5
2008-12-18 20:05:21 +00:00
Eli Barzilay
ad2792fb85
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
original commit: 6283205982477aec904affbffa8eab57d239dd31
2008-12-18 06:48:10 +00:00
Stevie Strickland
dcacda86fa
Remove unused argument
...
svn: r12872
original commit: 821a3ae90057e9e0115df51e27d1572bfa8c50cd
2008-12-16 20:35:19 +00:00
Stevie Strickland
3db841f79a
Handle this similarly to scheme/private/contract.
...
svn: r12869
original commit: f7c37571ce844987fcb1bbfc8c20580b70e25864
2008-12-16 19:42:06 +00:00
Stevie Strickland
b4695eeac4
These lets aren't doing anything, so remove them.
...
svn: r12769
original commit: bc62c06e1cdd0abf4e3068dee7c1a28eb3886674
2008-12-10 19:29:21 +00:00
Stevie Strickland
6eaf47ef9a
Last changes, everything works up to here.
...
svn: r12765
original commit: 8bc883d1cbf2921c4a42b2b19441de0155b742c2
2008-12-10 18:51:40 +00:00
Stevie Strickland
e9627fb9e2
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
original commit: 56854a84bd2958f23eae2d04a185ed29eafbc077
2008-12-10 17:19:39 +00:00
Stevie Strickland
bee6f21c4d
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
original commit: 90ad3f9221a9b5c31a673dcc820304e7b6c86872
2008-12-09 23:16:48 +00:00
Stevie Strickland
d9d718daa8
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
original commit: a9be78545d95d72e5076d14369afae8b5774dbad
2008-12-09 22:14:11 +00:00
Stevie Strickland
2c7fb0cd5f
Removing the work that's now on unit-contracts.
...
svn: r12744
original commit: 52b76b8dfafcb2f284db19fd6d9b3c8da87420ce
2008-12-08 17:09:33 +00:00
Stevie Strickland
66dad85db5
Adding current unit contract work over here.
...
svn: r12743
original commit: bf5dddbd13fa45fd1950289624bbd05e9ec92135
2008-12-08 17:06:53 +00:00
Stevie Strickland
83ff7d7e62
Now to move the contract info appropriately into sigs from signatures.
...
svn: r12712
original commit: beb5f195300b0db3dda7c4f8273563ecaeba65f0
2008-12-05 17:55:47 +00:00
Stevie Strickland
5227c36efb
Start on adding contracts to units. Here we're just adding contract(ed) forms,
...
but they're not (yet) used further in.
svn: r12711
original commit: 1b4d2cb7bf4eb7a3340e8a29b370994d9eaf1b35
2008-12-05 17:47:37 +00:00
Eli Barzilay
75308c9158
switch to #lang, reformat
...
svn: r12655
original commit: 7ea8ab6592e4ea96121d24c3b3fa4ed355e653cd
2008-12-01 03:21:46 +00:00
Matthew Flatt
4e48a33a49
scheme/package (and more int-def repairs)
...
svn: r12589
original commit: ed536c002e3ef5a7f908584f9d50421fcac827b4
2008-11-25 17:58:21 +00:00
Matthew Flatt
bfb0bc4ffd
revised internal-definitions context and a basic 'define-package' form
...
svn: r12579
original commit: a0f91d905e78288ac9ee252f24e8157f5cbea3f9
2008-11-24 19:52:41 +00:00
Stevie Strickland
ba3812ca9c
Missed a file.
...
svn: r12452
original commit: eca59f6b1d98b59301a68c56f902f571340a5a16
2008-11-14 16:49:10 +00:00
Stevie Strickland
7a657d334f
Add all changes from branches/with-contract (which this branch will replace
...
eventually), plus a couple of fixes in contract-test.ss.
svn: r12451
original commit: 3212d1171217a93eb2865a602092d5b5d842ff40
2008-11-14 16:48:17 +00:00
Eli Barzilay
fe2ab39bbd
better syntax error message when define-cstruct gets an identifier without a _
...
svn: r12420
original commit: 987b16447822e647552a8c28f53b870d8638a2c9
2008-11-13 02:18:16 +00:00
Matthew Flatt
5619b780b6
add port->string, file->string, etc.
...
svn: r12388
original commit: a6d953b6f5943579cb5f95b986647b8ea61c147f
2008-11-11 17:55:14 +00:00
Matthew Flatt
676b78504d
fix problems in lex-rename simplification; other tiny improvements and doc repairs
...
svn: r12380
original commit: ad75c8aa580e4d32a976bd5983ab4f99a48496e5
2008-11-10 22:50:54 +00:00
Matthew Flatt
65af0d3f3b
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
original commit: 95bedb17fbed95c3288ad8befd94c1c7e26c07e2
2008-11-04 14:24:12 +00:00
Matthew Flatt
9c70829089
streamline srfi-4 index-argument check
...
svn: r12155
original commit: 8b666c17100e95ceef6a81501bcd8afa7bde55a2
2008-10-28 12:12:09 +00:00
Matthew Flatt
f74e80e43a
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
original commit: bb7d3d1a287a7aabdb11edeb16bf215a028ffe31
2008-10-23 13:38:03 +00:00
Matthew Flatt
3f4a4b08a9
finish decompiler on syntax objects
...
svn: r12077
original commit: e2d4bc0d2bd46db59dbb5cbf0eda94f47c491719
2008-10-21 00:10:47 +00:00
Matthew Flatt
52dd376826
make-syntax-delta-introducer and adjusted binding in scheme/unit forms
...
svn: r12032
original commit: 8b595ed1200539fa0c22ff0710d9efc5b9d79b52
2008-10-14 13:27:43 +00:00
Matthew Flatt
395eab1669
add eqv hash tables; add hash-update
...
svn: r12018
original commit: ec68bafa9c7114785dc9e02781eeaa33cfcbec4f
2008-10-13 16:21:18 +00:00
Eli Barzilay
ae40ef8c69
register-finalizer is not unsafe
...
svn: r11994
original commit: 2bd0019110f83b31d50a075d4bb30e9339299b02
2008-10-12 06:13:46 +00:00
Eli Barzilay
84c6b9a032
rename holder -> keep
...
svn: r11932
original commit: 8d06e0c707295a6dee60e722dfafe40c4e2d7992
2008-10-04 19:10:38 +00:00
Eli Barzilay
92168b8ed4
* 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
original commit: 2886a9531844f75faf563516447524bb893c9796
2008-10-04 19:01:17 +00:00
Eli Barzilay
84f2904bb4
make _cpointer types return the result of the scheme->c function, if any
...
svn: r11888
original commit: c8be2b6f577700b33d5e5fa8c690c526cdfe022e
2008-09-27 06:35:08 +00:00
Matthew Flatt
9b95e9b2d5
msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
...
svn: r11758
original commit: 186bf676306ed59f9892d7bf58ab7d833b5c3f29
2008-09-15 19:08:50 +00:00
Robby Findler
a65c83e4eb
a bunch more values are now converted into contracts automatically
...
svn: r11729
original commit: 85e489219c7e596d90f780da119fb8bb16b4cb45
2008-09-13 22:35:09 +00:00
Robby Findler
8678e1cc6e
got rid of define-struct/prop since scheme/base has a define-struct that does all that (and more) now
...
svn: r11727
original commit: 06a4d0df4af94534e6186463a19b5c6982f1c65a
2008-09-13 16:29:01 +00:00
Stevie Strickland
f00388ac41
Actually, move the old-style define/contract to its own file in mzlib,
...
and change around mzlib/contract.ss appropriately.
svn: r11715
original commit: 0870c7ae1ddd58de472e2990f6b194686e61b083
2008-09-13 02:51:09 +00:00
Stevie Strickland
44116e67e9
Okay, here's the old stuff put back, will fix up the unit tests when I get
...
home.
svn: r11709
original commit: c484131597b684e1a17dd8aae520c8a2bd1f93e2
2008-09-12 23:51:51 +00:00
Matthew Flatt
462136e186
fix mistakes in augment corrections; fix runtime-path handling of lib paths
...
svn: r11577
original commit: 1a8b6cb824f84323179757d0f95d39b9ffe2f7a6
2008-09-08 19:44:32 +00:00
Eli Barzilay
bf474980dc
mostly just a re-indentation
...
svn: r11544
original commit: 7becde46d4868851709c8dd84e375591169e60a6
2008-09-04 22:12:14 +00:00
Eli Barzilay
f67213751b
use stdcall for windows kernel functions
...
svn: r11543
original commit: e5686a5577f39ee641093c792c09ede144a78967
2008-09-04 22:07:23 +00:00
Eli Barzilay
901c60532c
added #:abi keyword spec to _fun
...
svn: r11542
original commit: ade8dfad31e66319cf1409021295ba93720c1057
2008-09-04 22:05:10 +00:00
Danny Yoo
7cce53d9eb
Disabling debug printf statement.
...
svn: r11538
original commit: b44494abe5113ae5ac31ba6a185ac870ca2fe212
2008-09-04 19:35:51 +00:00
Eli Barzilay
0da3701610
finish the cm move: change all requires, leave stub files in mzlib
...
svn: r11314
original commit: da3b476e807de082c023775a47c31fa58c582dfb
2008-08-19 00:22:57 +00:00
Eli Barzilay
a4f06c9201
move mzlib/cm and mzlib/cm-accomplice to compiler
...
svn: r11313
original commit: 2a2977d8043b79fd110bdaa6c7490c51a068fec6
2008-08-19 00:15:00 +00:00
Eli Barzilay
e1b0d9810d
move cm-ctime to compiler/private, move away compiler/cm and compiler/cm-accomplice stubs
...
svn: r11312
original commit: a48366ce12ca03161c2a4f4060d8eb24c93bef5d
2008-08-19 00:13:43 +00:00
Eli Barzilay
fe4b75e598
improved cm
...
svn: r11301
original commit: dd870c3d3020d7711371eafa7f6bb9c37b6f7fc9
2008-08-18 21:46:16 +00:00
Eli Barzilay
4aa143396b
remove duplicate dependencies
...
svn: r11292
original commit: a8407bdfb61ff75dc4bd4dc9018b07aaaadabf44
2008-08-16 01:21:51 +00:00
Matthew Flatt
cb7623387d
add current-trace-notify
...
svn: r10941
original commit: 44b1499301c327e6547b86611f0fe0a4d8000099
2008-07-28 14:45:16 +00:00
Matthew Flatt
63806763b5
v4.0.2.4: logging
...
svn: r10818
original commit: 9af00fcfb4782168ae583a3d66058095815725e3
2008-07-17 15:20:17 +00:00
Eli Barzilay
ebf2c47c5f
* 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
original commit: 7d50e61c7f6831936e13e6af5140db65db18fe1c
2008-07-09 07:18:06 +00:00
Eli Barzilay
9f077008d6
fix misuse of _
...
svn: r10569
original commit: ecfc0cd104265fadfe71ea05116aa29bccf90261
2008-07-03 00:49:52 +00:00
Matthew Flatt
ed05ff3b71
fix pretty-print bugs introduced with support for mpairs
...
svn: r10548
original commit: f3b142367d2139fba33cbb9c7a7a0fa93ff808ea
2008-07-02 00:14:35 +00:00
Matthew Flatt
a3d4e9492f
fix some phase problems in program-processing programs
...
svn: r10503
original commit: 44c5a757390775f2142a9f1dc2874ee41f285dcd
2008-06-29 15:11:20 +00:00
Matthew Flatt
6f6a582d5c
fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
...
svn: r10482
original commit: 69b4ffc7c0f86562d72da0c1ab8f7fa37c236d72
2008-06-27 22:07:28 +00:00
Matthew Flatt
9f2bf9963f
repair cm handling of extensions
...
svn: r10045
original commit: cbb7db6a2c8bb715b831d7a00910fc1aad730459
2008-05-30 16:08:28 +00:00
Matthew Flatt
0d57734b19
make 'trace' work with keywords
...
svn: r9974
original commit: 33dbd34a677037063de6ca7626de865f24c2b7c1
2008-05-27 12:27:17 +00:00
Matthew Flatt
28ad389ced
fix minor 'unit' phase problems
...
svn: r9964
original commit: 44a8c8b6b136f186b50f674cff1b5cdae20552bf
2008-05-26 19:59:11 +00:00
Matthew Flatt
be4a4a5538
fix some phase issues in 'match' implementation
...
svn: r9963
original commit: d1628d623897acc07bb14d01507f4539849e907a
2008-05-26 19:51:06 +00:00
Matthew Flatt
7ed5ac833f
doc clarifications (PR 9307) and arity issue (PR 9025)
...
svn: r9855
original commit: 4effd7b8973373d6e6f280cb15bfd79c082ac066
2008-05-15 17:29:49 +00:00
Matthew Flatt
dbebbf5676
dup-{in,out}put-port and sandbox-error-output default
...
svn: r9617
original commit: 1dd30ca031de14fda4a9858f974e1dd0bfeaf209
2008-05-03 04:47:14 +00:00
Matthew Flatt
ebb1887166
improve scribble memory use (a little bit)
...
svn: r9601
original commit: 52581d024b42ad472d8cd0cae807948325771511
2008-05-02 19:48:57 +00:00
Matthew Flatt
71ae7e94e7
compat lib
...
svn: r9559
original commit: 55bf7cb288d2172ddd57d5b54589e78aa4dde795
2008-05-01 12:29:50 +00:00
Robby Findler
0dba7207a8
moved the surrogate library to scheme/ (out of mzlib/)
...
svn: r9554
original commit: baa9ed726a8943cb496cc13f45e2cd85d4a825f3
2008-05-01 02:51:52 +00:00
Matthew Flatt
a46a903637
reencode-output: flush buffer on encoding error, so that the port can be closed
...
svn: r9528
original commit: 2837df70a6ce917b894152141a38243503b5f96b
2008-04-29 01:18:13 +00:00
Matthew Flatt
8ce36380d3
r6rs io/ports-6 repairs and tests
...
svn: r9523
original commit: e6b2b190304cb569dbb39a525bc84809940d71e6
2008-04-28 21:59:18 +00:00
Matthew Flatt
bbb8c0fec7
'must-update file mode; R6RS tests and bug fixes
...
svn: r9511
original commit: f579d40b821aa7f9bdb0ec789745fd9918ad1e86
2008-04-28 16:32:50 +00:00
Matthew Flatt
6435bda07a
do not write .fail files
...
svn: r9494
original commit: c14a965ebd6a370e961f7b8181b6f91c8539660c
2008-04-26 16:24:25 +00:00
Matthew Flatt
3c43dd5f32
hack evcase to support old and new 'else' bindings
...
svn: r9481
original commit: 01baad11a057d53c77b2f350739f79327c40054b
2008-04-25 21:36:37 +00:00
Eli Barzilay
e523655315
Added last-pair and tests
...
svn: r9422
original commit: 13c5e3812d252bab985f29210862308ae8623396
2008-04-23 13:20:05 +00:00
Matthew Flatt
a29c3ce826
remove euler from scheme/math
...
svn: r9290
original commit: 8036ddf5a1639149d14cb0769fc61822518f9694
2008-04-14 11:44:13 +00:00
Matthew Flatt
6b6ae47140
new hash function names and ops (3.99.0.23)
...
svn: r9209
original commit: 021d4d7527f39cc01b6b8952f4a90e61e55e8956
2008-04-08 21:42:38 +00:00
Matthew Flatt
7f2d6a8484
generalize this-expression-source-directory
...
svn: r9176
original commit: f31bf12543ffed4d9d2c2c0b9941d65db2576025
2008-04-07 12:52:59 +00:00
Sam Tobin-Hochstadt
509b5f43f8
Add new match implementation.
...
Does not yet work:
- some errors about car of ()
- some match-expander certification errors
svn: r9049
original commit: b7127dc9c77f55bb6f787fbb58d4ebaa940f525f
2008-03-21 23:54:58 +00:00
Eli Barzilay
1e11cd39f8
reformat
...
svn: r9039
original commit: 02c33947263e79ecb3a3fea436f91d023b94d899
2008-03-21 13:13:31 +00:00
Eli Barzilay
0b86826a0d
improve rec
...
svn: r9038
original commit: a93dbcb135ddcc0df25eb07d20f287c93e111f93
2008-03-21 13:09:45 +00:00
Matthew Flatt
9cfbf28481
prefab structure types (3.99.0.18)
...
svn: r8967
original commit: 293ba025bad3b0341715153f8cbfd37f4d871a38
2008-03-13 20:59:22 +00:00
Eli Barzilay
8dc8589a9a
* 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
original commit: 3c29bbda9d7cd8366b0bbe283f75aa1ce00c94d9
2008-03-11 13:06:29 +00:00
Noel Welsh
694ebaae8e
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
original commit: a53d243e99a1d9a44b6cf9126b5d7eecdd0cb3e9
2008-03-07 16:24:06 +00:00
Matthew Flatt
0bbfa652f7
fix coroutine API and test to avoid timeout races
...
svn: r8900
original commit: b45163183154e038f0736b0c0814157545db0075
2008-03-06 14:08:29 +00:00
Matthew Flatt
349cb92027
plt-r6rs executable and initial r6rs docs
...
svn: r8859
original commit: b7cfd2fd0035df7a11cf274d1d3d4b43c13c50ef
2008-03-03 21:59:09 +00:00
Matthew Flatt
dc5dd14c5d
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
original commit: b3476706ece63ddd451de728d8923837172e481a
2008-03-02 16:00:12 +00:00
Matthew Flatt
d7bc8a5249
minor r6rs work
...
svn: r8817
original commit: c9a326111dbe02510ece62c2a9acb7639efc93bd
2008-02-27 14:53:41 +00:00
Eli Barzilay
6b867572bb
make all files terminate with a newline
...
svn: r8786
original commit: bb34f747b60bb4b06e0c2098e9c591677fb49d57
2008-02-24 21:27:36 +00:00
Eli Barzilay
0cc6039906
use new require specs in many places
...
svn: r8774
original commit: b1a08edd5a8c0db0bae4a9e052d9a93d1faabb4f
2008-02-23 09:42:03 +00:00
Robby Findler
ce59444e81
removed union from scheme/contract
...
svn: r8745
original commit: 79f4b8ff30fa8e8f90288e6f9dc2cbef3891a15e
2008-02-20 21:18:48 +00:00
Matthew Flatt
4604dc7024
3.99.0.13: generalize require and provide to work with arbitrary phases
...
svn: r8742
original commit: ba63bd6f954b4b1ce09225f4b55dbe7c3a93a46b
2008-02-20 14:17:37 +00:00
Matthew Flatt
732be097b2
more mzlib scribbling
...
svn: r8621
original commit: e958a5af7ad7cfae58f0afc3a7e2e0c801d0fdad
2008-02-11 14:27:42 +00:00
Matthew Flatt
a982e14bb3
fix scribble output when a table appears as the first thing in an itemization item; a little more mzlib scribblings
...
svn: r8617
original commit: 9bfa156f91656007ac2af9b1af48fe3b01bd094e
2008-02-11 12:55:30 +00:00
Matthew Flatt
465b675b5b
doc and test repairs
...
svn: r8597
original commit: 1959c567431344b468d47fa873e093b5ab0787c4
2008-02-09 13:01:39 +00:00
Matthew Flatt
5f53e41e97
more mzlib scribbling
...
svn: r8552
original commit: 15304f587024343e50fb72b6baed849459d76b6b
2008-02-06 04:10:54 +00:00
Matthew Flatt
b047cf8e64
start scribbling mzlib (about half done)
...
svn: r8546
original commit: 8bac4b1d282f4b8aea11d02dca7c358ddbb0f7fc
2008-02-05 22:07:35 +00:00
Matthew Flatt
c586e46e54
scheme/bool and scheme/local
...
svn: r8394
original commit: 17d717a8baee404a1a88e10ba893fb943efb2653
2008-01-23 18:11:02 +00:00
Eli Barzilay
1ab009e313
PR 6393
...
svn: r8391
original commit: b3007d90882b3b2c41f380faf954b4571e0959f0
2008-01-23 14:58:38 +00:00
Matthew Flatt
c55cb486c0
small doc fixes, plus change to syntax pattern matching to allow null as a dotted match after ellipses
...
svn: r8384
original commit: b2dbe63ed1d33bdf317ff6ec7fc8b9e17e3933c3
2008-01-23 01:35:26 +00:00
Matthew Flatt
15b2bb3c4a
weak hash table for cstructs needs ephemerons
...
svn: r8353
original commit: 74062d996f96be38a2a36b202d6bbd6bc835edcb
2008-01-16 23:19:07 +00:00
Matthew Flatt
ac830fc73e
added 'more: systems' doc
...
svn: r8341
original commit: b014545c7a7de0d7599a9383af830821f832ddb8
2008-01-16 00:21:19 +00:00
Matthew Flatt
61121abe07
change path->main-collects-relative, and change output directory of start document
...
svn: r8301
original commit: 05434ec54da3cd9362493c024d73de5ec3f516a8
2008-01-11 19:54:38 +00:00
Robby Findler
18ecdda414
renamed string/len to string-len/c
...
svn: r8237
original commit: cda0888ab94e37deda66af8da5ca7dec10fccd30
2008-01-06 15:53:50 +00:00
Matthew Flatt
adca444b9a
3.99.0.9: binding links in docs use nominal import sources
...
svn: r8196
original commit: 7fc41024c0f09d03bed22c9e68bc2548f9222b77
2008-01-03 19:07:02 +00:00
Robby Findler
87b19de0a8
mostly finished the contract library changes
...
svn: r8195
original commit: 3cf6ed46738360cb84a414423d176e14bf79e803
2008-01-03 18:10:43 +00:00