Commit Graph

14966 Commits

Author SHA1 Message Date
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Stevie Strickland
924842d9e9 * Fix inits so that we either call the previous class/c wrapper's init
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
  at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.

svn: r18540
2010-03-15 08:29:22 +00:00
Eli Barzilay
958b1b38ba Welcome to a new PLT day.
svn: r18539
2010-03-15 07:50:37 +00:00
Stevie Strickland
7ec061cdbf * Factor out zipping of inits/contracts of the init closure
* Add tests for higher-order behavior

svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
f9e404afbc * Fix bug in #:name for init contracts
* Apply appropriate projections to init arguments.

svn: r18537
2010-03-15 07:25:54 +00:00
Stevie Strickland
2f9717ca72 Start on the init function. First step -- just replace it if we have init
contracts, but don't add any checking (yet).

svn: r18536
2010-03-15 07:05:31 +00:00
Stevie Strickland
9640ea4e2c Sort the init contract forms.
svn: r18535
2010-03-15 07:03:54 +00:00
Stevie Strickland
1bd29dd7e9 Okay, we're going to add back init contracts, which I'd somewhat done before.
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted.  I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.

svn: r18534
2010-03-15 06:49:49 +00:00
Matthew Flatt
e0c0645479 doc Scribble 'exact-chars and 'tt-chars style propeties
svn: r18533
2010-03-14 12:14:32 +00:00
Eli Barzilay
2edb341b00 Welcome to a new PLT day.
svn: r18532
2010-03-14 07:50:32 +00:00
Stevie Strickland
7b831e86a6 Correct with-type so it handles result types of the form (values t ...).
svn: r18531
2010-03-14 02:32:20 +00:00
Matthew Flatt
e713e27eee fix allocation bug in ffi
svn: r18530
2010-03-13 16:03:27 +00:00
Eli Barzilay
036781d453 Welcome to a new PLT day.
svn: r18528
2010-03-13 08:50:34 +00:00
Robby Findler
861c494693 added a keyword argument to filled-rectangle to make it avoid using a pen
svn: r18527
2010-03-12 20:50:26 +00:00
Sam Tobin-Hochstadt
9035e2e584 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526
2010-03-12 16:25:40 +00:00
Sam Tobin-Hochstadt
3edf8cdac6 Fix `match-lambda**'. Patch from Madoka Machitani.
svn: r18525
2010-03-12 14:16:43 +00:00
Matthias Felleisen
404e0e30a1 stop clause for release
svn: r18524
2010-03-12 13:24:45 +00:00
Noel Welsh
97924ffc65 Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
svn: r18523
2010-03-12 12:13:10 +00:00
Noel Welsh
a8b5f4275a Add scheme/fixnum to the list of require'd modules, meaning the type declarations for fixnum operations are actually bound to the correct functions and so Typed Scheme programs using fixnum ops will actually compile.
svn: r18522
2010-03-12 10:58:26 +00:00
Eli Barzilay
f7058ff636 Welcome to a new PLT day.
svn: r18521
2010-03-12 08:50:27 +00:00
Matthias Felleisen
b4da375084 improved release test
svn: r18519
2010-03-12 03:28:26 +00:00
Matthias Felleisen
d4adb4456d added on release
svn: r18518
2010-03-12 03:21:23 +00:00
Matthias Felleisen
b8a8ca533e added on-release
svn: r18517
2010-03-12 03:21:06 +00:00
Matthew Flatt
45da4cb3bc fix (malloc 'atomic-interior)
svn: r18516
2010-03-12 02:58:19 +00:00
Matthias Felleisen
9a6e94903e added release handler
svn: r18515
2010-03-12 01:36:02 +00:00
Matthias Felleisen
2655495b56 fixed bug in on-tick syntax pattern
svn: r18514
2010-03-12 01:33:57 +00:00
Matthias Felleisen
b7b9e8dde6 fixed bug in on-tick syntax pattern
svn: r18513
2010-03-12 01:33:33 +00:00
Matthew Flatt
edfd0812c6 fix Scribble latex rendering when a section title has a ssquare bracket
svn: r18512
2010-03-11 14:24:41 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Eli Barzilay
fafb35fb86 Welcome to a new PLT day.
svn: r18510
2010-03-11 08:50:33 +00:00
Eli Barzilay
0b72196247 add the reader collection
svn: r18509
2010-03-11 05:16:21 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Matthew Flatt
826fbdf16f add scribble/jfp
svn: r18507
2010-03-10 22:17:51 +00:00
Robby Findler
c1640d005f svn: r18506 2010-03-10 12:51:20 +00:00
Eli Barzilay
4441266553 Welcome to a new PLT day.
svn: r18505
2010-03-10 08:50:27 +00:00
Stevie Strickland
40b35a2b73 Now that we have a way of marking procedures as methods at runtime,
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.

svn: r18504
2010-03-10 04:07:00 +00:00
Matthew Flatt
a94e6f2ea9 fix (_bytes o n) as an FFI result type
svn: r18502
2010-03-10 02:18:05 +00:00
Stevie Strickland
14d1760abe Add procedure->method for a runtime version of the 'method-arity-error
syntax property.

svn: r18501
2010-03-10 01:25:57 +00:00
Stevie Strickland
86a26d7947 Sync up to trunk.
svn: r18500
2010-03-10 01:11:31 +00:00
Stevie Strickland
b917d99ce0 This didn't appropriately adjust for is_method.
svn: r18499
2010-03-10 01:10:13 +00:00
Sam Tobin-Hochstadt
24b9078560 update docs to use `define-type'
document `define-predicate'

svn: r18498
2010-03-10 00:17:33 +00:00
Sam Tobin-Hochstadt
c24daa5dbb Add `define-predicate'
svn: r18497
2010-03-10 00:10:03 +00:00
Stevie Strickland
0982626a67 Add test cases, which let us see where we're failing at the moment.
svn: r18496
2010-03-09 23:56:20 +00:00
Stevie Strickland
cd3499dea5 Initial cut at documentation.
svn: r18495
2010-03-09 23:22:35 +00:00
Stevie Strickland
ef90b0f91d Remove unused var, take Matthew's advice in scheme_extract_struct_procedure.
svn: r18494
2010-03-09 23:22:15 +00:00
Stevie Strickland
fcbcf0bb6f Sync up to trunk.
svn: r18493
2010-03-09 22:51:00 +00:00
Stevie Strickland
0ea1814b6b extend the reduced_proc struct to contain info on method wrapping
svn: r18492
2010-03-09 22:47:00 +00:00
Eli Barzilay
89aa9b6ed5 Welcome to a new PLT day.
svn: r18491
2010-03-09 08:50:28 +00:00
Matthias Felleisen
46d66b4542 bug report 10816
svn: r18490
2010-03-09 02:06:32 +00:00