Commit Graph

14986 Commits

Author SHA1 Message Date
Robby Findler
9b01650e83 broke up check syntax into multiple files 2010-08-07 14:35:02 -05:00
Robby Findler
f1e1887fee started on a better way to do the obligation coloring 2010-08-07 14:35:02 -05:00
Jay McCarthy
8a67fceb4a Added attributes to textarea-input based on patch from Horace Dynamite 2010-08-06 20:08:21 -06:00
John Clements
f86edf3c8e added message about OS behavior on (non-)reload of library 2010-08-06 20:44:14 -04:00
Jay McCarthy
7ec4821feb Increasing timeout 2010-08-06 12:41:04 -06:00
Vincent St-Amour
201aaa9090 Documented TR's behavior on literals. 2010-08-06 12:21:50 -04:00
Vincent St-Amour
0a45e0e361 More precise type for expt. 2010-08-06 11:09:04 -04:00
Vincent St-Amour
4d43c21565 Added a test for unboxed nested loops. 2010-08-05 17:21:54 -04:00
Vincent St-Amour
c653a8e655 Changed optimization order for reals in complex operations.
Made generated names more informative and updated tests accordingly.
2010-08-05 16:43:36 -04:00
Robby Findler
d7ff2ed665 two more adjustments (to triangle/sss examples) 2010-08-05 13:43:16 -05:00
Robby Findler
47055673e6 Adjusted the triangle examples to make them fit a little bit better in the documentation 2010-08-05 13:37:18 -05:00
Jens Axel Søgaard
657126c44e Merge remote branch 'origin' 2010-08-05 19:31:06 +02:00
Jens Axel Søgaard
a4a8af1fae Added images. 2010-08-05 19:30:43 +02:00
Jens Axel Søgaard
b83f255f30 new images for docs 2010-08-05 19:16:57 +02:00
Kevin Tew
35a65f90c2 Places: refactor place-channel use 2010-08-05 11:05:54 -06:00
Jens Axel Søgaard
08e8260449 Documentation for triangle/sss and friends 2010-08-05 18:22:21 +02:00
Jens Axel Søgaard
64c3a98e45 Added triangle/sss, triangle/ass, triangle/sas, triangle/ssa, triangle/aas, triangle/asa, and, triangle/saa. 2010-08-05 18:18:06 +02:00
Vincent St-Amour
500685c0f2 Fixed source location for for:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
b18f2353ca Generalize naturals to integers to minimize annotations on mutated variables. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
4cb7491309 Added opt-lambda:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
0b3c637f5d Added another tracing option to TR. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
416591b355 Fixed parsing of keyword types. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
b1e744b1e1 Fixed tests that used complex literals. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
1105e70b30 Unbox literals at expansion time. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
bdf84f371d Optimize coercion of integer literals. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
1fb68707fc Fixed a test. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
fb31a6556e Added optimization for make-polar 2010-08-05 09:04:22 -04:00
Vincent St-Amour
dbdbaed506 Fixed typechecking of imaginaries. 2010-08-05 09:04:21 -04:00
Matthew Flatt
80bd5c53b5 fix dist specs for source distribution 2010-08-05 06:25:44 -06:00
Blake Johnson
f4abd35f5c better traversal for more sharing in zo-marshal and some refactoring. 2010-08-04 17:09:57 -06:00
Kevin Tew
3744e224b7 Places: fix sending place channels over place channels 2010-08-04 13:23:00 -06:00
Eli Barzilay
5f5810cfea v5.0.1 stuff 2010-08-03 21:37:14 -04:00
Blake Johnson
9f571acb2d documentation for free-id-info and contract changes. 2010-08-03 15:40:41 -06:00
Blake Johnson
b062c900a1 cases for more complicated lexical renames 2010-08-03 15:40:41 -06:00
Vincent St-Amour
5fa6b1c139 Added technical term links to the optimizer documentation. 2010-08-03 14:57:42 -04:00
Vincent St-Amour
bce003fa18 Imaginaries can't be inexact complexes. 2010-08-03 14:51:24 -04:00
Matthew Flatt
656321dbcb add optional #:key' argument to tech' and `techlink'
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Matthew Flatt
c8762ae877 add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
Vincent St-Amour
82f976a4d9 Added a link to the optimization guide in the TR reference. 2010-08-02 21:33:31 -04:00
Vincent St-Amour
cb516081c7 Documented the optimizer. 2010-08-02 21:33:30 -04:00
Vincent St-Amour
b47a77dd57 Eliminate user-introduced boxing. 2010-08-02 21:33:30 -04:00
Blake Johnson
551ef5ba30 applying make-prefab-struct 2010-08-02 19:27:28 -06:00
Blake Johnson
7653ce037b another all-from-module fix 2010-08-02 19:26:32 -06:00
Sam Tobin-Hochstadt
39c2359006 Remove obselete docs.
Add docs for legacy forms.
2010-08-02 17:23:01 -04:00
Sam Tobin-Hochstadt
1ce4040cd2 define-struct:' -> struct:' in docs.
Fix typo.
2010-08-02 16:59:37 -04:00
Sam Tobin-Hochstadt
431ff8d794 Don't treat Error types as potentially non-regular. (Reported by SK) 2010-08-02 15:41:42 -04:00
Robby Findler
f793360586 fixed a bug reported by Todd on the mailing list (probably this is his bug anyways) 2010-08-02 13:01:27 -05:00
Robby Findler
621ccbc2b4 improved the language dialog's handling of the (quasi-) menu key shortcuts.
closes PR 11073 (hopefully)
2010-08-02 11:21:40 -05:00
Jay McCarthy
53ff7a1092 Continuing 11072 2010-08-02 10:05:17 -06:00
Jay McCarthy
00f5ffc22c Fixing typo re sk 2010-08-02 09:20:06 -06:00
Jay McCarthy
c7995e247e Fixes PR11072 2010-08-02 09:18:41 -06:00
Robby Findler
5e8e4c6ffc a change to hopefully improve the error message this file (sometimes) get in drdr 2010-07-31 10:29:07 -05:00
Robby Findler
f96ed0632a improved contract 2010-07-31 09:40:04 -05:00
Robby Findler
d2802a0ed7 whoops, PR 11065 was wrong 2010-07-31 09:39:44 -05:00
Robby Findler
ee3a837ee2 fixes the other aspect of PR 11062 2010-07-31 09:15:11 -05:00
Robby Findler
1b25f2241f closes PR 11065 2010-07-31 08:06:17 -05:00
Blake Johnson
63c6cc5d2c Added case in zo-marshal for prefab structs
Made quoted not-prefab so it isn't captured by prefab case
2010-07-30 15:44:52 -06:00
Blake Johnson
85fc01f693 documentation for zo-parse certificate information 2010-07-30 14:37:17 -06:00
Blake Johnson
80c6ba482d better certificate handling in zo-parse and zo-marshal 2010-07-30 14:37:17 -06:00
Kevin Tew
6c2e1fa34f Parallel build: improved error handling 2010-07-30 11:42:33 -06:00
Matthew Flatt
0e8af6bc5d fix acc/mut error msgs from `define-struct' in teaching languages
Merge to 5.0.1
 Closes PR 11062
2010-07-30 11:16:32 -06:00
Eli Barzilay
14de7399bd typo 2010-07-30 04:20:46 -04:00
Vincent St-Amour
c4ba6b6038 Added some reflection functions to Typed Racket. 2010-07-29 19:11:20 -04:00
Vincent St-Amour
27f8279711 Extended use-site analysis to look through trivial rebindings, to support for loops. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
914f142f4f Fixed types of let loop lambdas. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
260de85a6e Make sure that let-bound functions don't escape through a rhs before we change their interface. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
435407b37a Fixed over-generous pattern matching. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
b58461da2d Fixed a bug that caused the let optimizations to choke on TR-introduced code. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
f08456cf07 Extended unboxing of let-bound functions to support let loops. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
855928eb7b Fixed a bug in the complex use-site analysis. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
4633a2a30a Refactoring of the call-site correction code. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
29b9eb389d Changed optimization order, to avoid potential conflicts. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
eed20f7c3a Fix for escaping functions. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
3e9e5560bf Be more aggressive when unboxing let bindings. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
bb14424918 More tests for unboxed args of let-bound functions. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
defe96a148 Fixed a bug with functions with unboxed complex and non-complex args. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
9d471df8b9 Added unboxed arguments to let-bound functions. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
1d758ee782 Added an option to see the result of the optimizer before compiling. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
27f0e50d53 Register type of loop lambdas generated by the for macros. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
b0d299d1b8 Added unboxed letrec-syntaxes+values bindings. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
8dc23d43eb Added unboxed letrec bindings. 2010-07-29 18:29:52 -04:00
Matthew Flatt
78751b982a fix doc typo 2010-07-29 06:56:30 -05:00
Matthew Flatt
33e3dac94e add example to scribble/bnf docs 2010-07-29 06:56:30 -05:00
Blake Johnson
2dfd340031 added another case for all-from-module renames 2010-07-28 14:45:07 -06:00
Blake Johnson
8b195d1c3c closing stderr in zo-test 2010-07-28 14:42:48 -06:00
Robby Findler
2309856e2a from commentary following up in PR 11054 2010-07-28 15:14:08 -05:00
Casey Klein
9e41ab031f Cleans up the debugging advice section 2010-07-27 15:43:01 -05:00
Blake Johnson
53fdc09e7a Do not use CPT_ESCAPE for every CPT_QUOTE, instead if it was a protect-quote, then just put the CPT_QUOTE in. 2010-07-27 13:39:43 -06:00
Robby Findler
f8f3ddbc94 typo. closes pr 11052 2010-07-27 14:38:43 -05:00
Jay McCarthy
bc647ae828 Disabling helper running in DrDr 2010-07-27 11:57:08 -06:00
Jay McCarthy
8d36dfad81 Fixing parts of zo-marshal re protect-quote; parallelizing zo-test; there is no the path error again in zo-marshal though 2010-07-27 11:10:54 -06:00
Eli Barzilay
f46144d5d3 reader examples typo 2010-07-27 10:15:40 -04:00
Matthias Felleisen
6a7801c523 to-draw for images in universe doc; fixes 11050 2010-07-27 08:41:13 -04:00
Matthew Flatt
bd0192d22d revised docs for -j flag to `raco setup'
Glad to see the docs, but revised for the following reasons:
  * define a meta-variable like `n' before using it
  * typeset meta-variables specially, usually as a Racket variable
  * 'processor-count' needed a `for-label' import for the hyperlink
  * use @exec{} for `make install', because it's a command rather
    than plain English
  * although `PLT_SETUP_OPTIONS' was introduced for `-j', it makes
    sense in general; revising the prose and moving to the end of
    the bullet makes that more clear (but good job including the
    index entry)
  * used `env' so that the example command line works for more shells
2010-07-26 15:08:49 -05:00
Matthew Flatt
1a84aecc42 doc typo 2010-07-26 14:53:45 -05:00
Matthew Flatt
93183284f7 raco' supports relative module paths in raco-command' "info.rkt" entries 2010-07-26 14:53:45 -05:00
Kevin Tew
ae4d2639dd Parallel-build docs 2010-07-26 12:25:58 -06:00
Jay McCarthy
28432037af Fixing up a few things in zo-parse/etc 2010-07-26 12:18:01 -06:00
Blake Johnson
8eeed89982 zo-marshal wrap fixes, optional port for zo-parse 2010-07-26 12:06:02 -06:00
Robby Findler
46ce202845 adjusted German and French translations 2010-07-26 11:51:43 -05:00
Sam Tobin-Hochstadt
dba04c8aea Add @nocopyright option to scribble/sigplan. 2010-07-26 11:43:33 -04:00
Matthew Flatt
7cb461371a fix doc typo 2010-07-26 09:43:55 -05:00
Matthew Flatt
264ec77abd another fix for CM+DrRacket interaction 2010-07-26 09:43:55 -05:00
Robby Findler
a63e811126 removed "JIT" since it was wrong 2010-07-26 09:39:53 -05:00
Vincent St-Amour
4803eafa67 Fixed a bug with exact complexes. 2010-07-25 22:15:18 -04:00
Eli Barzilay
7cdb5787e5 properly fix the readme issue 2010-07-25 21:14:46 -04:00
Vincent St-Amour
1b998f25e5 Fix to tolerate complexes of unknown exactness inside inexact-complex
expressions.
2010-07-25 20:13:36 -04:00
Robby Findler
83cde5c8fb got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Matthew Flatt
4359783d8b fix CM+DrRacket cdr bug 2010-07-25 06:17:23 -05:00
Eli Barzilay
af6364a58c Fix sha1-truncation, by removing it.
Usually, the "%h" format should result in an abbreviated sha1, but it
looks like getting it through `git archive' returns the full thing
rather than the truncated version.  So avoid the substring for now, and
find out if it's a git bug or not.
2010-07-25 05:01:44 -04:00
Eli Barzilay
82cba3fad0 One more README occurrence 2010-07-25 04:13:27 -04:00
Eli Barzilay
1eac3e1d28 Show only first 10-character prefix of the sha1. 2010-07-25 04:13:27 -04:00
Eli Barzilay
9074bf1992 Typo in Matthias's name 2010-07-25 04:13:27 -04:00
Eli Barzilay
1417caac07 Minor edits & typos 2010-07-25 04:13:27 -04:00
Kevin Tew
81c4275220 Fix cross references 2010-07-24 23:06:43 -06:00
Matthew Flatt
787bd61e33 fix mismatch between five.rkt code and Guide prose
Merge to 5.0.1
2010-07-24 20:43:17 -05:00
Matthew Flatt
96d528db9e fix Scribble Latex rendering of consecutive dashes and quotes 2010-07-24 20:43:17 -05:00
Robby Findler
3db5c5173a Merge branch 'master' of git:plt 2010-07-24 19:58:27 -05:00
Robby Findler
87e502e2a3 rackety 2010-07-24 19:58:18 -05:00
Vincent St-Amour
ec39ea5f33 Added one more test for unboxed let bindings. 2010-07-24 17:01:23 -04:00
Kevin Tew
1111c48fdb Fix latex doc generation 2010-07-24 09:57:36 -06:00
Matthew Flatt
57d3dd7df7 port techreports page to Racket 2010-07-23 22:28:47 -05:00
Vincent St-Amour
80b6ef7dd1 The optimizer now ignores code that is inside a with-handlers form,
since it would be typechecked in an unusual manner.
2010-07-23 18:52:47 -04:00
Vincent St-Amour
5d86813267 Fixed a test that could not work because of shadowing in hand-optimized code. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
5892ef2fad Fixed unboxing of let bindings. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
12ce9abda6 Fixed typo. 2010-07-23 18:52:45 -04:00
Vincent St-Amour
82b064a520 The optimizer now ignores expressions ignored by the typechecker. 2010-07-23 18:52:44 -04:00
Vincent St-Amour
ea580e6ff8 Added a test to the optimizer. 2010-07-23 18:52:43 -04:00
Vincent St-Amour
83987fffac let bindings of inexact-complex numbers can be replaced by bindings
for each of their components.

