Kevin Tew
63b819ce74
[setup-unit] cleanup ccs-to-compile, move invocations to bottom of unit
...
svn: r18741
2010-04-06 20:56:28 +00:00
Matthew Flatt
aec586d2be
fix a GC problem related to future and wcm; also fix a race condition related to JITing a delay-loaded procedure (and maybe specific to future-demanded JITting)
...
svn: r18739
2010-04-06 16:44:53 +00:00
Kevin Tew
19ed8d9bbf
refactor setup-unit make-zo
...
svn: r18738
2010-04-06 16:35:28 +00:00
Matthew Flatt
c5ac9f23ec
better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
...
svn: r18737
2010-04-06 15:52:36 +00:00
Eli Barzilay
90acb35315
optimize null and one-argument lists
...
svn: r18736
2010-04-06 15:26:15 +00:00
Eli Barzilay
cc3c334026
Welcome to a new PLT day.
...
svn: r18735
2010-04-06 07:50:28 +00:00
Eli Barzilay
9af8fb2195
Welcome to a new PLT day.
...
svn: r18734
2010-04-05 07:40:03 +00:00
Matthew Flatt
fdba97b1c0
rico
...
svn: r18733
2010-04-04 15:08:35 +00:00
Eli Barzilay
a360b554ce
Welcome to a new PLT day.
...
svn: r18732
2010-04-04 07:50:36 +00:00
Ryan Culpepper
fdd42be5d9
syntax/parse:
...
fixed bug (thanks Jay!)
some internal additions/changes
svn: r18731
2010-04-03 23:00:37 +00:00
Matthew Flatt
3cc95b31ef
add prop:struct-info
...
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
6cd548b0f3
fix module-laguage info from scribble/doc
...
svn: r18729
2010-04-03 11:59:26 +00:00
Eli Barzilay
8e36e8e3eb
Welcome to a new PLT day.
...
svn: r18728
2010-04-03 07:50:06 +00:00
Casey Klein
3d9806a606
Forces sequences to have length zero when the depth is zero
...
svn: r18726
2010-04-03 00:54:55 +00:00
Matthew Flatt
2cb9f378aa
Racket experiments
...
svn: r18725
2010-04-02 21:29:59 +00:00
Jay McCarthy
2a87df9e5c
Supporting arguments in dispatch pattern arguments
...
svn: r18724
2010-04-02 20:55:36 +00:00
Jay McCarthy
7b61ba023d
New library formlets
...
svn: r18720
2010-04-02 18:53:29 +00:00
Eli Barzilay
2a2562aa87
Welcome to a new PLT day.
...
svn: r18718
2010-04-02 07:28:09 +00:00
Stevie Strickland
664cfa2e31
Given the other uses of #:mode public-final in this file, I assume that the
...
quote was a mistake.
svn: r18717
2010-04-02 00:15:24 +00:00
Kevin Tew
191b111109
Communciate Structs
...
svn: r18715
2010-04-01 17:03:51 +00:00
Matthew Flatt
b2d65a1b95
fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
...
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
853db0ae55
forgot examples
...
svn: r18709
2010-04-01 08:27:15 +00:00
Eli Barzilay
05fca5df14
Documented () thing
...
svn: r18706
2010-04-01 07:46:01 +00:00
Eli Barzilay
581cbb461b
Change `generator' to have a form of (generator () body ...). The empty
...
place will have initial input names, so having this first will make
existing code break with an easy to fix syntax error, rather than having
confusing failures. (Also made it throw a very clear error message if
there is no () now.)
svn: r18705
2010-04-01 07:45:41 +00:00
Eli Barzilay
6977f08878
typo (PR 10754)
...
svn: r18704
2010-04-01 07:33:55 +00:00
Matthias Felleisen
eaa7303113
the proper fix
...
svn: r18703
2010-04-01 02:01:05 +00:00
Matthias Felleisen
7a4cd2a706
appeasing drdr
...
svn: r18702
2010-04-01 00:57:36 +00:00
Matthias Felleisen
3f20bc5eb6
fixes 10836
...
svn: r18700
2010-03-31 21:59:07 +00:00
Eli Barzilay
6234c57b69
places docs in user directory since its not on by default.
...
svn: r18698
2010-03-31 21:38:02 +00:00
Eli Barzilay
ba57548bc7
loa is gone
...
svn: r18697
2010-03-31 21:36:56 +00:00
Casey Klein
a9096f2e07
Adds to examples directory and cleans up tests
...
svn: r18693
2010-03-31 16:02:24 +00:00
Robby Findler
6cc7e81db8
updated to match new error message
...
svn: r18691
2010-03-31 14:36:58 +00:00
Robby Findler
860f81bcef
updated the unix bitmaps
...
svn: r18690
2010-03-31 12:36:44 +00:00
Eli Barzilay
658fc0717d
Hack for chrome: catch errors when reading/writing cookies
...
and just treat it as if there is no cookie. This is what
chrome effectively did until recently -- so the relying on
cookies for the return path to the user-specific pages was
and still is broken.
svn: r18684
2010-03-31 06:36:58 +00:00
Casey Klein
6886f6540a
Fixes handling of where/hidden and side-condition/hidden clauses in reduction-relation.
...
svn: r18683
2010-03-31 01:03:25 +00:00
Robby Findler
62fb1bed65
svn: r18682
2010-03-30 22:30:37 +00:00
Matthew Flatt
164e998cbd
fix syntax-case docs on how the exception is raised
...
svn: r18679
2010-03-30 21:33:59 +00:00
Matthew Flatt
417be5d8e2
move definedness check for imported variable to link time instead of access time; add errortrace meta-language; tweak errortrace to avoid an unnecessary and loop-obscuring annotation; improve slightly bytecode optimizer's handling of w-c-m; improve JIT handling of w-c-m
...
svn: r18678
2010-03-30 20:21:28 +00:00
Jay McCarthy
cafd092994
Adding another kind of error in xexpr
...
svn: r18677
2010-03-30 19:55:56 +00:00
Jay McCarthy
0289edf0cb
Repairing SchemeUnit tests re: DrDr
...
svn: r18673
2010-03-30 17:42:16 +00:00
Matthias Felleisen
0b33e15553
committed rest of fix
...
svn: r18672
2010-03-30 17:41:31 +00:00
Jay McCarthy
04d1fa6a26
Parsing patch from Dave Gurnell
...
svn: r18671
2010-03-30 17:05:51 +00:00
Jay McCarthy
18276161b8
- Limiting the size of DrDr emails
...
svn: r18670
2010-03-30 15:26:08 +00:00
Matthias Felleisen
3c1d0b079c
10834 fixed
...
svn: r18668
2010-03-30 13:43:47 +00:00
Noel Welsh
cfab7a8d97
Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
...
svn: r18667
2010-03-30 13:33:45 +00:00
Philippe Meunier
3a0b16d4ce
Fixed some weird unicode double-quotes which I can't produce on my computer.
...
svn: r18666
2010-03-30 08:39:54 +00:00
Philippe Meunier
ef2c882562
Quaterly update...
...
svn: r18665
2010-03-30 04:06:55 +00:00
Matthew Flatt
25ede3dc50
fix reporting for some syntactic misuses of syntax-case
...
svn: r18662
2010-03-29 20:39:42 +00:00
Matthew Flatt
baab09fc1b
drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
...
svn: r18661
2010-03-29 15:06:47 +00:00
Sam Tobin-Hochstadt
2bda6af6b0
Fix obvious bug.
...
svn: r18660
2010-03-29 15:01:29 +00:00
Noel Welsh
f655a38ead
Fix the SchemeUnit test suite so it runs without error following changed introduced in r18618.
...
svn: r18659
2010-03-29 12:58:13 +00:00
Eli Barzilay
8de7c3615a
Welcome to a new PLT day.
...
svn: r18658
2010-03-29 07:50:18 +00:00
Matthew Flatt
b8c3112b98
fix chaperones on parameters
...
svn: r18654
2010-03-28 15:56:04 +00:00
Eli Barzilay
73e22ed867
Welcome to a new PLT day.
...
svn: r18652
2010-03-28 07:50:40 +00:00
Matthew Flatt
73807aef24
chaperones (v4.2.5.3)
...
svn: r18650
2010-03-28 01:10:33 +00:00
Robby Findler
895b207916
likely fixed an initialization problem (but I only saw the problem once so Im not sure); pls. include in release
...
svn: r18649
2010-03-27 15:55:50 +00:00
Robby Findler
5c2f79a3fa
removed a now-bogus test case; pls. include this commit in the release
...
svn: r18647
2010-03-27 14:26:26 +00:00
Mike Sperber
19793ca54b
Disable a test that exposes a hard-to-fix problem in the image
...
primitives.
svn: r18645
2010-03-27 13:52:49 +00:00
Eli Barzilay
81c374d0f3
Welcome to a new PLT day.
...
svn: r18644
2010-03-27 07:50:35 +00:00
Sam Tobin-Hochstadt
752e93fc88
add simple tests
...
svn: r18638
2010-03-27 00:31:29 +00:00
Jay McCarthy
3e546fee60
Correct the cookie contract function
...
svn: r18630
2010-03-26 16:45:42 +00:00
Jay McCarthy
e69a18eefd
Stricter cookie contracts
...
svn: r18629
2010-03-26 16:07:35 +00:00
Noel Welsh
302555cf01
Add types for most of Byte and String Output (Section 12.3 of the Reference). Only functions that need an Event type (i.e. matching evt?) are missing. They are commented out as a placeholder for future additions.
...
svn: r18628
2010-03-26 14:48:33 +00:00
Eli Barzilay
b119cd0c8b
Welcome to a new PLT day.
...
svn: r18626
2010-03-26 07:50:20 +00:00
Matthew Flatt
72db535760
fix optimizer bug for inlining procedures under 'let' in rator position
...
svn: r18622
2010-03-25 20:09:41 +00:00
Robby Findler
99ee6c468f
fixed a bug found by random testing
...
svn: r18621
2010-03-25 19:32:22 +00:00
Jay McCarthy
55c3176934
Adding a work around for the compiler bug... plus I like it better. And adding a regression test for the compiler.
...
svn: r18619
2010-03-25 18:14:11 +00:00
Jay McCarthy
26a502d762
SchemeUnit will now display errors on stderr.
...
This seemed like the simplest way to do it. Only errors have output anyways, so I made the error port the output port and caught everything.
svn: r18618
2010-03-25 17:56:07 +00:00
Eli Barzilay
0429158546
Welcome to a new PLT day.
...
svn: r18617
2010-03-25 07:50:08 +00:00
Stevie Strickland
290a73b56b
Check and unwrap instead of grabbing the property value, then using it to
...
unwrap.
svn: r18610
2010-03-24 21:32:32 +00:00
Noel Welsh
af84b331a1
Add the fx to fl conversion functions to Typed Scheme
...
Add tests for flonum operations to Typed Scheme test suite
Fix the compiler bug tests above uncovered
svn: r18609
2010-03-24 13:18:37 +00:00
Eli Barzilay
4c547721dd
Welcome to a new PLT day.
...
svn: r18608
2010-03-24 07:50:28 +00:00
Matthew Flatt
0550cc3680
htdp language readers introduce explicit #%module-begin (for consistency with other #lang-based languages, as requested by JPR); merge to4.2.5
...
svn: r18605
2010-03-23 13:34:00 +00:00
Noel Welsh
7c55242179
Add the full suite of fl and unsafe-fl operations to Typed Scheme
...
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.
svn: r18604
2010-03-23 12:24:50 +00:00
Noel Welsh
cf017110a9
Fix a problem generating contracts for FlVector exports. Add test for problem.
...
svn: r18603
2010-03-23 10:30:24 +00:00
Matthew Flatt
fb37601b55
bug fixes from random testing
...
svn: r18602
2010-03-23 01:49:08 +00:00
Sam Tobin-Hochstadt
4f456a2b6e
fix some references
...
svn: r18595
2010-03-22 14:17:18 +00:00
Robby Findler
52186197c7
whoops
...
svn: r18594
2010-03-21 22:58:42 +00:00
Robby Findler
c74849dc2e
added support for the 10pt option to the sigplan scribble support
...
svn: r18593
2010-03-21 22:56:26 +00:00
Eli Barzilay
40444fc087
Stupid $%^#*&!*ing typo. It has been in this code since the major code
...
reorganization that was included in v4.2.3. Cost me most of the night to
track down.
svn: r18592
2010-03-21 10:00:58 +00:00
Eli Barzilay
236b0249a7
Welcome to a new PLT day.
...
svn: r18590
2010-03-21 07:50:47 +00:00
Robby Findler
580f105792
fixed a bug in the initialization of the language dialog
...
svn: r18589
2010-03-21 01:37:53 +00:00
Eli Barzilay
09cfe5f626
Welcome to a new PLT day.
...
svn: r18588
2010-03-20 07:51:04 +00:00
Robby Findler
dbe66de3af
fix for a bug discovered via random testing
...
svn: r18587
2010-03-19 20:36:39 +00:00
Robby Findler
ff10493a0e
fix to a bug detected by random testing
...
svn: r18586
2010-03-19 19:55:02 +00:00
Sam Tobin-Hochstadt
23d16b904f
fix embed-in-c
...
svn: r18584
2010-03-19 15:27:47 +00:00
Casey Klein
a004964297
Fixed another bug found with random testing
...
svn: r18583
2010-03-19 14:08:48 +00:00
Robby Findler
1c72ed7a20
a bug found via random testing
...
svn: r18582
2010-03-19 13:20:30 +00:00
Casey Klein
854a902cbd
Fixed bugs found with random testing
...
svn: r18581
2010-03-19 11:39:02 +00:00
Eli Barzilay
4e30b8dc6b
Welcome to a new PLT day.
...
svn: r18580
2010-03-19 07:50:34 +00:00
Stevie Strickland
dde2011ec7
Add ->dm and case->m, which are the implicit method versions of ->d and
...
case->.
This should be included in the release.
svn: r18579
2010-03-18 21:28:41 +00:00
Kevin Tew
dedb261ea8
[Places] place-channels are syncable events, place-channel-send/recv, #t and #f are now communicated
...
svn: r18578
2010-03-18 16:53:16 +00:00
Kevin Tew
8299803e06
[Places] channel tests
...
svn: r18577
2010-03-18 16:42:14 +00:00
Kevin Tew
e9693b7d9d
[Places] channels can send fixnums, strings, lists, and vectors
...
svn: r18576
2010-03-18 16:42:05 +00:00
Matthew Flatt
92487ed9e2
better error reporting when a top-level form is wrong
...
svn: r18575
2010-03-18 14:43:38 +00:00
Robby Findler
d761a0236a
fixed a typo, please include in release
...
svn: r18574
2010-03-18 13:38:59 +00:00
Eli Barzilay
442a505be7
Welcome to a new PLT day.
...
svn: r18571
2010-03-18 07:50:16 +00:00
Jay McCarthy
a1156ec3d3
Fix broken documentation examples
...
svn: r18569
2010-03-17 19:34:59 +00:00
Sam Tobin-Hochstadt
d58bf1521b
added (disabled) optimization
...
svn: r18567
2010-03-17 19:25:21 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93
Fix bug in match reported by jay.
...
svn: r18563
2010-03-17 18:21:09 +00:00
Sam Tobin-Hochstadt
31911dba55
add FlVector as a type
...
svn: r18559
2010-03-17 17:00:14 +00:00
Sam Tobin-Hochstadt
fe68168e3d
these operations do not exist
...
svn: r18558
2010-03-17 16:51:04 +00:00
Noel Welsh
5f6aeb364f
Check that the FlVector type is exported. Currently this test fails.
...
svn: r18557
2010-03-17 15:26:30 +00:00
Noel Welsh
39a1489403
Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
...
svn: r18555
2010-03-17 14:49:29 +00:00
Eli Barzilay
2804c57264
Welcome to a new PLT day.
...
svn: r18553
2010-03-17 07:50:33 +00:00
Carl Eastlund
d9b7609e1e
Fixed splicing-syntax-parameterize to splice require and provide forms.
...
svn: r18551
2010-03-16 23:04:46 +00:00
Eli Barzilay
123cd387f4
Welcome to a new PLT day.
...
svn: r18549
2010-03-16 07:50:36 +00:00
Kevin Tew
e7b6b4a3da
place holder for place-channel tests
...
svn: r18548
2010-03-15 21:28:57 +00:00
Sam Tobin-Hochstadt
b9902e5145
Actual contracts for classes. Yay sstrickl!
...
svn: r18547
2010-03-15 18:21:15 +00:00
Stevie Strickland
4795a5bbc2
Sync to trunk, even though it's minor
...
svn: r18545
2010-03-15 11:13:15 +00:00
Stevie Strickland
5145638ac5
Since we're handling initialization and the result of this wrapper is a
...
real (sub)class, we need this to be #f.
svn: r18544
2010-03-15 09:19:50 +00:00
Stevie Strickland
bf56a108fe
Need scheme/class's init for use in class/c form.
...
svn: r18543
2010-03-15 09:04:10 +00:00
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
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
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
86a26d7947
Sync up to trunk.
...
svn: r18500
2010-03-10 01:11:31 +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