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
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