This allows unboxing of intermediate results that are bound and only
ever used in positions where they would be unboxed.
2010-07-23 18:52:42 -04:00
Vincent St-Amour
063b87697a Optimized extracting parts of inexact complexes. 2010-07-23 18:52:42 -04:00
Vincent St-Amour
0493e6f762 Refactoring of the optimizer. 2010-07-23 18:52:41 -04:00
Matthew Flatt
82588438c2 fix `enter!' reloading on a ".ss" path 2010-07-23 14:14:42 -05:00
Sam Tobin-Hochstadt
b8df3839e6 This file sometimes errors. 2010-07-23 15:11:10 -04:00
Sam Tobin-Hochstadt
5bb730f72c Optimize (apply + (map f l)) to avoid the intermediate list. 2010-07-23 14:11:40 -04:00
Kevin Tew
d640add2b1 Parallel Build: raco setup COLLECT fix 2010-07-23 10:08:48 -06:00
Kevin Tew
d724514a74 Fix hang on error in parallel build 2010-07-22 19:32:52 -06:00
Matthew Flatt
7c4eddc708 fix `file-stamp-in-paths', which affects DrRacket's auto compilation
Merge to 5.0.1
2010-07-22 18:46:35 -05:00
Jay McCarthy
407dcee206 Adding match to ASL 2010-07-22 15:39:53 -06:00
Jay McCarthy
eeada45868 Fixing error string 2010-07-22 15:12:07 -06:00
Jay McCarthy
9eb053d4db Adding define-datatype to ASL 2010-07-22 11:36:04 -06:00
Kevin Tew
5bb2e148de Parallel docs build 2010-07-22 02:39:57 -06:00
Vincent St-Amour
ca106a4134 Replaced the safe specialized nbody benchmark by the unsafe version. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
0ee0886cab Optimizations on one-argument cases of arithmetic operations. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
4e944f73ab Added optimization for string-length and bytes-length. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
d6ce6e664f Added box optimizations. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
234e8c363c Improved closure properties of bitwise-and. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
c4ae44123f Bytes are fixnums. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
d078305a59 Improved behavior of coercions with n-ary arithmeric operations. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
a31d7b60c8 Added type signatures for operations on inexact complexes and floats. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
b13075a1c0 Changed the interface to typed racket's test harness. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
47195410cb Added optimization for zero?. 2010-07-21 21:09:40 -04:00
Matthew Flatt
5d7f044488 change mrlib/image-core to use pen-list% cap and join support 2010-07-21 16:19:12 -06:00
Matthew Flatt
fa68e23c37 add pen and cap support to pen-list% 2010-07-21 15:50:22 -06:00
Matthew Flatt
90ec44f65c CM: report bad dependencies clearly; fix file-stamp-in-paths
for when `use-compile-file-paths' has multiple subpaths
  Probably merge to 5.0.1
2010-07-21 15:50:22 -06:00
Matthew Flatt
f1dc3bf06e fix doc typo 2010-07-21 15:50:22 -06:00
Casey Klein
ae99d4e5bc Adds a `apply-reduction-relation*' example to the docs 2010-07-21 08:46:28 -05:00
Casey Klein
ad308e32f1 Removes undocumented, unmaintained random testing form 2010-07-21 08:46:27 -05:00
Casey Klein
541a0c4ecb Adds #:prepare keyword to random testing forms 2010-07-21 08:46:27 -05:00
Robby Findler
392d22ff3c props 2010-07-21 06:31:31 -05:00
Robby Findler
6cd277a36f fixed a bug in the saving of bitmaps (and along the way added some randomized tests that found a few other things)
Please merge to release branch.
2010-07-20 22:59:52 -05:00
Matthew Flatt
6ffa068e1e fix use of the second argument to in-bib 2010-07-20 14:02:57 -06:00
Jay McCarthy
77b6709da1 Adding fake lambdas to get arrows on clauses. 2010-07-20 13:59:38 -06:00
Matthew Flatt
b71940bfbf fix doc typo
Closes PR 10881
 Merge to 5.0.1
