Commit Graph

14483 Commits

Author SHA1 Message Date
Mike Sperber
5f25c239f2 Merge remote branch 'local-plt/master'
Conflicts:
	collects/deinprogramm/define-record-procedures.scm
	collects/test-engine/scheme-tests.rkt
	collects/test-engine/test-display.scm
2010-07-13 17:13:30 +02:00
Eli Barzilay
51d2417cf5 Intro text done, hopefully. 2010-07-12 21:41:34 -04:00
Eli Barzilay
fb968d1d34 Added a page for drracket.org. 2010-07-12 21:41:34 -04:00
Eli Barzilay
6158e24d84 Add a convenient macro for sections, and some sequence functions 2010-07-12 21:41:33 -04:00
Eli Barzilay
e54d7c0806 Add some newlines to make htmls more readable (and debuggable) 2010-07-12 21:41:33 -04:00
Eli Barzilay
fa8129b44d fix references to pre 2010-07-12 21:41:33 -04:00
Eli Barzilay
5b6b3f3bac Delay the generation of the button script, so it gets the right download url. 2010-07-12 21:38:53 -04:00
Eli Barzilay
bb6a109e98 guide typo 2010-07-12 21:38:52 -04:00
Eli Barzilay
14d181ddef minor typo fix 2010-07-12 21:38:52 -04:00
Eli Barzilay
0b9409d3b6 Reformat the code to be more readable. 2010-07-12 21:38:01 -04:00
Matthew Flatt
818ac8f712 fix bug in new int-def parsing 2010-07-12 18:58:38 -06:00
Matthew Flatt
768a3721f9 add async-apply support to FFI 2010-07-11 14:59:40 -06:00
Robby Findler
41cfcbe862 rewrote an ->d contract so that it would work with a let*-style scoping 2010-07-10 10:01:25 -05:00
Robby Findler
476dd36eec modified the draw-button-label contract so that it would work with a let*-style scoping for ->d 2010-07-10 10:01:25 -05:00
Robby Findler
f5c18d3300 removed more unnecessary ->d's 2010-07-10 10:01:24 -05:00
Robby Findler
f5310b2908 removed unnecessary ->d contracts (they were actually just -> contracts), plus a little Racketying that I missed in the last commit. 2010-07-10 10:01:24 -05:00
Robby Findler
1f89bea08d Rackety 2010-07-10 10:01:24 -05:00
Matthew Flatt
49ad309630 allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
Matthew Flatt
52d04449a1 improve racket/serialize to handle cycles with mutable prefabs 2010-07-09 14:19:59 -06:00
Robby Findler
0a7c65d066 improved the code that determines if an identifier is a known predicate or if it is some unknown thing 2010-07-09 15:11:02 -05:00
Robby Findler
99c563ac50 fixed a bug in the way the gui was reset when editing the definitions window 2010-07-09 15:03:41 -05:00
Robby Findler
0d59557f3b added a (stupid) function for determining the obligations of a contract 2010-07-09 15:03:41 -05:00
Robby Findler
e381814d7e set up support for contract obligation information in drracket (altho the actual
function that computes the obligation is currently random)
2010-07-09 15:03:41 -05:00
Robby Findler
f7c1a97c0b Added syntax properties to provide/contract so that the contracts on exported variables can be recovered from the fully expanded program. 2010-07-09 15:03:41 -05:00
Sam Tobin-Hochstadt
e28b60e44f remove debugging printf 2010-07-09 14:06:46 -04:00
Sam Tobin-Hochstadt
d030d0631d Fix missing unquote 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
a84796d8d7 add variance helper functions 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
c6fb95d44d add `make-constant' 2010-07-09 13:52:39 -04:00
Sam Tobin-Hochstadt
898c92eb1e generalize inferred types for invariant positions 2010-07-09 13:52:39 -04:00
Matthew Flatt
bf6db901c6 fix props 2010-07-09 11:07:48 -06:00
Matthew Flatt
cdf67d884f fix info-domain updating to recognize "info.ss" in addition to "info.rkt"
which solves the problem of forgetting a Planet-based tool when a
 new Planet-based tool is installed (if the old tool used "info.ss"
 instead of "info.rkt")
2010-07-09 10:23:05 -06:00
Matthew Flatt
20bb4a8dfa change plt-single-installer to not create processes 2010-07-09 10:22:38 -06:00
Matthew Flatt
195b37831b fix `planet'-path bug in module-name resolver for generated eecutables 2010-07-09 09:48:41 -06:00
Matthew Flatt
41551a4987 adjust raco planet help output to fit in 80 columns 2010-07-09 06:44:34 -06:00
Matthew Flatt
c7c8f56e11 fix validation of module .zo exp-time content, and fix zo-marshal 2010-07-08 17:17:42 -06:00
Vincent St-Amour
8505bd8bca Removed a stray TODO comment. 2010-07-08 18:29:16 -04:00
Vincent St-Amour
dbda43ac6b Pushed optimizations to auxiliary syntax classes. 2010-07-08 18:29:15 -04:00
Vincent St-Amour
c3f46cc8a6 Refactoring of the optimizer. 2010-07-08 18:29:15 -04:00
Vincent St-Amour
24aad77da3 Moved Typed Scheme's optimizer to its own subdirectory. 2010-07-08 18:29:15 -04:00
Kevin Tew
85098c5290 Parallel-build fixes for ctrl-c/break 2010-07-08 15:51:10 -06:00
Kevin Tew
3a9eee936a Remove raco commands and old dag impl 2010-07-08 14:41:52 -06:00
Matthew Flatt
0eeb18f4d8 Improve the bytecode optimizer's ability to simplify `letrec's
to smaller `letrec' groups or even `let*'.
 The goal of the change is to avoid performance surprises
 when using internal definitions, especially when mixing
 experessions with definitions.
 It's a somewhat scary change. Besides the new transformation,
 the optimizer pass's coordinate system for `letrec' (and sometimes
 `let*') bindings changed.
 No standard benchmarks were harmed during the making of this
 optimization. (None were improved, either.)
2010-07-08 13:43:40 -06:00
Vincent St-Amour
ea8523bd63 Fixed pessimization of some complex code. 2010-07-07 22:08:51 -04:00
Vincent St-Amour
12a427f5ea Changed the size of the maze2 benchmark. 2010-07-07 20:46:06 -04:00
Vincent St-Amour
3334d71491 Fixed the fft benchmark. 2010-07-07 19:42:56 -04:00
Vincent St-Amour
7853d33349 Improved unboxed complex operations.
Intermediate results are kept as unboxed floats as long as we stay
within complex arithmetic code.
2010-07-07 19:42:56 -04:00
Vincent St-Amour
a46faaea40 Added format-unique-id to unstable/syntax. 2010-07-07 19:42:55 -04:00
Vincent St-Amour
7921074eef Avoid boxing intermediate results when doing multiple complex
operations in a row.

However, because of values and let-values, we lose float unboxing.
If we have a single complex operation, this is much slower than my
previous implementation (though still faster than generic
operations). With 2 complex operations, the new implementation becomes
faster.
2010-07-07 19:42:55 -04:00
Vincent St-Amour
de52d2ce9f Avoided duplicate computation in inexact complex division. 2010-07-07 19:42:55 -04:00
Vincent St-Amour
3fb69bc764 Generic inexact complex arithmetic operations are now replaced with
the right combinations of unsafe float operations.
2010-07-07 19:42:54 -04:00
Vincent St-Amour
e52d63ee68 Added an optimization for vector-length of known-length vectors. 2010-07-07 19:42:54 -04:00
Vincent St-Amour
eb7fc7a965 Have type ascriptions record the ascribed type in the type table. 2010-07-07 19:42:54 -04:00
Matthew Flatt
519d1ef8d1 make compiler slightly smarter about 0-value letrec-values bindings
which corresponds to code generated from experession that are
 mixed with internal definitions
2010-07-07 13:56:16 -06:00
Matthew Flatt
54216b5ced internal-definition contexts allow expressions mixed with definitions
while the new `#%stratified-body' form provides access to the old
 convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
a8062dc37d fix docs on `raco make --no-deps'
Closes PR 11018
2010-07-07 13:56:16 -06:00
Robby Findler
070a39d902 fixed a bug in text's color argument, as noted in PR 10998 2010-07-07 13:42:40 -05:00
John Clements
c42d5c25c7 fixed typo introduced by search-and-replace 2010-07-06 18:42:47 -04:00
Robby Findler
a5d969607b fixed PR 10998 2010-07-06 15:26:26 -05:00
Robby Findler
0ab512ce8c cleaned up code example for make-root-area-container 2010-07-06 15:26:26 -05:00
Sam Tobin-Hochstadt
e865380f6f Add typeof mappings only to original form. 2010-07-06 14:09:46 -04:00
Sam Tobin-Hochstadt
692a172474 Improve interface for `find-mutated-vars', now supports mutable *and* immutable versions. 2010-07-06 14:09:46 -04:00
Matthew Flatt
63ec520885 fix problem with Windows pipe writing 2010-07-06 10:59:16 -06:00
Kevin Tew
c9e84f9f67 [Parallel-Build] remove -u, -j 1 is uniprocessor, SETUP_OPTIONTS => PLT_SETUP_OPTIONS 2010-07-06 10:07:40 -06:00
Matthew Flatt
a6723283b8 fix empty-matching lexers 2010-07-06 07:15:19 -06:00
Matthew Flatt
96a6f56572 fix problem sharing Windows file handles to subprocess 2010-07-06 06:49:59 -06:00
Matthew Flatt
04fa6c6acd add `subprocess-group-enabled' for process-group support
and fix problems with places and subprocesses
 and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Kevin Tew
ecdd1ebc7a Parallel build fixes 2010-07-05 14:23:30 -06:00
Kevin Tew
c968f45d85 Parallel build by default 2010-07-05 11:58:52 -06:00
Kevin Tew
e1399f3d14 Fix early compilation of racket 2010-07-05 08:35:08 -06:00
Matthew Flatt
5c2ae50e45 add current-subprocess-custodian-mode 2010-07-04 12:42:25 -06:00
Matthew Flatt
e316fd3bf9 fix parallel build location of main executable 2010-07-04 12:42:08 -06:00
Matthew Flatt
fb730cb1c2 custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
Matthew Flatt
39f57b23c4 clarify note on shell process creation 2010-07-04 09:53:12 -06:00
Matthew Flatt
809f0a4550 port old "pre" web-page stubs 2010-07-03 07:15:48 -06:00
Robby Findler
f83784452e made ->d's optional argument spec itself optional 2010-07-02 20:52:48 -05:00
Vincent St-Amour
389a20795a Added support for make-flrectangular, flreal-part, flimag-part and
their unsafe counterparts to Typed Scheme and its optimizer.
2010-07-02 20:58:30 -04:00
Vincent St-Amour
556734a223 Added coercion of fixnums to floats to the optimizer. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
e8a0a26c2f Changed the optimizer's test harness to ignore type tables. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
cb0e058cff Removed spectralnorm-unsafe from the shootout harness. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
a6d11a1df0 Added struct optimizations. 2010-07-02 20:58:28 -04:00
Vincent St-Amour
5d61c7fab8 Ported the maze2 benchmark to typed Scheme. 2010-07-02 20:58:28 -04:00
Sam Tobin-Hochstadt
e989631d56 Add flags for running the optimizer tests and compiling the benchmarks 2010-07-02 19:00:57 -04:00
Matthew Flatt
439bc0a293 add flreal-part', flimag-part', `make-flrectangular', and unsafe variants 2010-07-02 16:08:15 -06:00
Matthew Flatt
eef7a8ba9d JIT inline real-part, imag-part, make-rectangular 2010-07-02 16:08:14 -06:00
Matthew Flatt
491ab3c12b expose internal display/write/print-limiting functionality via `printf'
addition of ~.
2010-07-02 16:08:14 -06:00
Matthew Flatt
e1112b45cd fix typos 2010-07-02 16:08:14 -06:00
Sam Tobin-Hochstadt
0e400291e7 Fix inference for heterogenous vectors. 2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
da3b4ed543 Use `define-type' to make docs clearer. 2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
219682bbbe Refactoring of tc-app.
- Move `check-below' into its own module
 - Move `tc/apply' to its own unit
 - Move `tc/funapp' and `tc/funapp1' to own module, outside of unit
2010-07-02 17:25:07 -04:00
Sam Tobin-Hochstadt
570df7d665 Generalize fixed-length lists to listofs.
Closes PR10057.
2010-07-02 17:25:07 -04:00
Kevin Tew
35c28f4f66 Parallel collects build (process-based) "raco setup -u" 2010-07-02 14:27:08 -06:00
Carl Eastlund
3d59420133 Made test-engine react gracefully to source file names of unexpected representation. 2010-07-02 16:18:48 -04:00
Vincent St-Amour
ed4f7b7bd7 Fixed make-vector's type to reflect generalization on vectors. 2010-07-02 15:48:08 -04:00
Vincent St-Amour
40988d6d54 Added support for recursive types to vector-ref and vector-set!. 2010-07-02 15:48:07 -04:00
Vincent St-Amour
458b6b65c9 Added optimization when iterating over lists. 2010-07-02 15:48:06 -04:00
Vincent St-Amour
1886572906 Added support for the 2 versions of optimizer tests to be written in
different languages.
2010-07-02 15:48:05 -04:00
Vincent St-Amour
f6077b02f1 Fixed some tests that used to test for an invalid optimization that is
now valid.
2010-07-02 15:48:04 -04:00
Vincent St-Amour
f79f617ee8 Calls to vector now return heterogenous vectors, to preserve length
information.
2010-07-02 15:48:03 -04:00
Vincent St-Amour
843621398b Fixed types for the unsafe versions of vector-length. 2010-07-02 15:48:03 -04:00
Vincent St-Amour
f469e0d8bf Changed some benchmarks to use known-length vectors. 2010-07-02 15:48:02 -04:00