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