2010-07-20 10:36:52 -06:00
Matthew Flatt
59de3b4f5e fix doc typo
Closes PR 10905
 Merge to 5.0.1
2010-07-20 10:35:00 -06:00
Matthew Flatt
8f15f04bd5 fix error message for (cons [else])
Closes PR 10910
 Merge to 5.0.1
2010-07-20 10:33:55 -06:00
Matthew Flatt
8dfe2a6a91 fix doc typo
Closes PR 10917
 Merge to 5.0.1
2010-07-20 10:24:34 -06:00
Matthew Flatt
4bd97ae80e fix uses of `scheme' in the Scribble style guide
Closes PR 10999
 Merge to 5.0.1
2010-07-20 09:33:15 -06:00
Matthew Flatt
7cbe584fbc fix mistakes related to -X and `make install'
Merge to 5.0.1
2010-07-20 07:28:07 -06:00
Matthew Flatt
b1efcd1fc2 fix non-in-place install by propagating collects path to subprocesses
Merge to 5.0.1
2010-07-20 07:15:31 -06:00
Casey Klein
310f9ce05a Makes it a syntax error for a `where' clause to reuse a pattern variable at a different depth 2010-07-20 07:53:16 -05:00
Casey Klein
72b98b77fb Fixes a bug with `where' clauses 2010-07-20 07:53:16 -05:00
Casey Klein
8eb25bb2b9 Adds a #:attempt-size keyword to the random testing forms 2010-07-20 07:53:16 -05:00
Casey Klein
0477125354 Documents #:print? keyword for check-reduction-relation and check-metafunction 2010-07-20 07:53:16 -05:00
Casey Klein
253641a03e Fixes minor bug affecting check-reduction-relation 2010-07-20 07:53:16 -05:00
Matthew Flatt
ce03a34318 another ss->rkt repair to exe creator
Merge to 5.0.1
2010-07-20 06:37:02 -06:00
Matthew Flatt
5cc0baa01e extend decompiler to handle #%variable-reference 2010-07-20 06:35:58 -06:00
Matthew Flatt
f602d11a7f raco exe: fix missing ss->rkt conversion and remove debugging printf
Merge to 5.0.1
2010-07-19 14:00:23 -06:00
Jay McCarthy
5417d7a5b7 Fixing path-only documentation and adding new test case 2010-07-19 13:56:01 -06:00
Robby Findler
5e007f7886 added rktl and rktd as owned by drracket (under mac os x) 2010-07-17 20:38:05 -05:00
Matthew Flatt
1ea0880f65 add missing test for continuation change 2010-07-16 20:55:07 -06:00
Matthew Flatt
fd5213b0ef typo in foreignobjc docs
Closes PR 11038
2010-07-16 20:43:22 -06:00
Vincent St-Amour
8aa4fae613 Added whitespace to the typed racket test harness. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
8563f02ba8 Don't abort typed racket's tests if the main tests fail. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
60bfce14bc Fixed unsafe optimization that considered floats as complexes. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
01c170c52f Fixed a segfault in the nbody benchmark. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
b8b852dbc1 Added a test for inexact imaginaries. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
3dab2fbbfc Fixed benchmarks to typecheck even when not-really-dead code is typechecked. 2010-07-16 19:08:19 -04:00
Vincent St-Amour
4d5b50dee9 Further fixes in overlap checking.
Rhss of code dispatching on overlapping structs are no longer
considered dead, and as such, are now typechecked.

