Commit Graph

14986 Commits

Author SHA1 Message Date
Ryan Culpepper
cf195b633b macro-stepper: correctly render new letrec transformation 2010-07-13 09:22:51 -06:00
Mike Sperber
9abdc72dad Unbreak doc build of image.scrbl. 2010-07-13 17:16:13 +02:00
Mike Sperber
450109f061 Merge changes to scheme-tests.rkt into racket-tests.rkt. 2010-07-13 17:15:50 +02:00
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
Vincent St-Amour
8c25e46141 Literal vectors are now given HeterogenousVector types to preserve
length information.
2010-07-02 15:48:00 -04:00
Vincent St-Amour
25cb5ef568 Fixed some tests to reflect changes to the optimizer. 2010-07-02 15:47:59 -04:00
Vincent St-Amour
351de3f767 Fixed the behavior of the optimizer on sqrt. 2010-07-02 15:47:58 -04:00
Vincent St-Amour
816cc75654 Fixed tests for invalid optimizations to actually test something. 2010-07-02 15:47:57 -04:00
Vincent St-Amour
ae242e2f88 Propagated Sam's changes to spectralnorm to the generic and unsafe versions. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
cdfbbc5476 Fixed the type of real->decimal-string. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
636fca1a83 Generalization is now done on vector types. 2010-07-02 15:16:11 -04:00
Vincent St-Amour
06279de2ca Nonnegative-Floats are now generalized to Floats. 2010-07-02 15:16:10 -04:00
Matthias Felleisen
de277d5d89 Merge branch 'master' of git:plt 2010-07-02 14:54:38 -04:00
Matthias Felleisen
3656cd1972 fixed pr 11010 2010-07-02 12:47:13 -04:00
Eli Barzilay
3a8feee6ca git content works (intro not all ported yet 2010-07-02 11:38:13 -04:00
Eli Barzilay
8f69e94980 Added `get-resource-path' to get the path of any resource.
Use it to allow getting the standard resource paths from the common
layout.
2010-07-02 11:38:13 -04:00
Eli Barzilay
76300bd759 #:full-width' -> #:width', which can specify full width or a given one. 2010-07-02 11:38:12 -04:00
Eli Barzilay
6e947fef90 Comments indicating how to add an attachment field to the bugs form, if
it becomes possible to deal with the cgi side in the future.
2010-07-02 11:38:12 -04:00
Eli Barzilay
e339081fd0 Added `split-attributes+body', to make it easy to write xml-like wrapper
functions, and used it in `center-div'.
2010-07-02 11:38:12 -04:00
Eli Barzilay
c73b42325a Better place for the IRC logs. 2010-07-02 11:38:12 -04:00
Ryan Culpepper
b3bf2fa6f3 macro-stepper: obsolete on program change (like stepper), not just rerun
Closes PR 8837
2010-07-01 17:05:07 -06:00
Ryan Culpepper
f6f480053e macro-stepper: removed unnecessary partition code
downgraded secondary "partition" to simple binary predicate
2010-07-01 17:05:07 -06:00
Ryan Culpepper
856dd4e14c macro-stepper: fixed pretty-{printing => writing} 2010-07-01 17:05:07 -06:00
Ryan Culpepper
efc0356605 macro-stepper: replaced {scheme -> racket}, {*.ss -> *.rkt}, etc 2010-07-01 17:05:06 -06:00
Ryan Culpepper
5673d7b877 macro-stepper: added step count
also removed some dead code (warnings)
2010-07-01 17:05:06 -06:00
Ryan Culpepper
a543c2137e unstable: removed byte-counting-port.rkt (use open-output-nowhere instead)
updated test to verify that open-output-nowhere has same behavior
2010-07-01 17:05:06 -06:00
Ryan Culpepper
7473cf624e unstable: added comments 2010-07-01 17:05:06 -06:00
Ryan Culpepper
8c42006ad7 unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Ryan Culpepper
a91e9e7bf6 macro-stepper: clarified "from" in hiding rules, added todo list 2010-07-01 17:05:05 -06:00
Ryan Culpepper
e9a8e92585 macro-stepper: simplified partition code 2010-07-01 17:05:05 -06:00
Ryan Culpepper
472b5ecdc0 macro-stepper: fetch mark lists directly 2010-07-01 17:05:05 -06:00
Sam Tobin-Hochstadt
ed88b9dd1a Better handling of expected types for `vector' 2010-07-01 17:32:16 -04:00
Sam Tobin-Hochstadt
71bb63c128 Better typing for `make-sequence'. 2010-07-01 17:12:59 -04:00
Sam Tobin-Hochstadt
9a1c08e230 Avoid some quotes while printing types. 2010-07-01 17:12:59 -04:00
Sam Tobin-Hochstadt
6f7c0112d3 add `displayln' 2010-07-01 17:12:59 -04:00
Matthew Flatt
3de7dbd2fd add chaperone-evt 2010-07-01 14:59:01 -06:00
Sam Tobin-Hochstadt
3d347f117b Add --just flag for running tests. 2010-07-01 13:47:02 -04:00
Sam Tobin-Hochstadt
829689eb9d Fix error reporting regression. 2010-07-01 13:46:16 -04:00
Sam Tobin-Hochstadt
4f3e3625b3 Fix error spec for this test. 2010-07-01 13:45:52 -04:00
Sam Tobin-Hochstadt
c0a9704ebc Rewrote spectral-norm benchmark based on Lua version. 2010-07-01 11:35:21 -04:00
Sam Tobin-Hochstadt
75bd26d326 Better error message for multiple ->
Closes PR 10493.
2010-07-01 11:35:21 -04:00
Sam Tobin-Hochstadt
efbdfd3e6e Support syntax errors blaming multiple syntaxes. 2010-07-01 11:35:20 -04:00
Robby Findler
8a6058fa0f added some printouts to say what this file is doing. 2010-07-01 06:03:08 -05:00
Robby Findler
896bbfaabb Adding support to do memory profiling of drr startup that drdr can track. 2010-07-01 06:03:07 -05:00
Robby Findler
b4d176466a Added a logger to drdr for tracking drracket's memory use on startup 2010-07-01 06:03:07 -05:00
Vincent St-Amour
e4cd5329fb Fixed benchmarks to work with Nonnegative-Floats. 2010-06-30 19:27:18 -04:00
Matthew Flatt
f478b74ed6 fix ++lib flag for raco ctool --c-mods 2010-06-30 16:22:32 -06:00
Matthew Flatt
b37799f42c scribble/doclang extends racket/base instead of scheme/base 2010-06-30 15:49:00 -06:00
Vincent St-Amour
f14cfebddc Restored running of the optimizer's tests by drdr. 2010-06-30 14:53:23 -04:00
Vincent St-Amour
1fe70704a2 Updated build-list and build-vector's types for fixnums. 2010-06-30 14:53:23 -04:00
Vincent St-Amour
adf5c8c030 Better types for modulo and remainder involving fixnums. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
62a15df3eb Added the Nonnegative-Float type. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
f026da5ecf Added filters for numeric comparisons. 2010-06-30 14:53:22 -04:00
Vincent St-Amour
e8c42cd20c Extended type signatures for addition. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
06b636b2e3 Updated make-vector's type for fixnums. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
dcfb2d8a94 Added the Inexact-Complex type. 2010-06-30 14:53:21 -04:00
Vincent St-Amour
ef576e27c5 Fixed the type of min and max to only operate on reals. 2010-06-30 14:53:20 -04:00
Vincent St-Amour
22a652ef8e Kept track of source location better in the for: macros and got rid of
useless type ascriptions.
2010-06-30 14:53:20 -04:00
Vincent St-Amour
90252c9bd3 Fixed the type for hash-ref! 2010-06-30 14:53:20 -04:00
Vincent St-Amour
8ec6d7ff3f Added a rule for valid float promotion when dividing. 2010-06-30 14:53:19 -04:00
Vincent St-Amour
c6373ca7c0 Added special case to the typechecker for (- <positive-fixnum> 1). 2010-06-30 14:53:19 -04:00
Vincent St-Amour
f27aac552f Fixed build-vector's type. 2010-06-30 14:53:19 -04:00
Vincent St-Amour
a6872c67a7 Eliminate exact->inexact of floats. 2010-06-30 14:53:18 -04:00
Vincent St-Amour
dfafc0b295 Added fixnum optimizations. 2010-06-30 14:53:18 -04:00
Vincent St-Amour
cee39c4a38 Added fixnums to more type signatures. 2010-06-30 14:53:18 -04:00
Jay McCarthy
06844073c7 Switch to using substitutions in returns and remove old parts of the interface 2010-06-30 10:54:13 -06:00
Matthew Flatt
cd95e082d7 fix guide's use of current-directory at compile time 2010-06-30 10:40:03 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
Matthew Flatt
7a7f545046 doc corrections and clarifications 2010-06-30 10:40:02 -06:00
Robby Findler
be38b69820 typo 2010-06-30 11:26:50 -05:00
Sam Tobin-Hochstadt
f763404347 Forgot to disable this yet again. 2010-06-30 12:04:23 -04:00
Vincent St-Amour
2c021dd6d2 Disabled running the optimizer's test harness by drdr, to avoid timeout. 2010-06-30 11:14:06 -04:00
Jay McCarthy
f5f46d9fe0 Changing docs re: John 2010-06-30 08:35:28 -06:00
Jay McCarthy
4e932f6c6b Fix documentation and add warning voice 2010-06-29 16:02:50 -06:00
Sam Tobin-Hochstadt
18078400b7 make subst structs transparent 2010-06-29 17:34:44 -04:00
Sam Tobin-Hochstadt
c01b239779 Refactor struct type representation.
- fields now represented by fld struct.
 - mutability on per-field basis
 - accessors are per field

This fixes lots of existing bugs, allows future #:mutable on fields.
2010-06-29 17:33:36 -04:00
Sam Tobin-Hochstadt
3c4f1f39b8 minor cleanups 2010-06-29 17:33:35 -04:00
Jay McCarthy
e46dbe3db5 Fixing bug in formlet macro 2010-06-29 15:17:13 -06:00
Jay McCarthy
fc91321f21 Close connection sooner 2010-06-29 13:49:01 -06:00
Jay McCarthy
df30cda523 Port registry and changing benchmarks to not conflict on ports 2010-06-29 13:38:36 -06:00
Jay McCarthy
2e5c04f083 Nail down port and dont conflict 2010-06-29 13:23:23 -06:00
Jay McCarthy
0062a4eb23 Fixing tests, adding provide, clarifying names 2010-06-29 13:18:04 -06:00
Jay McCarthy
10300bb63b Fixing racklog lang post datalog 2010-06-29 12:11:58 -06:00
Jay McCarthy
a6852d8f61 Adding FFI to Datalog 2010-06-29 11:09:07 -06:00
Eli Barzilay
9d97a201a4 Point at the query page (symlink) instead of the stub page. 2010-06-29 01:41:23 -04:00
Eli Barzilay
c14a945343 Post a bug -> redirect to a thanks page, when submitting with the web form.
(Submitting from DrRacket needs a simple response.)
2010-06-29 01:41:23 -04:00
Eli Barzilay
38a4f228ee bugs.racket-lang.org finally works.
Captcha files removed, and will be part of the extra web content sources
(which will hold the sources for internal.racket-lang.org too).
2010-06-29 01:41:23 -04:00
Eli Barzilay
ed5c5fcb14 Turn the distribution list into a parameter so it can be extended. 2010-06-29 01:41:22 -04:00
Eli Barzilay
95c49e138e Avoid changing the parameter value, so it is possible to extend it. 2010-06-29 01:41:22 -04:00
Eli Barzilay
fdb8751de3 Add a flag for an extra file to include for the rendering.
(The extra file is just required dynamically, and it is supposed to
register resources for rendering etc.)
2010-06-29 01:41:22 -04:00
Eli Barzilay
95577a0aad Make the mailing list pointers relative to the lists server. 2010-06-29 01:41:22 -04:00
Jay McCarthy
5cf9ff5f0d Changing ignore per Eli 2010-06-28 20:01:57 -06:00
Jay McCarthy
5d96a92f7c Adding ignore for web log 2010-06-28 19:59:28 -06:00
Jay McCarthy
b4cc683f08 Fixing output port 2010-06-28 19:58:18 -06:00
Matthew Flatt
e78b5d722e repairs to cm refactoring 2010-06-28 17:01:57 -06:00
Matthew Flatt
47c7c1a27b JIT support for inexact->exact', add unsafe-fl->fx', etc. 2010-06-28 15:57:49 -06:00
Kevin Tew
c320d63f01 get-compile-directory-srcs returns list of sources to compile 2010-06-28 14:55:33 -06:00
Kevin Tew
fe60da72c8 Refactor compile manager check-cache function 2010-06-28 14:50:50 -06:00
Jon Rafkind
ccac23d648 show example of nested syntax matching 2010-06-28 14:33:00 -06:00
Jon Rafkind
c7772cbf08 note that exe will not improve performance 2010-06-28 14:04:49 -06:00
Jon Rafkind
6d3b976375 add note about racket/base being faster than racket 2010-06-28 14:04:48 -06:00
Jay McCarthy
da7d4d4042 Adding datalog macro 2010-06-28 13:22:53 -06:00
Jay McCarthy
1f3c3df835 Strange additional 7 2010-06-28 12:51:24 -06:00
Jay McCarthy
12797fef41 Using the datalog reader for racklog 2010-06-28 11:24:01 -06:00
Jay McCarthy
3a8415e902 Fixing PR11002 2010-06-28 11:24:00 -06:00
Sam Tobin-Hochstadt
23553392df Rewrite typed common benchmark wrapper. 2010-06-28 12:12:32 -04:00
Sam Tobin-Hochstadt
26e73cf61d Remove bogus reference to 'sexpression', add docs for Sexp type, don't use Sexp where inappropriate 2010-06-28 11:12:21 -04:00
Sam Tobin-Hochstadt
a214f50812 remove unneeded export 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
0bae63b516 Use get-type/infer for un-annotated defines. 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
90d8a3cc13 Generalize mutated variables when inferring types. 2010-06-28 11:12:20 -04:00
Sam Tobin-Hochstadt
e7c33c2244 Rewrite shootout benchmark wrapper.
- Now only needs one wrapper, conditions on module name
 - use with #lang s-exp
 - uses typed reader
2010-06-28 11:09:59 -04:00
Matthew Flatt
559736e529 datalog in dist-specs 2010-06-28 07:37:22 -06:00
Matthew Flatt
2dd8edf73d doc typo and clarification 2010-06-28 07:18:19 -06:00
Mike Sperber
5cd0a37d5e Re-export struct:posn from lang/posn.
I hadn't checked someone is using it.
2010-06-28 15:00:32 +02:00
Mike Sperber
faf8ec358f Rename DMdA/HtDP "contract" to "signature". 2010-06-28 14:58:16 +02:00
Sam Tobin-Hochstadt
12f30cf478 Update `trace' docs.
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.
2010-06-27 19:17:04 -04:00
Matthew Flatt
d0dabc7136 fix pkg-install contract
Closes PR 10986
2010-06-27 11:15:53 -06:00
Matthew Flatt
84503de886 changed some 'pretty-print's to 'pretty-write's
Closes PR 11001
2010-06-27 10:13:11 -06:00
Matthew Flatt
c072373fd6 tweaks to More related to text editors and readline 2010-06-27 10:11:22 -06:00
Matthew Flatt
b4ab391fb6 fix htdp/bsl printer 2010-06-27 08:29:21 -06:00
Matthew Flatt
dc99e1992c restore support for sub-matches in `regexp-replace*' 2010-06-26 18:23:54 -06:00
Jay McCarthy
4fe07902d9 Using configure-runtime 2010-06-26 18:04:21 -06:00
Jay McCarthy
92cb668c30 Fixing pr10991 2010-06-26 15:57:23 -06:00
Jay McCarthy
c48d1b58b4 Uses a more traditional read/expand/eval pipeline 2010-06-26 15:25:22 -06:00
Jay McCarthy
6d3d135f4c Simplifying organization 2010-06-26 15:25:21 -06:00
Matthew Flatt
dc98077ca4 add 'handles-all-mouse-events snip% flag 2010-06-26 13:53:31 -06:00
Matthew Flatt
0107404cee fix typo
Closes PR 10996
2010-06-26 13:53:30 -06:00
Jay McCarthy
f7210b20cf Reader refactor 2010-06-26 13:30:59 -06:00
Jay McCarthy
07142e2305 Use capitalized letters for variables in paren version 2010-06-26 13:17:10 -06:00
Jay McCarthy
b126303628 Protecting :- outside clauses 2010-06-26 13:08:10 -06:00
Jay McCarthy
22b39b44d1 Exposing redirect-to arg in redirect/get* 2010-06-26 13:05:45 -06:00
Mike Sperber
6e1e6660c4 Synch German string constants with latest. 2010-06-26 17:58:03 +02:00
Jay McCarthy
8afc06c096 Using current-read-interaction and renabling adapted tutorial 2010-06-25 22:36:13 -06:00
Jay McCarthy
0bda9efa96 Removing old sexp library and correct docs for warning 2010-06-25 22:36:13 -06:00
Jay McCarthy
e90de7196d Moving tests 2010-06-25 22:36:12 -06:00
Jay McCarthy
30e3cd1071 Moving tests 2010-06-25 22:36:12 -06:00
Robby Findler
489d1d730f closes PR 10989 2010-06-25 20:28:38 -05:00
Robby Findler
a612830b8e added the radial-star primitive 2010-06-25 20:24:18 -05:00
Robby Findler
168434bd21 fixed an error message 2010-06-25 20:24:18 -05:00
Jay McCarthy
e8ef7dcaa5 Datalog docs 2010-06-25 17:08:14 -06:00
Jay McCarthy
c1e7bf62f7 Paren datalog 2010-06-25 17:08:13 -06:00
Jay McCarthy
8636c4ee36 Paren examples 2010-06-25 17:08:13 -06:00
Jay McCarthy
a9c32a62d4 Saving paren progress 2010-06-25 17:08:13 -06:00
Jay McCarthy
a98547b033 docs 2010-06-25 17:08:13 -06:00
Jay McCarthy
73b4059ade Tests 2010-06-25 17:08:13 -06:00
Jay McCarthy
e752682879 Typo 2010-06-25 17:08:13 -06:00
Jay McCarthy
33f5d90592 Clean up 2010-06-25 17:08:13 -06:00
Jay McCarthy
ee8477ca13 Removing tool and using new repl submit 2010-06-25 17:08:13 -06:00
Jay McCarthy
80da9872e0 Cleaning up printer 2010-06-25 17:08:12 -06:00
Jay McCarthy
353ef05902 Removing pprint dependency 2010-06-25 17:08:12 -06:00
Jay McCarthy
01bed35ca1 Typos 2010-06-25 17:08:12 -06:00
Jay McCarthy
4bb6c1ddcf Typo 2010-06-25 17:08:12 -06:00
Jay McCarthy
239af8c1c7 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
498c3019b4 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
09f6e5bee4 Rackety 2010-06-25 17:08:12 -06:00
Jay McCarthy
f2c4e84006 Responsible 2010-06-25 17:08:12 -06:00
Jay McCarthy
940db1ab6c Initial add of Datalog 2010-06-25 17:08:11 -06:00
Vincent St-Amour
a6c75db94f Fixed typos in the numbers reference. 2010-06-25 18:01:41 -04:00
Eli Barzilay
f5a0e6e0b8 Undo the racket/init symbolic form thing.
It needs to be (lib "racket/init") because that's the way that racket
uses the -I flag.  I think that I ran into this in the past, so drop in
a comment explaining this.

This reverts commit f58b58383f.
2010-06-25 16:05:58 -04:00
Vincent St-Amour
28acece484 Fixed Typed Scheme's optimizer's test harness to work with drdr. 2010-06-25 13:25:42 -04:00
Eli Barzilay
f58b58383f Adjust tests to requiring racket/init in symbolic form. 2010-06-25 11:01:05 -04:00
Vincent St-Amour
382a45ad6f Fixed the optimizer so that it optimizes float comparisons. 2010-06-25 11:00:26 -04:00
Vincent St-Amour
d6008f9191 Typed Scheme now optimizes (exact->inexact <Integer>) to (->fl <Integer>). 2010-06-25 11:00:25 -04:00
Vincent St-Amour
17f0d146f1 Adjusted benchmark sizes. 2010-06-25 11:00:25 -04:00
Vincent St-Amour
bc0d0a6e18 Unified the nbody-vec benchmarks so that they only differ by their use
of flonum or unsafe operations.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
369ce44416 Made the default nbody benchmark unsafe. 2010-06-25 11:00:24 -04:00
Vincent St-Amour
a14c31a1de Changed dderiv to be closer to the untyped version. 2010-06-25 11:00:24 -04:00
Vincent St-Amour
b345d5f0f0 Typed Scheme now optimizes (fl)vector-length for all vectors and
vector-(ref,set!) for vectors of known length.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
fd987546b3 Wrote a test harness and a couple of tests for Typed Scheme's optimizer. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
d47221c55d Added better tracing to the optimizer. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
8c8dbf0895 Fixes to some benchmarks due to the new fixnum types. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
cea65c195b Fixed typed wrappers for the typed versions of mandelbrot. 2010-06-25 11:00:22 -04:00
Vincent St-Amour
a4236b0b3b Propagated Eli's bugfix to the typed version of binarytrees. 2010-06-25 11:00:22 -04:00
Jay McCarthy
ba31d8c429 Fixing contracts and a little less allocation 2010-06-25 07:10:52 -06:00
Jay McCarthy
0ed6e4a396 This seems to fix pr10980 2010-06-25 07:10:51 -06:00
Jay McCarthy
27d8f5a039 Adding contracts to track down problem 2010-06-25 07:10:51 -06:00
Sam Tobin-Hochstadt
3251712ef7 More fixnum improvements. 2010-06-24 18:17:01 -04:00
Sam Tobin-Hochstadt
4b1c62c978 Add Fixnum type. 2010-06-24 18:05:55 -04:00
Sam Tobin-Hochstadt
ff91973397 fix prop 2010-06-24 18:05:55 -04:00
Eli Barzilay
b46cb492bb Reorganize as function calls, to make it easier to customize. 2010-06-24 17:17:10 -04:00
Sam Tobin-Hochstadt
a33f460b25 recreate selector table automatically. 2010-06-24 16:48:10 -04:00
Sam Tobin-Hochstadt
40ca16bc30 Types are not quotable. 2010-06-24 16:47:25 -04:00
Sam Tobin-Hochstadt
5b1118d514 More options for test runner. 2010-06-24 16:46:31 -04:00
Sam Tobin-Hochstadt
3c8952d63d Use the correct field numbers in substructs.
Maintain table of struct accessors/mutators.
2010-06-24 14:53:38 -04:00
Sam Tobin-Hochstadt
3078807757 Better handling of unsafe identifier generation. 2010-06-24 11:05:55 -04:00
Jay McCarthy
428412036f Fixing PR 10970 2010-06-23 16:29:23 -06:00
Eli Barzilay
3f36d054f6 Turn contracts on enqueue!' and dequeue!' into the usual error checks.
On a simple benchmark of:

  (let ([N 100000]
        [M 20]
        [q (make-queue)])
    (time (for ([i (in-range M)])
            (for ([i (in-range (* i N))]) (enqueue! q i))
            (unless (for/and ([i (in-range (* i N))]) (list i (dequeue! q)))
              (error "poof")))))

I get these timings:

  original version: cpu time: 24438 real time: 24439 gc time: 8164
  single-links:     cpu time: 17848 real time: 17849 gc time: 4859
  this version:     cpu time:  6519 real time:  6519 gc time: 3032

In addition, cleaned up the documentation a little, and mention the fact
that it is not thread safe.
2010-06-23 16:13:54 -04:00
Eli Barzilay
d986fed725 Uses a simpler single-linked list, about half of the meat code, and much
faster due to the removed overhead of dealing with the redundant
pointers.
2010-06-23 16:13:53 -04:00
Eli Barzilay
8a5bceece1 Various comments on problematic aspects of the code. 2010-06-23 16:13:53 -04:00
Matthew Flatt
42c7b2b9d3 fix missed parts of the hash-table hahing bug 2010-06-23 07:09:59 -10:00
Matthew Flatt
bfd769a29c fix hashing of hash-table values
the order of keys+values in the table could affect the
 hash code, due to an interation with the depth-limiting
 counter
 Closes PR 10985
2010-06-23 07:00:29 -10:00
Eli Barzilay
049913fdef Bugs page skeleton. 2010-06-23 07:35:14 -04:00
Eli Barzilay
0ffe4c1efb Revert "Adding XPM parser"
Not needed, since an XPM parser was already implemented.

This reverts commit 4d58a10ff4.
2010-06-23 07:34:40 -04:00
Eli Barzilay
28e79e5bcb Reorganize mailing lists (the server's front page, and community reference).
Similarly, shuffle around the irc text.
2010-06-23 07:34:39 -04:00
Eli Barzilay
e0c18c3a4b Remove the temporary file when done with it. 2010-06-23 07:34:39 -04:00
Eli Barzilay
acace4bc18 Fixes two bugs that I somehow missed completely.
(Also removed leftover `time'.)
2010-06-23 07:34:17 -04:00
Robby Findler
84607b057c changed the shortcut keys in the language dialog to avoid cmd-l 2010-06-22 22:30:05 -05:00
Vincent St-Amour
a063269883 Prevented drdr from running reversecomplement which needs input on stdin. 2010-06-22 20:09:04 -04:00
Vincent St-Amour
ef1da61fd0 Added S-Expression diff to unstable. 2010-06-22 18:42:28 -04:00
Vincent St-Amour
d3c5ca7537 Propagated Eli's changes to the binarytrees benchmark to the typed
version.
2010-06-22 18:42:27 -04:00
Vincent St-Amour
3c9e7e34db Switched indexing to integers in the typechecker's special cases for
heterogenous vectors and unsafe struct operations.
2010-06-22 18:42:26 -04:00
Vincent St-Amour
7d1040283e Added support for unsafe struct operations to Typed Scheme. 2010-06-22 18:42:25 -04:00
Vincent St-Amour
c9383cffc2 Propagated Eli's changes to reversecomplement and fasta to the typed
versions.
2010-06-22 18:42:08 -04:00
Vincent St-Amour
4f501726fb Fixed a bug in the shootout harness. 2010-06-22 18:29:58 -04:00
Vincent St-Amour
379d9a2125 Added support for unsafe operations on heterogenous vectors. 2010-06-22 18:29:57 -04:00
Vincent St-Amour
eea31102b0 Moved the types for some byte string operations to
base-env-indexing-abs.rkt.
2010-06-22 18:29:57 -04:00
Vincent St-Amour
bc794b443c Propagated Eli's changes to the mandelbrot benchmark to the generic
and typed versions.
2010-06-22 18:29:57 -04:00
Vincent St-Amour
192c1fa995 Fixed the types of flvector operations. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
5234809baf The moments benchmark now gets floats as input. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
61545c4e75 Made make-vector's type more convenient. 2010-06-22 18:29:56 -04:00
Vincent St-Amour
3bb0de0b53 Restored running of the typed shootout benchmarks by drdr. 2010-06-22 18:29:55 -04:00
Vincent St-Amour
dd858bc11f Got rid the the mandelbrot-unsafe benchmark, to reflect Eli's
changes.
2010-06-22 18:29:55 -04:00
Sam Tobin-Hochstadt
6e1954d79b Add `struct:' 2010-06-22 16:29:35 -04:00
Robby Findler
b286673c69 removed an unused style 2010-06-22 15:22:45 -05:00
Robby Findler
3fb5dbd1d3 Added another status line update to drracket for planet installations, showing when docs are being built 2010-06-22 14:22:35 -05:00
Robby Findler
9f5593c222 rackety mrlib/name-message 2010-06-22 14:22:35 -05:00
Robby Findler
c5b0c73111 added docs and minor cleanups in mrlib/name-message 2010-06-22 14:22:34 -05:00
Casey Klein
c083335ca5 Changes the matching of `where' clauses to the one most people expect. 2010-06-22 13:20:53 -05:00
Jay McCarthy
4d58a10ff4 Adding XPM parser 2010-06-22 11:33:06 -06:00
Sam Tobin-Hochstadt
bce2cedf38 Typecheck `map' expression, not just #'map. 2010-06-22 10:12:54 -04:00
Sam Tobin-Hochstadt
95c5f942e6 Initialize `infer' for tests 2010-06-22 10:11:14 -04:00
Casey Klein
c6ed9b9a12 Fixes a bug in `where' clause binding. 2010-06-22 05:42:17 -05:00
Stevie Strickland
550a8b3fa4 Handle new semantics for raco setup with no options. 2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
4df7d09ef1 Docs for List x ... 2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
0c7c722e16 support `map' over multiple ListDots with the same bound
- also support ListDots + Listof (map errors when not same length)
2010-06-21 18:30:30 -04:00
Sam Tobin-Hochstadt
b8777d20b2 allow optional specifcation of var pattern 2010-06-21 18:30:29 -04:00
Stevie Strickland
034b22d014 Generate dcon-dotted, and substitute for them.
- generated only in the case where we have two ListDots or two ValuesDots
 - or when -> with the same bound, and fixed argument lengts are identical
 - currently errors if there are any 'fixed' portions
2010-06-21 18:30:29 -04:00
Stevie Strickland
9c22701bd3 Take dcon-dotteds and create an appropriate i-subst/dotted entry. 2010-06-21 18:30:29 -04:00
Stevie Strickland
3f7ca52e37 Add fixed part to dcon-dotted. 2010-06-21 18:30:29 -04:00
Sam Tobin-Hochstadt
339add9f78 Implement substitutions as hash tables from vars to subst-rhs.
- add convenience function for generating substitutions
 - give trivial substitution for unreferenced index variables
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
6b12757506 Add collection tab-completion for 'raco setup -l' 2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
44d46e4cd7 Refactor substitution.
- new file types/substitute
 - use structs for substitutions
2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
dcc8beb5cd This test case now passes. 2010-06-21 18:30:28 -04:00
Sam Tobin-Hochstadt
8990459be6 provide more information in inference failures 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
692dc025c0 fix fail! to use the correct arguments 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
9f99c914f3 Fix move-to-dmap functions 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
2285e1a340 Make `debug' catch *all* exceptions 2010-06-21 18:30:27 -04:00
Stevie Strickland
b5d4d54d45 The initial shot at extending cgen and friends to take both X and Y.
This doesn't fully work, in that more test cases are broken.  However,
this is mostly due to questionable inference rules in the past, and
so fixing these errors should lead to a more correct inference algorithm.

(i.e. we need to handle things like (List X ... a) (List Y .. b),
where a and b are not the same bound.  We'd started this work before,
but never actually gone through with it, since smashing regular and
dotted type variables into the same environment meant some things
magically worked when they possibly shouldn't have.)
2010-06-21 18:30:26 -04:00
Stevie Strickland
078b57c77d Export the types provide macro. 2010-06-21 18:30:26 -04:00
Stevie Strickland
ec09139e0a Fix up subst-gen to treat vars and idxs separately. 2010-06-21 18:30:26 -04:00
Sam Tobin-Hochstadt
d886331807 Various small assorted fixes. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
e235c837b0 The inference engine doesn't need this annotation anymore. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
82e7d281cb More progress on refactoring infer 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
18f45c4138 Fix a bunch of uses of `infer' et al. 2010-06-21 18:30:25 -04:00
Sam Tobin-Hochstadt
99e499a503 Change inference to take into account index vs regular vars. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
e8a591d291 Fix free index computation when the body refers to the bound. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
662f982b72 Refactor free variables.
- free-idxs no longer holds free de Bruijn indexes
   This information is not needed, and not stored anywhere
 - free-idxs holds free *index* variables, in the sense of the TOPLAS submission
2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
7b2de53733 Re-enable the printer here. 2010-06-21 18:30:24 -04:00
Sam Tobin-Hochstadt
fe9395fdbf Add case to be fixed 2010-06-21 18:30:23 -04:00
Sam Tobin-Hochstadt
b787c7766c Switch to using functional hash tables for free variables. 2010-06-21 18:30:23 -04:00
Sam Tobin-Hochstadt
a93aecbed7 Special case for (apply values ListDots) 2010-06-21 18:30:20 -04:00
Sam Tobin-Hochstadt
12384c6c3f Change type variable environments from hash tables to sets. 2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
e9f8cc9aca Refactor test harness. 2010-06-21 18:29:59 -04:00
Sam Tobin-Hochstadt
d570006db8 Add index-env.
- Remove Dotted and DottedBoth values from tvar-env
 - Abstract env extension and lookup for tvar/index-env
 - Abstract index inference
 - Remove pointless parameterizations
2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
0fb1ac66bd Properly compute Dotted variance for ListDots and ValuesDots. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
a9c34dae6a Remove dotted-env. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
f7b59f78e9 Generalize ListDots to Listof in inference of loop var types. 2010-06-21 18:29:58 -04:00
Sam Tobin-Hochstadt
a2af89bafd Inference for passing ListDots as Listof. 2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
fd5a662ccc Subtyping between (List T ... a) and (Listof T[Any/a]) 2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
4c3f279ab9 Eliminate expressions with dotted pre-types.
- Now looks for (List T ...) types.
 - special handling of `map', `andmap', `ormap' when list arg is dotted
 - remove tc-dots-unit
2010-06-21 18:29:57 -04:00
Sam Tobin-Hochstadt
4cbeb0b2f0 Change type of ... rest args to have (List T ...) types. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
71939d2826 Handle simple inference of ListDots. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
e40d1824b0 Initial ListDots test. 2010-06-21 18:29:56 -04:00
Sam Tobin-Hochstadt
310bdf3529 Substitution for (List T ...) 2010-06-21 18:29:56 -04:00
Stevie Strickland
62fb6f9311 Add subtyping for dotted lists with the same bound. 2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
40dbb6389c First attempts at adding ListDots (and, incidentally, List*) types. 2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
50f93b9ed7 More environment refactoring.
- rationalize naming of files
- split files by env constructed
2010-06-21 18:29:55 -04:00
Sam Tobin-Hochstadt
7e9763cf14 Stratify environments to only include props when needed. 2010-06-21 18:29:54 -04:00
Sam Tobin-Hochstadt
647c4eef59 Refactor environments.
- mapping stored as dict
 - use id tables for identifiers
 - use env-filter instead of filter
 - eliminate spurious use of conses
2010-06-21 18:29:54 -04:00
Robby Findler
e105d191b1 Adjusted 'raco setup' so that the arguments are collections (left setup-plt alone) 2010-06-21 16:58:32 -05:00
Sam Tobin-Hochstadt
4925e7e51f Refactor provide handling.
- use id-tables instead of lists
 - smarter iteration
 - prepare for eliminating declarations when not needed, but don't do it yet
2010-06-21 15:42:52 -04:00
Casey Klein
3eb9a6d6d0 Fixes a bug in the VM example 2010-06-21 14:41:10 -05:00
Jay McCarthy
a5d9fc0def New props for DrDr 2010-06-21 12:55:18 -06:00
Jay McCarthy
a13edb18b6 Transparent XML structs 2010-06-21 12:48:26 -06:00
Jay McCarthy
801419693a Default args to eliminate-whitespace 2010-06-21 12:48:26 -06:00
Casey Klein
d6b20a51d2 Lifts mysterious restriction on patterns that now seems unnecessary. 2010-06-21 11:24:30 -05:00
Casey Klein
daa8507e51 Fixes matcher bug 2010-06-21 10:35:05 -05:00
Robby Findler
4504678bd7 added local 2010-06-20 21:59:39 -05:00
Eli Barzilay
554f026c71 "The Great Computer Language Shootout" -> "The Computer Language Benchmarks Game"
As requested by Isaac Gouy.
2010-06-20 22:19:43 -04:00
Robby Findler
e8573d9478 change the way the prompt testing works to only supply a port, instead of giving over the actual text object 2010-06-20 20:55:04 -05:00
Eli Barzilay
ee57029a92 One more optimization, getting it to 60x. 2010-06-20 18:37:07 -04:00
Eli Barzilay
eec0f4bf66 Yet another 2x factor.
(Total ~22x.)
2010-06-20 18:37:06 -04:00
Eli Barzilay
c78f367d9f Another simple improvement, making things about twice faster.
Total speedup is now ~14x.
2010-06-20 18:37:06 -04:00
Eli Barzilay
26c89b2ac6 And one more optimization gets this to a total of 6x improvement. 2010-06-20 18:37:06 -04:00
Eli Barzilay
e975e8e0c8 Another optimization, makes the `fl->fx' issue from the last one
irrelevant since it's not using it in the tight loop, but buys a bigger
improvement anyway.
2010-06-20 18:37:06 -04:00
Eli Barzilay
96006264ad Some improved shootout benchmarks.
* An improved version of the `fasta' benchmark: ~2.5 times faster, and
  if an inlined `unsafe-fl->fx' is added it is probably going to be
  about ~3.5 times faster.

* `reversecomplement' -- revised code that is ~2.5 times faster, further
  tweaks and unsafe ops gets it to ~4.5 times.

* Doing the structs differently in `binarytrees' and a few minor tweaks
  get it to be ~1.5 times faster.  This is probably because a leaf has
  now only one field.

* `mandelbrot' improved a little (~1.2x), but the code is pretty much a
  rewrite.  (Given some more flonum inlining it can probably do much
  better.)

* Added a comment to `pidigits-gmp' saying that it was used without
  attribution.

These versions use unsafe operations, but I'm not putting them in
separate files since it's easy to turn them off.  I've also removed
"mandelbrot-unsafe.rkt", since it was identical to the safe version.
2010-06-20 18:36:25 -04:00
Eli Barzilay
412fd4ff79 Use `exact-integer?'. 2010-06-20 18:34:06 -04:00
Eli Barzilay
b0d7c9d9c1 Updated commented url to docs. 2010-06-20 18:34:06 -04:00
Eli Barzilay
7760a2eaff Minor clarifications about other editors and the Windows "terminal".
(And a few additional tweaks.)
2010-06-20 18:34:06 -04:00
Eli Barzilay
acb86d69f3 Apparently inline styles shouldn't be in comments now. 2010-06-20 18:34:06 -04:00
Eli Barzilay
1fc2a3e171 Rename "outreach+research" -> "learning".
* Move learning stuff from "community" to it.

* Set up a redirection page for "outreach+research.html".
2010-06-20 18:18:33 -04:00
Robby Findler
dd6f73255d removed robby-specific references and commented out the line that clobbers heart.png in the collects directory 2010-06-20 15:28:23 -05:00
Robby Findler
e15f6a1fb9 added a valentine's day splash screen image 2010-06-20 14:14:46 -05:00
Robby Findler
2e67f8bb9f Refactored the rotation code to support an arbitrary linear transformation 2010-06-20 14:13:16 -05:00
Robby Findler
83a95970b6 when planet installs things, it now resets the use-compiled-file-paths to its default value 2010-06-20 11:24:08 -05:00
Robby Findler
e947c36a74 removed debugging printf 2010-06-20 07:45:48 -05:00
Robby Findler
7bb8c876b6 fixed an obvious bug with the wrong arity to get-compiled-file-sha1 (but this may still be broken in a more subtle way) 2010-06-20 07:42:32 -05:00
Robby Findler
8be8c9b839 fix prop 2010-06-19 19:20:53 -05:00
Sam Tobin-Hochstadt
0a92ce7a43 fix prop 2010-06-19 19:52:49 -04:00
Robby Findler
545f473b72 fixed a mistake in previous commit 2010-06-19 17:42:57 -05:00
Robby Findler
857498e697 Some racketying. 2010-06-19 16:30:06 -05:00
Robby Findler
66d6759c4a added docs and contracts for some of the planet functions 2010-06-19 16:30:06 -05:00
Stevie Strickland
0aae2c866f Fix use of add-type-expr from commit 5d835ded. 2010-06-19 14:58:52 -04:00
Sam Tobin-Hochstadt
1e15ce1f32 Fix error message for 1-arg apply 2010-06-19 14:58:52 -04:00
Robby Findler
7a1538764e Added the ability for #lang-based languages to specify when an expression should be submitted at the prompt 2010-06-19 12:25:07 -05:00
Robby Findler
e14b330699 fixed some out of date docs 2010-06-19 12:13:48 -05:00
Vincent St-Amour
44acb3eed5 Props fix. 2010-06-19 00:16:04 -04:00
Vincent St-Amour
ad7e63aa76 Props fix. 2010-06-18 23:18:04 -04:00
Robby Findler
bc5ced58e2 More Racketying 2010-06-18 21:35:56 -05:00
Robby Findler
c940caa4d6 renamed the field scheme-menu to language-specific-menu 2010-06-18 21:35:56 -05:00
Vincent St-Amour
c7df0fab35 Props fix. 2010-06-18 20:32:57 -04:00
Vincent St-Amour
f16732adbe Fixed a typo in the shootout harness. 2010-06-18 20:30:15 -04:00
Vincent St-Amour
1e2c50ec24 Fix to make-vector's type. 2010-06-18 20:24:17 -04:00
Vincent St-Amour
051b480934 Fixed props for the shootout benchmarks. 2010-06-18 20:24:17 -04:00
Robby Findler
c1110d9056 fixed a bug in drracket language dialog (that I introduced yesterday or so) 2010-06-18 17:40:34 -05:00
Robby Findler
4cd7152b62 made the drracket test suite match the new labels in the language dialog. 2010-06-18 17:38:54 -05:00
Robby Findler
ef43830265 added the ability to specify radio button labels as regexps, not just strings 2010-06-18 17:38:26 -05:00
Robby Findler
c2ddede08e improved the docs slightly 2010-06-18 16:51:15 -05:00
Vincent St-Amour
416f4fd3c3 Added input generation for the regexmatch benchmark. 2010-06-18 17:43:06 -04:00
Vincent St-Amour
5e901b9ef2 The optimizer now promotes integers to floats when they are used as
arguments to a function whose result is a float.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
5d835ded47 Added the type of the 1 literals in expressions of the form (- x 1) to
the type table.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
894d159123 Disabled thread-ring in the harness, since it calls exit and doesn't
display its running time.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
1dc963684b Rewrote the typed partialsums benchmark to be closer to the untyped
version.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
31f285d23c Adjusted benchmark sizes. 2010-06-18 17:43:04 -04:00
Vincent St-Amour
343e9d23b4 Ported some new benchmarks and variants to Typed Scheme. 2010-06-18 17:43:04 -04:00
Vincent St-Amour
ffad1edd7a Added the fannkuch-redux benchmark, which replaced fannkuch on the
shootout roster.
2010-06-18 17:43:03 -04:00
Vincent St-Amour
ecb614849c Added type signatures for some byte-string functions. 2010-06-18 17:43:03 -04:00
Vincent St-Amour
7ccae0fb1d Got rid of assertions in the benchmarks caused by naturals as indices. 2010-06-18 17:43:02 -04:00
Vincent St-Amour
60c3067ddb Turned indexing back to using integers rather than naturals. 2010-06-18 17:43:02 -04:00
Vincent St-Amour
54eefc52ed Relaxed some type constraints on the ray tracer benchmark. 2010-06-18 17:43:01 -04:00
Vincent St-Amour
e0b880d1ea Fixed the sumcol benchmark to obey the new type for read-line. 2010-06-18 17:43:01 -04:00
Vincent St-Amour
72ec18cc68 Rewrote the moments benchmark to potentially benefit from unboxing of
loop accumulators.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
06eb544fd6 Fixes to the shootout benchmarks to reflect the new weaker promotion
rules.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
ff1c3874cc Added a coercion to inexact to avoid the case: (* <float> 0) -> exact 0
which causes a segfault when the result is used with an unsafe-fl
operation.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
cff4eef7b2 Adjusted input size for the shootout benchmarks. 2010-06-18 17:43:00 -04:00
Vincent St-Amour
31d4da6f39 Added an empty benchmark to measure Typed Scheme's startup time. 2010-06-18 17:42:59 -04:00
Vincent St-Amour
7bb8405871 Fixed a bug in the shootout harness, which threw away generated input. 2010-06-18 17:42:59 -04:00
Vincent St-Amour
3e0446d774 Modified some of the untyped shootout benchmarks to be closer to the
typed versions.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
7f3db138e7 Integrated the typed shootout benchmarks to the untyped harness. 2010-06-18 17:42:58 -04:00
Vincent St-Amour
d48f1bb6aa Racketified the untyped shootout benchmarks. 2010-06-18 17:42:58 -04:00
Vincent St-Amour
4fde1e8ccb Ported most of the shootout benchmarks to Typed Scheme. 2010-06-18 17:42:57 -04:00
Robby Findler
37ae5a338b added documentation for the flipping functions 2010-06-18 16:37:58 -05:00
Robby Findler
0c0009465e removed a bogus case in the definition of np-atomic-shape predicate 2010-06-18 16:21:14 -05:00
Robby Findler
132867518c added support for flipping bitmaps 2010-06-18 16:21:14 -05:00
Robby Findler
27bd7934d7 fixed flipping for curves 2010-06-18 16:21:13 -05:00
Robby Findler
ca7bf92054 added basic flipping (bitmaps not done yet) 2010-06-18 16:21:13 -05:00
Robby Findler
f76f711261 duh 2010-06-17 23:49:00 -05:00
Vincent St-Amour
b39f686e7e Fixed the type of unsafe-car and unsafe-cdr. 2010-06-17 19:06:24 -04:00
Vincent St-Amour
07c1f1e94f Added types for some bitwise operations. 2010-06-17 19:06:24 -04:00
Vincent St-Amour
674046f39d Fixed a mistake in the byte-string reference. 2010-06-17 18:45:28 -04:00
Vincent St-Amour
cc796a9f9a Added types for thread mailbox operations.
Can't have typed mailboxes, though.
2010-06-17 18:45:28 -04:00
Vincent St-Amour
c4e035dd67 Got rid of a reference to the non-existent channel/c. 2010-06-17 18:45:28 -04:00
Robby Findler
87f6a6bb1e added error checking for use in drdr 2010-06-17 15:54:12 -05:00
Casey Klein
dc8fc24e89 Fixes a bug in which effectful meta-function applications were cached. 2010-06-17 14:28:31 -05:00
Casey Klein
318ec585bc Fixes a bug in the VM model 2010-06-17 14:28:31 -05:00
Sam Tobin-Hochstadt
02238a7c6d Fix contract for structs 2010-06-17 15:26:13 -04:00
Robby Findler
924cee89c6 attempted to clarify the first example on eval 2010-06-17 13:02:37 -05:00
Robby Findler
0b34368d08 added keyboard shortcuts to the two radio buttons in the language dialog. 2010-06-17 13:02:37 -05:00
Sam Tobin-Hochstadt
0262ef681a handle multiple body expression properly 2010-06-17 12:50:30 -04:00
Sam Tobin-Hochstadt
77e4bbb5eb base-types-new -> base-types 2010-06-17 11:47:16 -04:00
Sam Tobin-Hochstadt
bdbb6d48e6 Try harder to find types for loop variables.
- use `find-annotation' more
 - recognize (let ([x y]) ...)
2010-06-17 11:26:33 -04:00
Sam Tobin-Hochstadt
8a0bab9fe3 Disable use of macro-debugger/emit 2010-06-16 20:04:28 -04:00
Eli Barzilay
ca3b27b810 Allow #:part-of to use symbolic names, add it to a bunch of pages.
(Using a symbolic name makes it easy to use without worrying about
circular dependencies.)
2010-06-16 16:49:02 -04:00
Eli Barzilay
f1eec03a2d Fix two places in code.rkt that could use #f as an anchor, resulting in
...##f urls.
2010-06-16 16:49:02 -04:00
Eli Barzilay
5da56167a9 Move xml->string to a more proper place 2010-06-16 16:49:02 -04:00
Eli Barzilay
8694d7b8ae Provide resources from download (so do this from all uses of
`define+provide-context'); dirlist uses that instead of www.

Also dropped redundant provides of `page'.
2010-06-16 16:49:02 -04:00
Eli Barzilay
f0c28ad0e8 Make dirlist use www resources 2010-06-16 16:49:02 -04:00
Eli Barzilay
4f6502129a Finish previously incomplete treatment of contexts with #:resource 2010-06-16 16:49:02 -04:00
Eli Barzilay
098b32b0af Add template files for browsing the installer dirs directly. 2010-06-16 16:49:02 -04:00
Eli Barzilay
1cce6c1f88 Factor our the common path computation. 2010-06-16 16:49:01 -04:00
Eli Barzilay
00bca21339 Typo in error message 2010-06-16 16:49:01 -04:00
Robby Findler
a4726678ff added documentation for the extended gui-interaction & co. operators 2010-06-16 11:58:58 -05:00
Robby Findler
22bc8f6d87 a bunch of little fixes to the 2htdp/image library (and related) for sfp submission:
- added in the htdp/image version of the performance test case
- made gui-eval work with things other than slideshow
- extended render-image so that it works on bitmaps and image-snips
2010-06-16 11:58:58 -05:00
Vincent St-Amour
765d573441 Fixed a typo in the profiler documentation. 2010-06-16 12:49:01 -04:00
Vincent St-Amour
a31a7b0718 Added mutable lists to Typed Scheme. 2010-06-16 12:49:01 -04:00
Vincent St-Amour
bb0747f589 Rewrote the indexing code. 2010-06-16 12:49:00 -04:00
Vincent St-Amour
9959f05054 Moved some indexing functions' type signatures. 2010-06-16 12:48:59 -04:00
Vincent St-Amour
8dfd7d87ec Reimplemented assert as a macro. 2010-06-15 16:39:33 -04:00
Vincent St-Amour
93e5d0e9dc Added an option to subtract the running time of the empty benchmark to
the tabulator.
2010-06-15 16:39:32 -04:00
Vincent St-Amour
a33372eb78 Added an option to display the coefficient of variation to the
tabulator.
2010-06-15 16:21:51 -04:00
Sam Tobin-Hochstadt
4cc86cc8c8 set-mc[ad]r!, inference, printing, tests for mpairs 2010-06-15 16:10:16 -04:00
Sam Tobin-Hochstadt
913179f2ed types for basic mpair ops 2010-06-15 15:58:37 -04:00
Sam Tobin-Hochstadt
f73d63e1af eq? is a predicate for eof 2010-06-15 14:59:08 -04:00
Eli Barzilay
05877f4537 All stubs are accessible through HTTP on the download server. 2010-06-15 13:17:51 -04:00
Eli Barzilay
0905701e89 Some minor tweaks to make it valid. 2010-06-15 13:17:51 -04:00
Eli Barzilay
dc0959ce05 Get our favicon to be used. 2010-06-15 13:17:50 -04:00
Eli Barzilay
5c027b6973 Fix the blog style to match other pages. 2010-06-15 13:17:50 -04:00
Sam Tobin-Hochstadt
b644ec7be4 fix types of `read' functions 2010-06-14 17:35:05 -04:00
Eli Barzilay
8ff7a162db Added a blogger template.
This required refactoring some of the layout code to make it possible to
embed pieces of it in the template.
2010-06-14 14:26:09 -04:00
Eli Barzilay
27eb374612 tweak the mailman listinfo pages 2010-06-14 14:26:09 -04:00
Eli Barzilay
b866ea4de6 README for the planet stub. 2010-06-14 14:26:09 -04:00
Sam Tobin-Hochstadt
81f262c7ca Type for `curry'.
Closes PR 10956
2010-06-14 08:24:43 -04:00
Robby Findler
3470d946ab changed the default regexp filter for the search-in-files preference
closes PR 10975
2010-06-13 18:19:09 -05:00
Sam Tobin-Hochstadt
cf5c74a2ca Generate -> instead of ->* when required by case->.
Closes PR 10977.
2010-06-13 15:01:57 -04:00
Sam Tobin-Hochstadt
d4d286d31d Allow (All (A) A -> A), dropping pair of parens. 2010-06-13 14:38:03 -04:00
Sam Tobin-Hochstadt
408d9adb5a add \rightarrow as alias for -> 2010-06-13 14:35:05 -04:00
Sam Tobin-Hochstadt
c2ac8046c4 Fix grammar for rest args in lambda:.
Closes PR 10976
2010-06-13 14:34:16 -04:00
Eric Dobson
90f015408c Added some stuff to typed scheme, mostly port and character functions. 2010-06-13 08:20:49 -04:00
Matthew Flatt
5efa036427 fix error reporting for keyword mismatches
Closes PR 10954
2010-06-12 15:55:31 -06:00
Matthew Flatt
b884b1f409 modcode: fix ss<->rkt handling for bytecode & extensions 2010-06-12 15:55:31 -06:00
Vincent St-Amour
c9a96c1d2c Added some closure and promotion type signatures. 2010-06-11 20:55:47 -04:00
Vincent St-Amour
aae1acf035 Fixed a bug in the optimizer that made it optimize where it
shouldn't have.
2010-06-11 20:53:10 -04:00
Vincent St-Amour
a4c556bc85 Made Typed Scheme's optimizer silent. 2010-06-11 20:53:09 -04:00
Vincent St-Amour
fe09ce3dee Added Jeff Siskind's ray tracer to the racket-specific benchmarks. 2010-06-11 19:48:23 -04:00
Vincent St-Amour
de0d9a27dc Fixed string-copy!'s type signature. 2010-06-11 19:48:23 -04:00
Vincent St-Amour
96c541912c Fixed a bug with eof and procedure types overlapping. 2010-06-11 19:48:22 -04:00
Vincent St-Amour
727000fbfb Fixed the common benchmark harness to compile the typed benchmarks
before running them.
2010-06-11 19:48:22 -04:00
Sam Tobin-Hochstadt
1cff0a1f85 Actually typecheck actuals even when there's a type annotation. 2010-06-11 19:35:56 -04:00
Sam Tobin-Hochstadt
7ece2a4872 Fix type of `zero?' to properly handle 0.0. 2010-06-11 18:54:05 -04:00
Sam Tobin-Hochstadt
1a80b6b044 Include "-" in last name regexp. 2010-06-11 17:49:06 -04:00
Sam Tobin-Hochstadt
c945927776 Support multiple arguments to `citet', provided that all authors are equal?
- Also refactors indexing to separately index date and author
2010-06-11 17:49:05 -04:00
Sam Tobin-Hochstadt
7c32898cb2 Print names using the name, ignoring aliases. 2010-06-11 17:48:37 -04:00
Matthew Flatt
d6d5c914f7 cases when number functions produce 0: clarify docs and fix (atan 0 x)
for positive exact x;
 also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Matthew Flatt
3638ea4963 enable longer command line for embedding 2010-06-11 15:18:00 -04:00
Matthew Flatt
ea7c34568c fix mach-o munging of 64-bit executables 2010-06-11 15:18:00 -04:00
Matthew Flatt
9597810a99 fix objc ABI for 64-bit Darwin 2010-06-11 15:18:00 -04:00
Eli Barzilay
64158fac04 Added license page, courtesy of Sam. 2010-06-11 15:01:08 -04:00
Eli Barzilay
e406dc2504 Add toplevel lists page.
Messy right now, but has all the relevant pieces.
2010-06-11 14:54:17 -04:00
Eli Barzilay
4108685a26 Bilgi mirror is on-line. 2010-06-11 14:54:16 -04:00
Eli Barzilay
d732b164aa Sort download entries according to browser platform; display a blurb
about linux installers.
2010-06-11 14:54:16 -04:00
Eli Barzilay
42e66e35eb Add a {{{HEAD}}} hole to the planet template. 2010-06-11 14:54:16 -04:00
Eli Barzilay
e24d11a03c Make it possible to have toplevel sites with absolute urls, needed for some stubs 2010-06-11 14:54:16 -04:00
Eli Barzilay
5aaf3811cf Added a `lists' toplevel page (not content, yet), and a stub for mailman pages. 2010-06-11 14:54:16 -04:00
Eli Barzilay
5093f0c32b A few more examples. 2010-06-11 14:54:16 -04:00
Eli Barzilay
5835605fe8 Lots of improvements to the front page source. 2010-06-11 14:54:16 -04:00
Eli Barzilay
9639b9ccd1 Use @page consistently. 2010-06-11 14:54:16 -04:00
Eli Barzilay
2d312484f7 Added a skeleton page for planet. 2010-06-11 14:54:16 -04:00
Eli Barzilay
6caabb92cc Another small & subtle bug in relativize. 2010-06-11 14:54:16 -04:00
Eli Barzilay
97baaf78e7 IRC client page and pointer to logs. 2010-06-11 14:54:16 -04:00
Eli Barzilay
071707f9fa Typos, tweaks, etc; split text in new-name on double newline. 2010-06-11 14:54:16 -04:00
Sam Tobin-Hochstadt
fd1b20c93d Fix optimizer for refactoring. 2010-06-11 14:21:42 -04:00
Sam Tobin-Hochstadt
b649575afc new bug with mutation 2010-06-11 11:55:22 -04:00
Sam Tobin-Hochstadt
4f2952f4b9 minor refactorings 2010-06-11 11:55:21 -04:00
Sam Tobin-Hochstadt
5f069ed4bb Refactor #%module-begin and #%top-interaction for Typed Scheme. 2010-06-11 11:55:21 -04:00
Matthew Flatt
5b33f0b951 fix docs for define-cite
Closes PR 10971
2010-06-11 04:34:22 -04:00
Robby Findler
0b55de2e6e removed the minor version number from the planet status line in drracket so as not to confuse (since planet may actually supply a later version number) 2010-06-10 20:15:18 -05:00
Robby Findler
893beb582e adjusted the universe window so that the canvas is shown in the middle of the window when the window resizes 2010-06-10 20:15:17 -05:00
Sam Tobin-Hochstadt
4ac05ce5bd Use emit-local-step with match expanders. 2010-06-10 18:58:44 -04:00
Sam Tobin-Hochstadt
490361c0fc Add types for a few more values. 2010-06-10 18:58:44 -04:00
Ryan Culpepper
3d21f97f3f macro-stepper: added emit-local-step 2010-06-10 16:40:52 -06:00
Ryan Culpepper
70fedd766f macro-stepper: added docs for macro-debugger/emit 2010-06-10 14:58:28 -06:00
Ryan Culpepper
2068acc22b macro-stepper: added api for macro "remarks" (no docs yet) 2010-06-10 12:54:09 -06:00
Ryan Culpepper
eb1a122888 macro-stepper: preserve underlining in highlights 2010-06-10 12:54:08 -06:00
Sam Tobin-Hochstadt
0379e534e3 New interface for unstable/mutated-vars
- functional hash tables
 - fix clients
2010-06-10 13:28:29 -04:00
Matthew Flatt
535c8e0a09 tweak decompiler to use a different name for boxed locals 2010-06-10 07:32:11 -04:00
Sam Tobin-Hochstadt
ed1596db9b move unstable/gui to the plt distribution 2010-06-09 17:58:17 -04:00
Matthew Flatt
66e94fe10a doc mzscheme define-syntax' and define-for-syntax'
which are no longer the same as racket/base or scheme/base
2010-06-09 17:29:10 -04:00
Sam Tobin-Hochstadt
0149a05719 Fix promise printing, add docs. Closes PR 10968. 2010-06-09 16:56:31 -04:00
Stevie Strickland
7b38cef4e8 Fix first-order cons/c check in mzlib contract tests. 2010-06-09 15:52:29 -04:00
Sam Tobin-Hochstadt
3151566125 Improve TS reference docs
- lots of examples
 - reorganize type listing
 - add Zero type
2010-06-09 15:44:46 -04:00
Vincent St-Amour
436e001b0e Fixed the implementation of Channel types. 2010-06-09 15:28:10 -04:00
Vincent St-Amour
2fd1e3ac9f Modified the numeric base type environment. 2010-06-09 14:54:39 -04:00
Vincent St-Amour
04e618388c Added some Bytes and IO-related stuff to Typed Scheme. 2010-06-09 14:54:38 -04:00
Vincent St-Amour
6b4ca4d7b0 Added tests and documentation for Thread and Channel types. 2010-06-09 14:54:37 -04:00
Vincent St-Amour
15b0c8542d Added the Thread type and related functions. 2010-06-09 14:54:36 -04:00
Vincent St-Amour
ec799fb208 Added Channel types. 2010-06-09 14:54:35 -04:00
Vincent St-Amour
0741b48c99 Modified the for: macros to use sequence types. 2010-06-09 14:54:34 -04:00
Vincent St-Amour
2cd0321a23 Took responsibility for Typed Scheme's optimizer. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
f42880c320 Moved the typed common benchmarks to a separate subdirectory. 2010-06-09 14:54:33 -04:00
Vincent St-Amour
077e1d9bca Increased the size of the pseudoknot benchmark and ported it to
idiomatic racket, then to Typed Scheme.
2010-06-09 14:51:52 -04:00
Stevie Strickland
bad92f348b Avoid building unnecessary intermediate lists. 2010-06-09 14:26:26 -04:00
Stevie Strickland
99bb46d225 Fix flat immutable container ctcs so that errors pinpoint specific elements.
* Fixes immutable container contract combinators so that, if given flat
   contracts, they report blame errors in terms of the specific element
   that failed, instead of reporting the entire container as failing.

   This fixes issues seen with contracts such as (listof string?), where
   the contract is applied to a list with far too many elements to print
   all at once and the failing element is never printed.

 * Fixes vector-immutable/c so that if all the element contracts are flat,
   we create a flat contract, like the other immutable container contract
   combinators.

 * Also have more appropriate first-order checks for each combinator
   than just "Is it the right type of container?".

These changes affect:
 listof
 non-empty-listof
 vector-immutableof
 cons/c
 box-immutable/c
 vector-immutable/c
2010-06-09 13:29:04 -04:00
Matthew Flatt
d6ddbe15d5 support kw/opt args in define-syntax' and define-for-syntax' 2010-06-09 13:05:43 -04:00
Sam Tobin-Hochstadt
30fe053f78 typed/racket/no-check 2010-06-09 12:51:27 -04:00
Sam Tobin-Hochstadt
ed5b10afd2 document `assert' 2010-06-09 12:20:39 -04:00
Sam Tobin-Hochstadt
78023d08f9 Sequenceof type.
- inferencing and subtyping relation with vectors, lists, etc
- use in `make-sequence'
- add tests
2010-06-09 11:03:12 -04:00
Mike Sperber
2c964b91f0 Provide prop:print-converter propery with `define-record-procedures'.
This fixes quasiquote and constructor-style printing to not fall for
the extra lazy-contract-checking field.
2010-06-09 14:37:36 +02:00
Mike Sperber
fc879f1894 Make use of stepper-define-struct-hint' in define-record-procedures'. 2010-06-09 14:33:21 +02:00
Mike Sperber
3319fa41d0 Add properties to the HtDP teaching languages. 2010-06-09 14:16:34 +02:00
Mike Sperber
c7a7eb0a58 Export Symbol contract into HtDP teaching languages. 2010-06-09 13:57:17 +02:00
Mike Sperber
f29b6483f9 Export `posn' contract to the HtDP teaching languages. 2010-06-09 13:46:51 +02:00
Mike Sperber
744b45f470 Rename HtDP list' contract to list-of'. 2010-06-09 12:07:47 +02:00
Mike Sperber
5b4d25295d Make `define-struct' define contracts.
In particular, in

(define-struct foo (a b))

... foo is a contract, and a contract combinator `foo-of' is defined.
2010-06-09 11:07:22 +02:00
Mike Sperber
7269b2a1c1 Fix one of the test-outcome messages. 2010-06-09 10:46:56 +02:00
Sam Tobin-Hochstadt
78832fe332 Support case-lambda with multiple branches with keyword arguments. 2010-06-08 17:50:48 -04:00
Robby Findler
716aacf388 changed the framework's standard menus frame so that the quit menu is
never created under mac os x (which is the right behavior to make quit
actually work properly).
2010-06-08 16:45:15 -05:00
Sam Tobin-Hochstadt
c8732f12e4 fix prop 2010-06-08 16:55:46 -04:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Ryan Culpepper
b6b8e29957 macro-debugger: made properties display respect inverted-colors mode 2010-06-08 14:12:34 -06:00
Ryan Culpepper
1c9bb4a72a macro-stepper: fixed colors for white-on-black display 2010-06-08 14:12:34 -06:00
Sam Tobin-Hochstadt
679967b491 PLT Scheme -> Racket 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
6d2b5569f4 Remove bogus #lang line 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
84eae2b5e3 scheme -> racket in test-engine 2010-06-08 12:34:20 -04:00
Robby Findler
e74e929a92 changed the macro stepper to be responsive to the white-on-black preference
(but there is still some work to do to actually select a reasonable set
 of colors and probably some refactoring, but at least the interface with
 the framework is there now, so the changes should not be hard from here on)
2010-06-08 11:33:29 -05:00
Sam Tobin-Hochstadt
a8593de3c1 Scheme -> Racket fixes 2010-06-08 12:23:50 -04:00
Sam Tobin-Hochstadt
16391dda3d Fix Scheme/Racket typo. Closes PR 10965. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
9fc7a1eca4 Use `assert' for casts in typed benchmarks. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
0f4db44be3 more precise type for `max' 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
e44e454b94 Predicates for numeric comparisons. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
5f5dca4c69 Undo changes to benchmarks to use `sub1'. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f Special-case (- x 1) for use in loops. 2010-06-08 12:05:56 -04:00
Mike Sperber
30f9cd0dab Merge remote branch 'local-plt/master' 2010-06-08 14:22:51 +02:00
Mike Sperber
da88f22b0e Change do-define-struct' to use make-struct-type' explicitly.
This is to enable the contracts work that is to come.
2010-06-08 14:20:07 +02:00
Mike Sperber
97a04e9f9d Fix error message to match the test suite's check for it. 2010-06-08 11:22:35 +02:00
Mike Sperber
f54dc18326 Fix file names for loading. 2010-06-08 11:19:28 +02:00
Mike Sperber
dee21e9e73 Add what's needed, delete what's in the way.
Stuff I had forgotten earlier.
2010-06-08 09:26:07 +02:00
Matthew Flatt
1b0a173b34 fix detail in name-change faq 2010-06-07 20:51:44 -04:00
Sam Tobin-Hochstadt
b1ea02d546 fix typo 2010-06-07 20:45:54 -04:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Matthew Flatt
6b24320ea7 fix overzealous replacement of "Scheme" with "Racket" in quick
but a more extensive rewrite is probably warranted
2010-06-07 20:06:51 -04:00
Eli Barzilay
05f93bfc28 Add version indicator. 2010-06-07 14:08:50 -04:00