Robby Findler
98fb0e5b3a
moved a bunch of tests into the official test suite.
2010-08-07 14:35:08 -05:00
Robby Findler
9d98533e23
cleaned up a few little things here and there to pass the last of the existing tests
2010-08-07 14:35:08 -05:00
Robby Findler
b5fad95e58
make the optimizer give up more agressively when it starts out with a completely unknown thing
2010-08-07 14:35:08 -05:00
Robby Findler
306ae096eb
Fixed a bug in the eres handing (contracts where the dependent range variables are underscores)
2010-08-07 14:35:07 -05:00
Robby Findler
73177ceddc
moving machines
2010-08-07 14:35:07 -05:00
Robby Findler
2347568a6c
minor bug fixes
2010-08-07 14:35:07 -05:00
Robby Findler
9bc1b63ed4
added support for _ in range contracts
...
fixed a bug in blame assignment
2010-08-07 14:35:07 -05:00
Robby Findler
da9f5bd61a
fixed a few bugs in the ->i implementation and the test suite.
2010-08-07 14:35:07 -05:00
Robby Findler
10b6e58dd0
added support for rest arguments
2010-08-07 14:35:07 -05:00
Robby Findler
c31de06cc0
added result contract checking (after refactoring argument checking to make that more straightforward), prepared for #:post condition checking
2010-08-07 14:35:07 -05:00
Robby Findler
88aafb52eb
clarified the order of evaluation for contract expressions in ->i
2010-08-07 14:35:07 -05:00
Robby Findler
67f2a44fec
changed the parsed structs to better exploit similarity between arguments and results
2010-08-07 14:35:07 -05:00
Robby Findler
6d9066eb22
got #:pre conditions working
2010-08-07 14:35:06 -05:00
Robby Findler
5922ceda74
improved parsing of #:pre and #:post for ->i (fixed bugs and added more checks to the syntax)
2010-08-07 14:35:06 -05:00
Robby Findler
c1b558e1a3
adjusted the syntax of ->i so that #:post and #:pre get a list of variables now
2010-08-07 14:35:06 -05:00
Robby Findler
3b431c6ff2
->i now evaluates the arguments in the proper order
2010-08-07 14:35:06 -05:00
Robby Findler
d2894e7a8e
added in a use of Shu-yu's opt/c to see if it helps (which it does for complex contracts)
2010-08-07 14:35:06 -05:00
Robby Findler
40cde743a9
Got to the point where I can run some timings to see how well ->i does.
...
Here are the results, each contract put on the same function, namely:
(λ (x y) (+ x y))
1: (-> number? (<=/c 0) any)
2: (->i ([x number?] [y (<=/c 0)]) any)
3: (->i ([x number?] [y (x) (<=/c x)]) any)
4: (->d ([x number?] [y (<=/c 0)]) any)
5: (->d ([x number?] [y (<=/c x)]) any)
Taking f1 as the baseline, these are the relative times for calling
that thing over and over in a loop, supplying -1 as both of the
arguments:
f2: 1.01x
f3: 4.15x
f4: 21.1x
f5: 21.5x
2010-08-07 14:35:06 -05:00
Robby Findler
599fe85a16
Got the first example of indy blame working
2010-08-07 14:35:06 -05:00
Robby Findler
9fcc157b0d
this checkpoint causes racket to crash, with a segfault. run racket racket/contract/scratch.rkt to
...
see the error.
2010-08-07 14:35:06 -05:00
Robby Findler
4c240f2307
moving machines
2010-08-07 14:35:06 -05:00
Robby Findler
457248e9cc
moving to a different machine (some progress on optional & keyword args)
2010-08-07 14:35:05 -05:00
Robby Findler
d14796c276
got first example working
2010-08-07 14:35:05 -05:00
Robby Findler
5217744740
rename
2010-08-07 14:35:05 -05:00
Robby Findler
efd72af3d6
switching machines
2010-08-07 14:35:05 -05:00
Robby Findler
d75536161c
fixed bug in dependency checking for #:rest variables (and removed printfs)
2010-08-07 14:35:05 -05:00
Robby Findler
8f6080733f
fixed some bad ->i test cases
2010-08-07 14:35:05 -05:00
Robby Findler
9e92a976a7
added in checking that dependent variables are all sensible
2010-08-07 14:35:05 -05:00
Robby Findler
8b05829717
switching machines
2010-08-07 14:35:05 -05:00
Robby Findler
64a1ddcda9
adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite
2010-08-07 14:35:05 -05:00
Robby Findler
7352d86f1f
improved check syntax's jump-to-definition so it scrolls to a more natural place
2010-08-07 14:35:04 -05:00
Robby Findler
79d0c581d4
moving machines
2010-08-07 14:35:04 -05:00
Robby Findler
561ac12a91
got started on the ->i parser
2010-08-07 14:35:04 -05:00
Robby Findler
3c70b9d2ab
improved docs for ->i, added docs for the-unsupplied-arg and exported
...
and added docs for unsupplied-arg?.
2010-08-07 14:35:04 -05:00
Robby Findler
18e9d886e2
added an ->i test suite, based on the ->d one (doesn't test for indy-ness tho)
2010-08-07 14:35:04 -05:00
Robby Findler
a66fd7574d
fixed a bug in the annotations for things like listof when they were used in a non-function position
2010-08-07 14:35:04 -05:00
Robby Findler
a524595af2
docs for ->i
2010-08-07 14:35:04 -05:00
Robby Findler
2b2fb3c07e
renamed the contract obligation properties and added options to a few more contract combinators
2010-08-07 14:35:04 -05:00
Robby Findler
8e4b169583
check syntax now remembers the mode it was in last time and uses that next time
...
also, fixed a bug in the way modes were switch around (colors would not
be reset if there was nothing new to color)
2010-08-07 14:35:04 -05:00
Robby Findler
482481fff5
made a bunch of the contract combinators also propogate blame information
...
for use in check syntax
2010-08-07 14:35:03 -05:00
Robby Findler
18b8cde3e2
adjusted the annotations so that contracts can declare multiple parts
...
of themselves to be colored and then used that so that the #:pre-cond
and #:post-cond keywords on ->i contracts are colored.
2010-08-07 14:35:03 -05:00
Robby Findler
b664b04999
added property for internal contract dependencies to ->i
2010-08-07 14:35:03 -05:00
Robby Findler
74a0e49a4b
Added properties so that the ->i contract now shows its obligation information
2010-08-07 14:35:03 -05:00
Robby Findler
1fd82ee28e
adjusted the syntax checking to allow the new syntax of ->i (but still has the old ->d semantics)
2010-08-07 14:35:03 -05:00
Robby Findler
f5a190bf80
made a copy of the ->d contract implementation as a starting point for an implementation of ->i (sometimes, paper deadlines can be a Bad Thing...)
2010-08-07 14:35:03 -05:00
Robby Findler
4eb3df7094
various cleanups, including finishing up the client mode, string constants, and coloring of (known) identifiers
2010-08-07 14:35:03 -05:00
Robby Findler
b9ff546e83
now traverses from the bound occurrences to the binding ones for contract annotations
2010-08-07 14:35:03 -05:00
Robby Findler
e7bd94f2d2
adjusted check syntax to record the right-hand side of binding forms (when they are there)
2010-08-07 14:35:03 -05:00
Robby Findler
5a5da11314
added in unioning and a bit more coloring; checking in to prepare for some changes to the original check syntax (to support contract obligations better)
2010-08-07 14:35:02 -05:00
Robby Findler
b72a59d55c
broke things up a little bit more and started in on the new contract traversal
2010-08-07 14:35:02 -05:00
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