Had to fix a test that passed only because some not-really-dead code
was not being typechecked.
2010-07-16 19:08:19 -04:00
Stevie Strickland
654b7df1de Two fixes in overlap checking.
- Names were not being resolved, so a superstruct name and substruct name
   could be seen as non-overlapping.
 - Struct parents were not checked in the overlapping algorithm.
2010-07-16 19:08:19 -04:00
Vincent St-Amour
8d6230956d Documented the optimizer. 2010-07-16 19:08:18 -04:00
Jay McCarthy
ec487fac4c Slightly improving error message on test--> failure 2010-07-16 16:08:31 -06:00
Vincent St-Amour
fc29e7e856 Added mutable pair optimizations. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
f21454e711 Fixed an infinite loop. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
c587038b33 The imaginary parts of reals are ignored when doing complex division. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
443d8b9f91 Fixnums and integers can now be coerced for complex operations. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
c645aa7ebc The imaginary parts of inexact reals are ignored when doing complex multiplication. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
b0788372ea Fixed bugs in the tests. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
566aeedb59 Better error reporting by the optimizer's test harness. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
7fb1b41a28 The optimizer's test harness now makes sure that optimized and
non-optimized versions of the same code evaluate to the same thing.

Unfortunately, this leads to a lot of code duplication. We can't
abstract over optimization like we do for the benchmarks since the
wrapper module would interfere with testing expanded code for
equality.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
748e9e47ad The imaginary parts of inexact reals are ignored when doing complex
addition or subtraction.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
025af5b815 Added coercions for floats with unboxed complex operations.
However, this generates superfluous operations involving their
imaginary part of 0.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
fff71e6a1d Enabled optimization of complex conjugate at the top level of complex operations. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
063211d922 Added unboxed complex conjugate. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
0b0da84eba Added optimizations for iterating over vectors and strings. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
1e550139aa Added dead code elimination. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
58fe07ad70 Better internal error reporting. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
b7229487a5 Various fixnum unsafe operations improvements. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
4e6fc3154b Added a test for cross-module struct optimization. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
4a8113eac6 Added types for sequence functions. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
85b96a98b3 Fixed the type for fxrshift. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
8c840a2282 Added types for byte-string I/O functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
3dbbd6d3fc Added types for integer/bytes functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
abee5a4db7 Added type for collect-garbage. 2010-07-16 12:22:09 -04:00
Jay McCarthy
c9ccf6d48b Adding all hash prims per SK 2010-07-16 09:43:03 -06:00
Matthew Flatt
8cb0b6fd7b fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1
2010-07-16 03:38:28 -06:00
Jay McCarthy
1b62a02e5a Updating documentation for PR11036 fix 2010-07-15 15:59:15 -06:00
Blake Johnson
8df94dd746 handling top-level-renames and mark-barriers 2010-07-15 15:53:02 -06:00
Jay McCarthy
d17deb5fef Adding hash table functions to ASL 2010-07-15 15:45:54 -06:00
Jay McCarthy
caca804615 Adding subsections to HTDP language primops docs 2010-07-15 15:45:54 -06:00
Jay McCarthy
f72a71c67f Fixing advanced language prim ops 2010-07-15 15:45:54 -06:00
Jay McCarthy
1dfb50460a Revert "Do not actually use dependent contracts in provide/doc if there is no dependency"
This reverts commit 334978a8e4.
2010-07-15 10:23:06 -06:00
Jay McCarthy
80b6ceeff1 Fixes PR11024.
The problem was that when the connection is closed its custodian is shutdown, thus killing the thread that was going to bring the server down. The difference between curl and the browser was that even though they both use HTTP/1.1, the browser actually leaves the connection open longer.
2010-07-15 10:14:16 -06:00
Jay McCarthy
334978a8e4 Do not actually use dependent contracts in provide/doc if there is no dependency 2010-07-15 09:52:30 -06:00
Jay McCarthy
d9e6eb1d8b Silly test push to trigger DrDr 2010-07-14 16:14:21 -06:00
Jay McCarthy
bb94d87c30 Fixing options (bad email instructions and no docs) 2010-07-14 15:20:48 -06:00
Jay McCarthy
4c392788ee Using all available cores 2010-07-14 14:39:33 -06:00
Jay McCarthy
f5df45e835 Sending to nobody not unknown 2010-07-14 14:39:33 -06:00
Eli Barzilay
d162667da5 Use (file "...extra-file...") in `dynamic-require'. 2010-07-14 14:36:53 -04:00
Eli Barzilay
89062a4005 Clarify announce mailing list 2010-07-14 13:27:18 -04:00
Eli Barzilay
fdcc87a14d pre pages should be working now.
* Remove all uses iplt from svn, replaced with a new iplt repository in
  git.

* The previous approach to patching pre html files wasn't robust enough,
  in case of a problem in the web page build things could be left with
  the raw html pages.  Replace that with a better solution, which
  generates the web pages earlier and then uses them to patch the html
  files.

* Add the drracket.org redirection page to the distribution list.

* Fix a small bug in the git intro page css.
2010-07-14 12:34:16 -04:00
Eli Barzilay
583abebb1a Better sources (use unicode and `p*'). 2010-07-14 12:34:16 -04:00
Matthew Flatt
32552fc4c2 revert cm refactoring
Reverts commit fe60da72c8.

 Something about the recfatoring was broken. For example, modify
 "racket/contract.rkt" and then run `raco setup -D -j 1 racket'.
 Another `raco setup -D -j 1 racket' re-builds a file in
 "mred", but a second run shouldn't have built anything. (Using
 `-j 1' demonstrates that it's not related to parallel builds.)
 Reverting the refactoring fixes the problem.

 I don't know what the bug was, but Kevin says that the refactoring
 wasn't needed after all.
2010-07-14 10:05:51 -06:00
Casey Klein
2025c27475 Fixes bug with "noclear" rewind. 2010-07-14 09:52:50 -05:00
Casey Klein
f786f24ac5 Makes let-rec verification match the implementation 2010-07-14 09:52:50 -05:00
Casey Klein
bc511912a4 Makes `let-one' verification match VM 2010-07-14 09:52:50 -05:00
Casey Klein
514f4e2e4b Restricts bytecode cycles to begin with proc-consts, as in the real machine. 2010-07-14 09:52:50 -05:00
Mike Sperber
de94854243 Unbreak stepper tests.
... via a spectacularly ugly hack.
2010-07-14 14:07:13 +02:00
Matthew Flatt
90b586365f upgrade to latest libffi from git repo (between v3.0.9 and v3.0.10) 2010-07-13 21:12:59 -06:00
Matthew Flatt
a306a646e6 fix build for disabled FFI 2010-07-13 16:07:03 -06:00
Matthew Flatt
94799247ee add file/sha1 and use it in openssl/sha1 when OpenSSL fails to load 2010-07-13 16:07:03 -06:00
Matthew Flatt
95dd131e93 use msg-send table atomically 2010-07-13 16:07:02 -06:00
Ryan Culpepper
87b1ec35f3 syntax/parse: work around hiding issue in macro stepper 2010-07-13 15:34:34 -06:00
Ryan Culpepper
79a06deb79 Added uses of internal-definition-context-apply from unstable/syntax 2010-07-13 12:07:48 -06:00
Ryan Culpepper
07f57aac9b Added uses of unstable/struct 2010-07-13 12:07:47 -06:00
Ryan Culpepper
df4e37fe08 macro-stepper: small doc update 2010-07-13 09:49:46 -06:00
Ryan Culpepper
4693abf074 macro-stepper: re-enabled block test 2010-07-13 09:38:52 -06:00
Ryan Culpepper
e36c964a9a macro-stepper: updated tests 2010-07-13 09:22:52 -06:00
Ryan Culpepper
b8bf5c571a macro-stepper: add support for #%stratified-body 2010-07-13 09:22:51 -06:00
Ryan Culpepper
9b03e38409 macro-stepper: switched to racket in hiding policy, labels 2010-07-13 09:22:51 -06:00
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