Commit Graph

14986 Commits

Author SHA1 Message Date
Jay McCarthy
4bb6c1ddcf Typo 2010-06-25 17:08:12 -06:00
Jay McCarthy
239af8c1c7 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
498c3019b4 Removing some of planet 2010-06-25 17:08:12 -06:00
Jay McCarthy
09f6e5bee4 Rackety 2010-06-25 17:08:12 -06:00
Jay McCarthy
f2c4e84006 Responsible 2010-06-25 17:08:12 -06:00
Jay McCarthy
940db1ab6c Initial add of Datalog 2010-06-25 17:08:11 -06:00
Vincent St-Amour
a6c75db94f Fixed typos in the numbers reference. 2010-06-25 18:01:41 -04:00
Eli Barzilay
f5a0e6e0b8 Undo the racket/init symbolic form thing.
It needs to be (lib "racket/init") because that's the way that racket
uses the -I flag.  I think that I ran into this in the past, so drop in
a comment explaining this.

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

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

I get these timings:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(define-struct foo (a b))

... foo is a contract, and a contract combinator `foo-of' is defined.
2010-06-09 11:07:22 +02:00
Mike Sperber
7269b2a1c1 Fix one of the test-outcome messages. 2010-06-09 10:46:56 +02:00
Sam Tobin-Hochstadt
78832fe332 Support case-lambda with multiple branches with keyword arguments. 2010-06-08 17:50:48 -04:00
Robby Findler
716aacf388 changed the framework's standard menus frame so that the quit menu is
never created under mac os x (which is the right behavior to make quit
actually work properly).
2010-06-08 16:45:15 -05:00
Sam Tobin-Hochstadt
c8732f12e4 fix prop 2010-06-08 16:55:46 -04:00
Sam Tobin-Hochstadt
ab70fed8a8 Scheme -> Racket in styles
Scribble style names.
 .tex and .css files
2010-06-08 16:40:47 -04:00
Ryan Culpepper
b6b8e29957 macro-debugger: made properties display respect inverted-colors mode 2010-06-08 14:12:34 -06:00
Ryan Culpepper
1c9bb4a72a macro-stepper: fixed colors for white-on-black display 2010-06-08 14:12:34 -06:00
Sam Tobin-Hochstadt
679967b491 PLT Scheme -> Racket 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
6d2b5569f4 Remove bogus #lang line 2010-06-08 13:08:13 -04:00
Sam Tobin-Hochstadt
84eae2b5e3 scheme -> racket in test-engine 2010-06-08 12:34:20 -04:00
Robby Findler
e74e929a92 changed the macro stepper to be responsive to the white-on-black preference
(but there is still some work to do to actually select a reasonable set
 of colors and probably some refactoring, but at least the interface with
 the framework is there now, so the changes should not be hard from here on)
2010-06-08 11:33:29 -05:00
Sam Tobin-Hochstadt
a8593de3c1 Scheme -> Racket fixes 2010-06-08 12:23:50 -04:00
Sam Tobin-Hochstadt
16391dda3d Fix Scheme/Racket typo. Closes PR 10965. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
9fc7a1eca4 Use `assert' for casts in typed benchmarks. 2010-06-08 12:05:58 -04:00
Sam Tobin-Hochstadt
0f4db44be3 more precise type for `max' 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
e44e454b94 Predicates for numeric comparisons. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
5f5dca4c69 Undo changes to benchmarks to use `sub1'. 2010-06-08 12:05:57 -04:00
Sam Tobin-Hochstadt
7f300a2c4f Special-case (- x 1) for use in loops. 2010-06-08 12:05:56 -04:00
Mike Sperber
30f9cd0dab Merge remote branch 'local-plt/master' 2010-06-08 14:22:51 +02:00
Mike Sperber
da88f22b0e Change do-define-struct' to use make-struct-type' explicitly.
This is to enable the contracts work that is to come.
2010-06-08 14:20:07 +02:00
Mike Sperber
97a04e9f9d Fix error message to match the test suite's check for it. 2010-06-08 11:22:35 +02:00
Mike Sperber
f54dc18326 Fix file names for loading. 2010-06-08 11:19:28 +02:00
Mike Sperber
dee21e9e73 Add what's needed, delete what's in the way.
Stuff I had forgotten earlier.
2010-06-08 09:26:07 +02:00
Matthew Flatt
1b0a173b34 fix detail in name-change faq 2010-06-07 20:51:44 -04:00
Sam Tobin-Hochstadt
b1ea02d546 fix typo 2010-06-07 20:45:54 -04:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Matthew Flatt
6b24320ea7 fix overzealous replacement of "Scheme" with "Racket" in quick
but a more extensive rewrite is probably warranted
2010-06-07 20:06:51 -04:00
Eli Barzilay
05f93bfc28 Add version indicator. 2010-06-07 14:08:50 -04:00
Sam Tobin-Hochstadt
7df8e32793 Properly handling immutable invariant structs. 2010-06-07 14:03:06 -04:00
Eli Barzilay
57d0011d58 Put a download button on the toplevel download page too.
The download toplevel is not meant to be part of the web, but people
will still get there -- so be nice.
2010-06-07 13:41:13 -04:00
Eli Barzilay
225c94cca6 The navbar also uses the download page.
(This leaves the toplevel download page unlinked (as expected), so it's
required explicitly.)
2010-06-07 13:41:13 -04:00
Eli Barzilay
81a9bbafd6 Download platform selector 2010-06-07 13:41:13 -04:00
Eli Barzilay
54bef4cfa1 Per installer pages 2010-06-07 13:41:13 -04:00
Eli Barzilay
9338211cf6 Current installers listing 2010-06-07 13:41:13 -04:00
Eli Barzilay
7e088a324e Move the download button into the download file. 2010-06-07 13:41:13 -04:00
Eli Barzilay
c9146b38e5 Add download and version information; download page on main site. 2010-06-07 13:41:13 -04:00
Eli Barzilay
fdd1c8d003 Toplevel download links 2010-06-07 13:41:13 -04:00
Eli Barzilay
2edf998fdb No need for multiple arguments here 2010-06-07 13:41:13 -04:00
Robby Findler
00cfe953a7 removed an unecessary parameter (the function was only called in one place and the argument expression was a variable that was also bound in the body of the called function and that variable was already used in a few other places, so the parameter was confusing here, making it seem to be a different value) 2010-06-07 11:43:36 -05:00
Robby Findler
9d75530d97 removed unused import 2010-06-07 11:43:36 -05:00
Casey Klein
abd035aec2 Fixes a bug in the way Redex generates tests to exercise the LHSs of a
meta-function or reduction relation.
2010-06-07 10:52:23 -05:00
Mike Sperber
b0e6e6b55d Merge remote branch 'origin/master' 2010-06-07 17:26:34 +02:00
Mike Sperber
93d7ec9446 Don't recheck DMdA lazy contracts we've already checked.
We avoided re-applying contracts that haven't been checked, but not
those that have.  Do so now.
2010-06-07 17:06:07 +02:00
Carl Eastlund
4c1eff839d Tell DrDr to use gracket-text for new unstable/gui libraries. 2010-06-07 00:10:28 -04:00
Carl Eastlund
e67096b276 Documented path->package-version. 2010-06-06 21:19:28 -04:00
Carl Eastlund
5d212ce1bd Completed the adaptation of (planet cce/scheme:7) to collects/unstable.
Removed the staging area collects/unstable/cce.
2010-06-06 20:31:37 -04:00
Carl Eastlund
e7814b63a7 Renamed call/debug from unstable/debug to debugf. 2010-06-06 20:31:37 -04:00
Carl Eastlund
a915d7c053 Changed unstable/debug to use error printing instead of logger output. 2010-06-06 20:31:36 -04:00
Carl Eastlund
ddc889532e Replaced unstable/debug with unstable/cce/debug. 2010-06-06 20:31:36 -04:00
Carl Eastlund
5faced0c23 Moved unstable/cce/set to unstable/set. 2010-06-06 20:31:35 -04:00
Carl Eastlund
f5b58403ba Moved unstable/cce/scribble to unstable/scribble. 2010-06-06 20:31:35 -04:00
Carl Eastlund
5877732abf Moved unstable/cce/slideshow to unstable/gui/slideshow. 2010-06-06 20:31:34 -04:00
Carl Eastlund
c749b3ece5 Moved unstable/cce/planet to unstable/planet. 2010-06-06 20:31:34 -04:00
Carl Eastlund
f6a190d3f3 Moved unstable/cce/require-provide to unstable/require. 2010-06-06 20:31:33 -04:00
Carl Eastlund
7131198974 Moved unstable/cce/define to unstable/define. 2010-06-06 20:31:33 -04:00
Carl Eastlund
ce85a96978 Moved the contents of unstable/cce/syntax to multiple other modules:
unstable/syntax, unstable/contract, and unstable/planet-syntax.
2010-06-06 20:31:32 -04:00
Carl Eastlund
904f80cd44 Moved unstable/cce/drscheme to unstable/gui/language-level. 2010-06-06 20:31:32 -04:00
Carl Eastlund
fb53d5d191 Moved unstable/cce/dict to unstable/dict. 2010-06-06 20:31:31 -04:00
Carl Eastlund
86a3c3ed18 Moved unstable/cce/class to unstable/class. 2010-06-06 20:31:31 -04:00
Carl Eastlund
584fac8419 Moved unstable/cce/gui to unstable/gui/window. 2010-06-06 20:31:30 -04:00
Carl Eastlund
1360d02728 Added unstable/cce/exn to unstable/exn. 2010-06-06 20:31:30 -04:00
Carl Eastlund
402232237c Moved unstable/cce/port to unstable/port. 2010-06-06 20:31:21 -04:00
Carl Eastlund
4166a0cfe7 Moved unstable/cce/sandbox to unstable/sandbox. 2010-06-06 20:30:49 -04:00
Carl Eastlund
2db3a9d38a Moved unstable/cce/regexp to unstable/regexp. 2010-06-06 20:30:48 -04:00
Carl Eastlund
3a525b9a12 Replaced unstable/hash with unstable/cce/hash. 2010-06-06 20:30:48 -04:00
Carl Eastlund
286319d723 Added unstable/cce/contract contents to unstable/contract. 2010-06-06 20:30:47 -04:00
Carl Eastlund
70858e93e5 Moved unstable/cce/queue to unstable/queue. 2010-06-06 20:30:40 -04:00
Carl Eastlund
1d0c069a6c Moved unstable/cce/web to unstable/web. 2010-06-06 20:29:59 -04:00
Carl Eastlund
14b2daab66 Moved unstable/cce/values to unstable/values. 2010-06-06 20:29:56 -04:00
Carl Eastlund
a22a1a4c15 Added unstable/cce/match macros to unstable/match. 2010-06-06 20:29:55 -04:00
Carl Eastlund
6bcf77fe65 Moved unstable/cce/text to unstable/text. 2010-06-06 20:29:54 -04:00
Carl Eastlund
8d10a6343b Adapted unstable/cce/function to unstable/function. 2010-06-06 20:29:54 -04:00
Carl Eastlund
6f39c3fca1 Adding contents of (planet cce/scheme:7) to collects/unstable/cce.
This is a staging area; these modules will be adapted to collects/unstable.
2010-06-06 20:29:53 -04:00
Carl Eastlund
4b728da51c Added unstable/pretty with pretty-format/print, /write, and /display. 2010-06-06 20:29:38 -04:00
Carl Eastlund
e52fb81aac Renamed bindings from unstable/hash and unstable/debug that will clash
with subsequent adaptation of (planet cce/scheme) to collects/unstable.
These bindings are temporary, and will be replaced in the adaptation.
2010-06-06 19:57:15 -04:00
Carl Eastlund
c1906fd3d3 Un-clutter TOC for unstable docs. 2010-06-06 19:55:45 -04:00
Carl Eastlund
8cbd1d15f8 Exporting path->package-version for use outside planet/util. 2010-06-06 19:55:44 -04:00
Robby Findler
0126324f41 documented contract-stronger? 2010-06-06 14:57:11 -05:00
Eli Barzilay
054ce9d21c Fix a small but nasty bug, and the related problem in stubs. 2010-06-06 05:40:16 -04:00
Eli Barzilay
d5504efd05 Fix mail archive links 2010-06-06 03:52:51 -04:00
Eli Barzilay
7a1b3597ee Add the loud background 2010-06-06 03:51:52 -04:00
Eli Barzilay
502007e51b Distribute to proper place now, tweak requires. 2010-06-06 03:51:40 -04:00
Eli Barzilay
1dc36d24fc make versionpatch deal with two-part versions too 2010-06-06 00:18:31 -04:00
Matthew Flatt
347e0da798 restore and document #:collects-dest arg to create-embedding-exe
fixed `raco make'
2010-06-05 17:59:41 -06:00
Matthew Flatt
773d0f6d70 fix use of .ss when .rkt exists in executable creation
more generally, fixes anything tha uses syntax/modcode
2010-06-05 16:49:34 -06:00
Robby Findler
d981a386d5 fixed a few typos in the docs 2010-06-05 17:31:06 -05:00
Robby Findler
608f78b29f refactored the executable creation code to make it more legible 2010-06-05 17:23:40 -05:00
Robby Findler
31367705bb actually switched the language to racket/base this time 2010-06-05 17:23:40 -05:00
Robby Findler
ccfa9c254f fixed the contract for create-embedding-executable (and changed the file to the racket/base language) 2010-06-05 17:23:39 -05:00
Robby Findler
db0f73bc4f added contract to create-embedding-executable 2010-06-05 17:23:38 -05:00
Robby Findler
42563354f8 Added preferences to remember the checkboxes in the Create Executable dialog box 2010-06-05 17:23:38 -05:00
Robby Findler
89be620f17 wording clarification 2010-06-05 17:23:37 -05:00
Eli Barzilay
8603bd22b0 Distribution via rsync. 2010-06-05 16:15:39 -04:00
Eli Barzilay
1af5b69588 People page 2010-06-05 14:45:07 -04:00
Eli Barzilay
33fb2679ae Fix bugs in output directories 2010-06-05 14:37:44 -04:00
Eli Barzilay
f56532c022 Main page works. 2010-06-05 14:23:55 -04:00
Eli Barzilay
3b3bfb0719 Add a `plain', and fix the identifiers. 2010-06-05 13:55:46 -04:00
Eli Barzilay
caaa69c689 define-pager' -> define+provide-context' that also creates a
`copyfile' binding.
2010-06-05 13:26:52 -04:00
Eli Barzilay
d8f8dfe9b7 Initial web content & build script. 2010-06-05 12:44:01 -04:00
Eli Barzilay
e09d6567c8 General links module, ability to specify extra html <head> material. 2010-06-05 12:43:36 -04:00
Eli Barzilay
2cbf8c8677 Common code for PLT sites 2010-06-05 08:53:53 -04:00
Eli Barzilay
9a0b78d9ad Generic (X)HTML generation framework
(Will later move into the scribble collection.)
2010-06-05 08:53:53 -04:00
Sam Tobin-Hochstadt
6197de9a09 Scheme -> Racket 2010-06-04 18:03:31 -04:00
Sam Tobin-Hochstadt
dfb4916f10 Fix more references to Scheme. 2010-06-04 16:40:00 -04:00
Sam Tobin-Hochstadt
43b9917484 Fix references to Scheme. 2010-06-04 15:40:08 -04:00
Sam Tobin-Hochstadt
47218dcb16 Fix typo. Closes PR 10958. 2010-06-04 14:15:50 -04:00
Jay McCarthy
f53898f8e6 drdr prop 2010-06-04 10:50:31 -06:00
Jay McCarthy
eeef33fa7b Adding ignores 2010-06-04 09:43:36 -06:00
Jay McCarthy
8e10ea0fef Adding formlets to tutorial 2010-06-04 09:43:36 -06:00
Matthew Flatt
88a06c724c revise examples for bound-identifier=? and free-identifier=? 2010-06-03 17:41:08 -06:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Jon Rafkind
53cfb15e5c add example for free-identifier=? and bound-identifier=? (from the r6rs docs) 2010-06-03 16:27:55 -06:00
Matthew Flatt
26835bedd1 change cm to accept the case of an uncompiled dependency
Merge to 5.0
2010-06-03 14:02:19 -06:00
Matthew Flatt
7e08ef7064 fix mismatched path normalizations in `raco setup'
A mixture of filesystem-insensitive `simplify-path', filesystem-sensitive
 `simplify-path', and `normalize-path' was used in different parts
 of `raco setup'. This causes a mismatch, for example, when a Planet
 hard link uses a path that is a symlink.
 In general, I think filesystem-insensitive simplification (i.e., syntactic
 simplification) is the right choice for comparing paths, so that is now
 used consistently.
2010-06-03 13:58:46 -06:00
Matthew Flatt
c3fdf47cc7 improve expansion of some unit forms to limit expansion size
Merge to 5.0
2010-06-03 11:07:44 -06:00
Ryan Culpepper
b2196cc595 syntax/parse: fixed bug in litsets at higher phases 2010-06-02 17:19:12 -06:00
Ryan Culpepper
4e54ae0c02 drracket tools manager: indicated skipped and failed tools
Closes PR 10952
2010-06-02 15:06:31 -06:00
Jay McCarthy
add2cbbbda Correcting test 2010-06-02 12:12:44 -06:00
Jay McCarthy
0748a08cd4 Using racket-lang 2010-06-02 11:21:43 -06:00
Jay McCarthy
2985001a79 Fixing PR10950 2010-06-02 10:20:20 -06:00
Jay McCarthy
3ff7b0461c Debugging 2010-06-02 10:20:19 -06:00
Sam Tobin-Hochstadt
0199e11edd Add require to base env to fix tests. 2010-06-02 11:26:48 -04:00
Robby Findler
66a97ebbac more typos 2010-06-02 09:34:11 -05:00
Robby Findler
396f348bcf Fixed some typos 2010-06-02 09:34:10 -05:00
Robby Findler
53b9b8adba brought the tool docs up to date with the new names in the info.rkt files 2010-06-02 09:34:10 -05:00
Robby Findler
ac69f11a58 improved the backwards compatibility documentation for the drscheme: names 2010-06-02 09:34:10 -05:00
Robby Findler
880fa2df0d Fixed drracket/tools-lib so that it exports drscheme:* names 2010-06-02 09:34:10 -05:00
Eli Barzilay
b47569930e Fix readme.txt -> README in unix installer 2010-06-02 10:08:14 -04:00
Matthew Flatt
4ebe2a0f52 try to fix Typed Racket after 'apply' changes 2010-06-01 21:25:54 -06:00
Matthew Flatt
61d39f2568 bytecode compiler convert (apply f .... (list arg ...)) 2010-06-01 19:22:39 -06:00
Mike Sperber
a0d82d07a6 Fix interaction between new DMdA contract representation and stepper.
- add proper hash procedures
- fix prining
2010-06-01 20:10:11 +02:00
Mike Sperber
5f8924b1d2 Fix various interaction breakage between the new DMdA records and the stepper.
Namely, attach the `stepper-ignore-completely' property to each
individual definition, rather than just to the block of definitions as a whole.
2010-06-01 20:10:11 +02:00
Sam Tobin-Hochstadt
61f6c2077d Fix for new 'raco planet' output.
- Merge to v5.0
2010-06-01 13:38:45 -04:00
Sam Tobin-Hochstadt
0e3c2b71cc Test for PR 10946. 2010-06-01 13:38:45 -04:00
Matthew Flatt
6f7c7f0496 fix Planet-packaging use of Scribble
Merge to 4.0
2010-06-01 11:25:06 -06:00
Stevie Strickland
40089cce15 Add a first-order check for recursive-contract.
Closes PR 10946.
2010-06-01 12:23:05 -04:00
Matthew Flatt
7a2ac10e0f change Scribble HTML button to set current-directory while running
Closes PR 10944
 Merge to v5.0
2010-05-31 14:02:42 -06:00
Matthew Flatt
c18603f767 add racketresultblock, etc. to Scribble 2010-05-31 13:55:16 -06:00
Matthew Flatt
5592dd1489 doc corrections
Merge to 5.0
2010-05-31 13:17:11 -06:00
Eli Barzilay
d0ecc73df5 More plt-scheme -> racket-lang, specifically for planet and bugs urls. 2010-05-31 15:11:27 -04:00
Robby Findler
733c9b9eec planet command now uses short-program+command-name properly. 2010-05-31 13:17:21 -05:00
Robby Findler
e23db50e06 Rackety planet command line tool 2010-05-31 09:00:05 -05:00
Matthew Flatt
93ec20f050 lots of gitignores for Windows 2010-05-31 06:55:04 -06:00
Matthew Flatt
3b4a950014 tweak Guide repair
Merge to v5.0
2010-05-30 15:05:00 -06:00
Robby Findler
6ed0b26f73 adjusted planet client to point to planet.racket-lang.org and updated some of the error messages to use racket-lang.org 2010-05-30 16:03:33 -05:00
Eric Hanchrow
ab025cbf47 Fix some typos 2010-05-30 04:11:57 -04:00
Eli Barzilay
1d5f34f623 Matthew uses JPRs tests 2010-05-30 04:11:57 -04:00
Vincent St-Amour
64ff5555fb Corrected some of the typed benchmarks to typecheck with Naturals as indices. 2010-05-29 14:23:11 -04:00
Vincent St-Amour
2229173b82 Changed the types of some numerical operations to be closed on naturals. 2010-05-29 11:31:47 -04:00
Sam Tobin-Hochstadt
d323a794e8 Change `typed-scheme' numerics.
- `number?' no longer `real?'
 - Number no longer Real
 - remove obsolete environments
 - Fix tests to use Real where necessary.
 - Fix typed/mred and typed/framework
 - Fix insert-large-letters to use `sub1' for type-safe loop

Merge to 5.0.
2010-05-28 19:24:46 -04:00
Vincent St-Amour
311be27422 Changed the common benchmark harness to compile benchmarks before
running them.
2010-05-28 19:05:45 -04:00
Vincent St-Amour
046d95293a Documented the for: macros. 2010-05-28 19:05:44 -04:00
Vincent St-Amour
e9a0014630 Disabled multi-valued seq-exprs in the for: macros because using them
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
c92ae73859 Wrote tests for the for: macros. 2010-05-28 19:05:44 -04:00
Vincent St-Amour
49caa00890 Added the for*/X: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
08baa400c3 Punted #:when clause expansion in the for: macros to their
non-annotated counterparts, except in the case of for: itself, where
it doesn't break the semantics of the underlying macro.
2010-05-28 19:05:43 -04:00
Vincent St-Amour
1ec6bd448b Added the for/lists: and for/fold: macros. 2010-05-28 19:05:43 -04:00
Vincent St-Amour
3518428635 Better support for #:when clauses in the for: macros. 2010-05-28 19:05:42 -04:00
Matthew Flatt
f94b727118 Fix one "PLT" that should be "Racket"
Merge to v5.0 if convenient
2010-05-28 16:55:25 -06:00
John Clements
2b7797ad17 comments added, & 1 test 2010-05-28 14:57:18 -07:00
Jay McCarthy
00f143a060 Fixing one typo of David's 2010-05-28 14:47:54 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Matthew Flatt
9f7a08663d fix bug in JIT handling of with-continuation-mark
The bug was specific to the case of a wcm in tail position
  of another wcm, where its mark should replace the outer one,
  and where the outer one is not in tail position with respect
  to the enclosing function
 Merge to v5.0
2010-05-28 14:28:06 -06:00
Jay McCarthy
0a9e3da26e Renaming formlet* source 2010-05-28 14:09:07 -06:00
Jay McCarthy
c907fae871 Adding formlet* 2010-05-28 14:09:07 -06:00
Matthias Felleisen
4bcfbc0af2 fixes PR10940 2010-05-28 13:51:49 -04:00
Matthias Felleisen
4f9db0e1dd Merge branch 'master' of git:plt 2010-05-28 13:45:22 -04:00
Matthias Felleisen
a67fe14f9e preparing release 2010-05-28 13:45:15 -04:00
Matthew Flatt
3ded8c30d4 fix raco setup and raco planet removal of bytecode
Closes PR 10941
2010-05-28 10:44:14 -06:00
Matthew Flatt
eec92017c4 fix problems with distributing unix executables Merge to v5.0 2010-05-28 10:37:18 -06:00
Matthew Flatt
7f2d57e827 build changes aimed at making Sun tools work
Merge to v5.0
2010-05-28 07:17:24 -06:00
Matthew Flatt
b96fd0c468 fix problem pretty-printing hash values that need to wrap
Merge to v5.0
2010-05-28 07:17:24 -06:00
Eli Barzilay
6c7d83b8a7 Fix some bogus responsible assignments. 2010-05-27 23:26:34 -04:00
Matthew Flatt
c8de3b5d1e change `pretty-print' to accept a qq-depth argument
makes it more consistent with `print'
 fixes the htdp/bsl, etc. languages, which install a global print
  handler
 Merge to v5.0
2010-05-27 20:22:44 -06:00
Matthew Flatt
fbab6af045 fix DrDr props on JPR tests 2010-05-27 20:22:43 -06:00
Matthias Felleisen
b8dce21f22 Merge branch 'master' of git:plt 2010-05-27 18:57:20 -04:00
Matthew Flatt
d923ef135f add examples from J-P Roy's textbook to check before a release 2010-05-27 15:30:00 -06:00
Matthew Flatt
6006a4c84d fix helper file for raco ctool test 2010-05-27 13:33:51 -06:00
Jay McCarthy
7e485b8d28 Documenting make-hasheqv and using it 2010-05-27 12:35:30 -06:00
Jay McCarthy
035ee93911 Using placeholders in zo-parse for more cyclic datums 2010-05-27 12:35:26 -06:00
Jay McCarthy
4088448317 Dealing with cyclic hashes 2010-05-27 12:33:26 -06:00
Jay McCarthy
5833f7cba4 Unifying some code 2010-05-27 12:33:26 -06:00
Jay McCarthy
612bd22bfe Cyclic zo tests 2010-05-27 12:33:25 -06:00
Jay McCarthy
08a48a67a0 Making string->xexpr more permissive 2010-05-27 10:48:42 -06:00
Jay McCarthy
103d53f6ad Correcting default help desc 2010-05-27 10:48:42 -06:00
Sam Tobin-Hochstadt
8194bcc4d4 Guard type-equal? test. 2010-05-27 12:46:37 -04:00
Sam Tobin-Hochstadt
34fef6e538 Re-enable test. 2010-05-27 12:46:29 -04:00
Sam Tobin-Hochstadt
9701ae0065 Avoid requiring old base-types. 2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
bd0bcda85e Simpler has-name? implementation. 2010-05-27 10:50:15 -04:00
Sam Tobin-Hochstadt
63dbde1e9e Fix test for new `do:' behavior. 2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
d4a8c52c71 Fix error message for multiple values. 2010-05-27 10:10:26 -04:00
Sam Tobin-Hochstadt
40c77586a0 Better type for `round'. 2010-05-27 10:10:26 -04:00
Vincent St-Amour
44a7a71923 Corrected the typed versions of some benchmarks to be closer to the
untyped versions.
2010-05-27 09:30:49 -04:00
Eli Barzilay
4cdfbb28d7 A few minor fixes 2010-05-27 02:33:38 -04:00
Robby Findler
b5364a5875 fixed a bug in the docs typo
Not for the release (because it modifies a file that has been changed too much and because this commit is a minor change)
2010-05-26 20:55:24 -05:00
Robby Findler
c96bbe640d makes image=? work on 2htdp/image images. 2010-05-26 20:55:24 -05:00
Eli Barzilay
bc242e06f3 Some "plt" -> "racket" in distribution files and other meta stuff. 2010-05-26 21:29:27 -04:00
Eli Barzilay
5a432f3c9c Switch installation names to "Racket" 2010-05-26 21:29:26 -04:00
Vincent St-Amour
ca9e35b9be Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
Vincent St-Amour
61f6a2579b Documented the typed benchmarks. 2010-05-26 19:48:31 -04:00
Vincent St-Amour
e3b994abff Typed Scheme's optimizer now recognizes specialized (safe) float
operations.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
762f108c04 Fixed a bug in typed Scheme's optimizer when using binary arithmetic
operators in a unary fashion with floats.
2010-05-26 19:48:30 -04:00
Vincent St-Amour
664ef2c0a3 Extended the type signatures of bitwise operations to be closed on naturals. 2010-05-26 19:48:29 -04:00
Vincent St-Amour
5213f54f56 Added the for:, for/list:, etc macros. 2010-05-26 19:48:15 -04:00
Vincent St-Amour
23f30af459 Rewrote do: to expand into do. 2010-05-26 19:20:32 -04:00
Matthew Flatt
7442f14305 fix problems with raco exe
Merge to v5.0
2010-05-26 17:07:09 -06:00
Matthew Flatt
923ff555d9 Fix problems with DESTDIR patching
Merge to v5.0
2010-05-26 17:07:09 -06:00
Matthew Flatt
f85b25f59f fix another typo like the one in dynext
Merge to v5.0
2010-05-26 17:07:08 -06:00
Jay McCarthy
7c294fd108 Accidentally killed the responsibility 2010-05-26 15:01:37 -06:00
Jay McCarthy
47f6b264a0 Specifying when R5RS is required for a benchmark and enabling running from other directories
Enabling running all benchmarks in DrDr
2010-05-26 14:53:15 -06:00
Jay McCarthy
225c08312a Commenting out time display I don't understand 2010-05-26 14:53:15 -06:00
Matthew Flatt
a8130eb7c3 fix typo in unixstyle-install 2010-05-26 14:27:37 -06:00
Matthew Flatt
d346575d36 fix typo in dynext linker spec for x86_64 Darwin 2010-05-26 14:19:30 -06:00
Eli Barzilay
8675dc69af The uninstaller is called "uninstall-racket", a few more "plt" leftovers. 2010-05-26 15:47:08 -04:00
Eli Barzilay
920870966f Fix the starter executable too. 2010-05-26 15:44:12 -04:00
Eli Barzilay
5c702976c2 A few more stray "racunit"s. 2010-05-26 15:21:55 -04:00
Jay McCarthy
28dce6996a Forgot one place 2010-05-26 13:18:02 -06:00
Jay McCarthy
c3d07af8d3 Fixing sloppy rename. Include in release. 2010-05-26 13:16:36 -06:00
Jay McCarthy
016a4fa12c Setting responsible 2010-05-26 10:09:01 -06:00
dvanhorn
c9d0bd10a1 Added remf to unstable/list.
Signed-off-by: Jay McCarthy <jay@racket-lang.org>
2010-05-26 10:08:29 -06:00
Jay McCarthy
7c5973cb94 Fixing graph display 2010-05-26 10:06:08 -06:00
Jay McCarthy
3619b5b2d8 Fixing typo 2010-05-26 10:06:08 -06:00
Matthias Felleisen
be256183e1 Merge branch 'master' of git:plt 2010-05-26 09:26:14 -04:00
Eli Barzilay
c9a7baaffa Change file references 2010-05-25 23:51:59 -04:00
Robby Findler
31b507aa51 Rackety 2htdp/image 2010-05-25 21:35:04 -05:00
Robby Findler
03a3270811 closes PR 10927 2010-05-25 21:35:03 -05:00
Robby Findler
48d793b099 closes PR 10929 2010-05-25 21:35:03 -05:00
Robby Findler
bae79dda0b closes PR 10930 2010-05-25 21:35:03 -05:00
Matthew Flatt
451961e596 fix `for' to track inlined sequence generators via 'disappeared-use 2010-05-25 20:27:03 -06:00
Eli Barzilay
2240e54660 Rename "plt-installer-header" -> "installer-header" 2010-05-25 22:09:52 -04:00
Eli Barzilay
af07701590 updated config path snapshot 2010-05-25 22:09:51 -04:00
Vincent St-Amour
c11a88f888 Added some indexes to the reference to make open-output-nowhere easier
to find.
2010-05-25 17:30:54 -04:00
Robby Findler
8c98f9d979 made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
0c1afebb5a made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Jay McCarthy
a797de8f9d Finalizing house call 2010-05-25 14:58:04 -06:00
Jay McCarthy
f9ca17aa2b Getting DrDr at home ready 2010-05-25 14:58:03 -06:00
Matthias Felleisen
265e420a92 doc bug PR10931 fixed 2010-05-25 16:19:20 -04:00
Eli Barzilay
3aa192944b Get rid of the generic "plt-" prefix 2010-05-25 15:42:31 -04:00
Eli Barzilay
72b1a3aafa Racketified windows installer 2010-05-25 15:42:31 -04:00
Eli Barzilay
49949a8421 Deal with a "~/" prefix.
A few additional improvements to the script.
2010-05-25 15:42:31 -04:00
Eli Barzilay
3ddeb6df17 Racketified unix installer. 2010-05-25 15:42:31 -04:00
Stevie Strickland
24c5a9aed8 Fix for optional keyword contracts used on make-keyword-procedure results.
This fix should go into the 5.0 release.
2010-05-25 13:01:42 -04:00
Matthew Flatt
e8fe67991e fix problem using both #:doc and #:tag-prefixes for secref
Merge to v5.0
2010-05-25 09:20:03 -06:00
Sam Tobin-Hochstadt
85b59a2f4c Fix Typed Scheme printing of types.
Merge to 5.0.
2010-05-25 07:58:06 -07:00
Jay McCarthy
2df8fac233 Fixing a bug reported by 张虎成. Original and small test case were added. I reimplemented Knuth-Morris-Pratt because I couldn't debug the existing implementation.
Please include in 5.0
2010-05-25 07:47:23 -06:00
Jay McCarthy
50fd0278ba Fixing an innoculous test case failure I introduced, by override the platform's time zone.
Relaxing the contract on date->string to accord with previous documentation.

Changing web-server example to use more restrictive contract

Please include in 5.0
2010-05-25 06:54:28 -06:00
Sam Tobin-Hochstadt
3885ba4f54 Remove `define-struct' from typed/racket.
Closes PR 10619.
2010-05-25 00:09:04 -07:00
Sam Tobin-Hochstadt
775e1b06a5 Test for former bug. Closes PR 10470. 2010-05-25 00:09:03 -07:00
Eli Barzilay
ea27521b5c Improved NSIS graphics (better font rendering, improved logo, no fadeout). 2010-05-25 02:06:47 -04:00
Sam Tobin-Hochstadt
27e971dce2 Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.
2010-05-24 22:33:31 -07:00
Matthew Flatt
a9250ec4f0 Merge branch 'master' of git.racket-lang.org:plt 2010-05-24 18:55:31 -06:00
Matthew Flatt
f357216068 tweak figure and footnote rendering 2010-05-24 18:55:14 -06:00
Jay McCarthy
3f1a89b8f8 Fixing dumb bug from me 2010-05-24 18:46:31 -06:00
Casey Klein
9a1e3a5ca2 Disables DrDr testing for example that opens windows. 2010-05-24 19:31:14 -05:00
Vincent St-Amour
6e16a76b51 Revert "Added a /dev/null-like output port to unstable."
open-output-nowhere already does something similar.
2010-05-24 18:57:05 -04:00
Vincent St-Amour
9c12b7d2e7 Added a /dev/null-like output port to unstable. 2010-05-24 18:41:13 -04:00
Matthew Flatt
12f2c4fe2e adjust printer for sets from `racket/set' to print in constructor style
also cooperate with pretty-print
2010-05-24 15:15:45 -06:00
Matthew Flatt
97d078a156 adjust `pretty-printing' parameter for single-line printing
make it #f in that case, as opposed to printing in multi-line
 mode when the content doesn't fit on a single line
2010-05-24 15:15:45 -06:00
Sam Tobin-Hochstadt
3b90cdb872 Merge branch 'master' of git.racket-lang.org:plt 2010-05-24 14:05:29 -07:00
Sam Tobin-Hochstadt
460bb348e1 Better internal error messages. 2010-05-24 14:05:05 -07:00
Sam Tobin-Hochstadt
af689b2531 Tests for bug found by David Van Horn. 2010-05-24 14:04:43 -07:00
Sam Tobin-Hochstadt
b21f704086 Print empty filters as - 2010-05-24 14:04:01 -07:00
Sam Tobin-Hochstadt
986318065d Remove tc-toplevel from the typechecking unit. 2010-05-24 14:03:14 -07:00
Sam Tobin-Hochstadt
5b0f705b83 Only do abstraction of filters at `let's. 2010-05-24 14:01:00 -07:00
Sam Tobin-Hochstadt
f320d36e9c Fix parsing of All on RHS of -> 2010-05-24 13:26:29 -07:00
Jay McCarthy
1b6b721aee Adding date->seconds 2010-05-24 14:25:35 -06:00
Jay McCarthy
009ae0588e Adding current-date 2010-05-24 14:23:53 -06:00
Jay McCarthy
991e2a4064 Using modern style a little 2010-05-24 14:23:52 -06:00
Jay McCarthy
581458f0be Converting to racket and with contracts 2010-05-24 14:23:52 -06:00
Jay McCarthy
4d892983fa Adding test cases to verify changes 2010-05-24 14:23:52 -06:00
Sam Tobin-Hochstadt
fac0e197cf Improve verbose printer.
- Fewer newlines.
 - Avoid printing hidden fields.
2010-05-24 13:23:37 -07:00
Jay McCarthy
2a934cb053 Do not read the entire zo at once 2010-05-24 13:14:36 -06:00
Jay McCarthy
f67177f740 Separating bytes usage for next change 2010-05-24 13:14:36 -06:00
Jay McCarthy
758b944996 Contract was too strict 2010-05-24 13:14:35 -06:00
Jay McCarthy
40e1ba95fc Making zo-marshal more like C and not with large byte strings 2010-05-24 13:14:35 -06:00
Jay McCarthy
f44e3123b5 Adding byte counting ports 2010-05-24 13:14:35 -06:00
Jay McCarthy
325ac1ae88 Reformating 2010-05-24 13:14:35 -06:00
Jay McCarthy
cb5aac762e Adding stream output 2010-05-24 13:14:35 -06:00
Jay McCarthy
63f546a080 Reformating 2010-05-24 13:14:35 -06:00
Jay McCarthy
b892c276ff Streaming final output from zo-marshal 2010-05-24 13:14:35 -06:00
Jay McCarthy
3b98c8f9b3 Syntax objects are supported 2010-05-24 13:14:35 -06:00
Robby Findler
61f03beaee fixed problems with chat noir's h key implementation (and added a note about the new 'n' key) 2010-05-24 12:42:38 -05:00
Robby Findler
77841f0834 fixes PR 19025 2010-05-24 12:17:40 -05:00
Matthew Flatt
6dec677308 Fix problem with scribble/lp and dotted forms
Closes PR 10924
 Merge to v5.0
2010-05-24 10:03:55 -06:00
Matthew Flatt
0b8a664d78 fix minor doc bugs 2010-05-24 10:03:37 -06:00
Matthew Flatt
c3f5aed473 fix docs for in-directory to specific default argument value
Merge to v5.0
2010-05-24 10:03:36 -06:00
Jay McCarthy
85a7509034 Removing test auto run 2010-05-24 09:56:35 -06:00
Jay McCarthy
f5bddf7705 Fixing ftp-download-file 2010-05-24 09:56:35 -06:00
Jay McCarthy
15d9a7dd8a Initial ftp test cases 2010-05-24 09:56:35 -06:00
Jay McCarthy
52281d7089 rkt suffixes 2010-05-24 09:56:35 -06:00
Jay McCarthy
63df5311c5 Racketizing 2010-05-24 09:56:34 -06:00
Jay McCarthy
4349df5b6a Fixing error when no email needs to be sent and changing addresses 2010-05-24 09:56:34 -06:00
Casey Klein
cc162f3eeb Brings the Redex examples documentation up to date (for 5.0 release) 2010-05-24 09:19:48 -05:00
Matthias Felleisen
bece17d828 Merge branch 'master' of git:plt 2010-05-24 10:09:38 -04:00
Matthias Felleisen
fe67f369fa prep for debugging 2010-05-24 10:09:01 -04:00
Matthias Felleisen
f243a0e617 fixed 10922 2010-05-24 10:03:59 -04:00
Matthias Felleisen
f1d258f20b fixed 10923 2010-05-24 09:50:57 -04:00
Eli Barzilay
16affcd86d New NSIS graphics. 2010-05-24 02:59:12 -04:00
Jose Antonio Ortega Ruiz
92bbe52da0 Fixes for trivial typos in Reference sec. 1.1. 2010-05-23 23:10:36 -04:00
Sam Tobin-Hochstadt
601e693b01 Improve type of count and vector-count. 2010-05-22 18:07:50 -04:00
Sam Tobin-Hochstadt
e6d85175f3 Document Exact-Nonnegative-Integer 2010-05-22 18:03:18 -04:00
Carl Eastlund
5d6afabf5e Improved error messages for misuse of prop:dict. 2010-05-22 11:13:15 -04:00
Matthew Flatt
f5a0b9e613 fix scribble/xref 2010-05-22 08:46:43 -06:00
Robby Findler
b319039468 fixed a bug in text so that inexact integers are converted to exact ones 2010-05-22 08:58:54 -05:00
Matthew Flatt
1e9aa3b132 document scriblib/footnote 2010-05-21 19:40:33 -06:00
Matthew Flatt
18b06a9297 add `margin-note*' for putting a single-para note in the middle of a para 2010-05-21 19:40:33 -06:00
Matthew Flatt
141a37e50d Fix Scribbling and eval-result copying of hasheqv/hasheq tables
Closes PR 10918
2010-05-21 19:40:33 -06:00
Matthew Flatt
69230100e4 add scriblib/footnote library 2010-05-21 19:40:33 -06:00
Matthew Flatt
8b7c8d08bd add fix-point finding traverse pass to Scribble 2010-05-21 19:40:33 -06:00
Matthew Flatt
e4aab34656 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Vincent St-Amour
fece1f6d03 Fixed a bug with Typed Scheme's do: with no finish-expr.
Include in 5.0 release.
2010-05-21 19:31:43 -04:00
Vincent St-Amour
88dc30aa3c Extended the type signatures of trigonometric operations.
Include in 5.0 release.
2010-05-21 19:31:42 -04:00
Jay McCarthy
3c19657848 Fixing precomps on OS X 2010-05-21 16:04:12 -06:00
Jay McCarthy
0ecf56090a CC output catching attempt 2010-05-21 16:04:09 -06:00
Stevie Strickland
77b4106c84 Allow the structure name to be used as a constructor.
Push to 5.0.
2010-05-21 17:16:51 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Eli Barzilay
7424735100 Switch to the stamp directory when running git. 2010-05-21 15:12:16 -04:00
Eli Barzilay
7a380fa160 Minor git tweak 2010-05-21 15:12:15 -04:00
Mike Sperber
f899fdf15d Report the correct position for a blamed procedure.
... if the `lambda' of that procedure was the result of expanding a `define':
Attach the `define''s source location to the `lambda' expression.
2010-05-21 19:39:27 +02:00
Mike Sperber
8d39c15b17 Make contracts available in HtDP languages.
Known breakage: when blame is assigned to a procedure defined via
(define (f ...) ...), its source position isn't reported because its
lambda expression is generated.
2010-05-21 19:30:37 +02:00
Sam Tobin-Hochstadt
6b1d106285 Merge branch 'master' of git.racket-lang.org:plt 2010-05-21 10:41:48 -04:00
Sam Tobin-Hochstadt
5faab8b578 Add `debugm' to unstable/debug
- `debugm' does not parse or print the arguments to the form,
    so it works for macros, not just function application
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
188f080c79 Handle set! transformers in match expanders.
- use prop:set!-transformer
 - extract set!-transformers where necessary
 Closes PR 10481
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
230f1a59c6 More precise types for: truncate, floor ceiling 2010-05-21 10:41:24 -04:00
Matthew Flatt
0c2c992bf4 reorder and revise dialects section of guide 2010-05-21 07:16:18 -06:00
Matthew Flatt
94a55281c1 fix problems with Scribble HTML and PDF buttons 2010-05-21 07:15:39 -06:00
Mike Sperber
15ea740fa3 Merge remote branch 'origin' 2010-05-20 20:04:37 +02:00
Matthew Flatt
458b9364bd restore racket/list 2010-05-20 12:02:26 -06:00
Matthew Flatt
70089070c7 clarify that 'exec-file is not necessarily an absolute path 2010-05-20 12:02:01 -06:00
Mike Sperber
b4f010c6d5 Fix breakage due to lazy contracts.
- fix check for lazy-wrap property
- supply hash procedures for records defined with `define-record-type'
  (needed by the stepper)
2010-05-20 19:55:12 +02:00
Matthias Felleisen
2801ab2db0 Merge branch 'master' of git:plt 2010-05-20 13:26:10 -04:00
Matthias Felleisen
a106cbecbe bug in read-words/line fixed, please propagate 2010-05-20 13:25:59 -04:00
Mike Sperber
799d356871 Merge deinprogramm/contract/contract-test-display into test-engine/test-display.scm. 2010-05-20 16:57:46 +02:00
Mike Sperber
3e0d3b84ec String constants for check-property error messages. 2010-05-20 16:15:15 +02:00
Mike Sperber
2f747dfa1f Cosmetic change to new-style require. 2010-05-20 16:12:50 +02:00
Mike Sperber
5f443141f1 String constants for the remaining untranslated test-engine messages 2010-05-20 16:05:15 +02:00
Mike Sperber
8590e8cadf Merge deinprogramm contract test-engine into the regular one.
This adds support for contracts.
2010-05-20 15:31:45 +02:00
Vincent St-Amour
afdccf7a23 Used the .rktl extension for unwrapped typed benchmarks and set props
to not have drdr run the typed benchmarks.
2010-05-19 18:28:30 -04:00
Matthew Flatt
9fc5cbfa2c Fix syntax error in ASL
Closes PR 10914
 Merge to v5.0
2010-05-19 15:11:41 -06:00
Matthew Flatt
f91836e311 document Windows embedding requirement when parallelism is enabled
merge to v5.0
2010-05-19 15:10:46 -06:00
Matthew Flatt
6f733e96b7 document and index .zo extension in Guide
merge to 5.0
2010-05-19 15:10:46 -06:00
Matthew Flatt
993d80eb2a rackety shootout benchmarks 2010-05-19 15:10:46 -06:00
Sam Tobin-Hochstadt
e9ac3651a4 Add test file.
Closes PR 10594.
2010-05-19 15:22:22 -05:00
Sam Tobin-Hochstadt
9fe3747a19 Allow expected type to have weaker filters and objects.
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3 Allow recursive types in type annotations for `list'.
Closes PR 10562.
 Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
Vincent St-Amour
63be1f51ed Added error checking in the graphs-typed benchmark. 2010-05-19 13:10:40 -04:00
Vincent St-Amour
1ac3f6905f Changed the typed benchmarks and the benchmark harness to use wrapper
modules to turn typed Scheme's optimization on and off.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
20cd21440f Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
1e15826159 Switched from using the module form to using #lang in the typed benchmarks. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
fb09e9da23 Updated some of the typed benchmarks. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
e90e37ec62 Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
46fdef3f3f Ported some of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
3e757d0fb1 Added logging to typed Scheme's optimizer. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
7adedacf2b Extended the typed Scheme optimizer to handle all the core forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
b543177868 Extended typed Scheme's optimizer to traverse more forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f2edae0e9a Typed Scheme's optimizer can now generate unsafe car and cdr. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
790658886b Wrote tests for the new pair accessor type signatures. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
f77e4eeb41 Added some special cases to type signatures for pair accessors. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
eb95b35a12 Fixed a typo in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
849ee86c85 Added type signatures to more pair accessors in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
b64fb126f6 Added type signatures for caar and some others to typed Scheme's base env. 2010-05-19 13:10:35 -04:00
Stevie Strickland
bb798b4ba5 Fixing the negative blame associated with provide/contracted identifiers.
The contract system now keeps track of three points of blame: the positive
blame, assigned to the provider of a contracted value; the negative blame,
assigned to the receiver of a contracted value; and the user "blame",
assigned to the party that actually misuses the value.  While the latter
is not really blame, as blame is not assigned to that party when that party
is not either the negative or positive party, it's useful information for
programmers when debugging.

For provide/contract, the negative party should be the first module to
require an identifier provided via provide/contract.  What was previously
the negative party is really the user, and is now handled as such.
2010-05-19 12:35:50 -04:00
Sam Tobin-Hochstadt
3fd5c49172 Add test for PR 10318.
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
756bcc8a5e Documentation for heterogenous vectors.
Closes PR 10291.
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Eli Barzilay
2c3db18852 Some git adjustments 2010-05-19 08:32:35 -04:00
Eli Barzilay
263168a165 Adjustment for release checklist. 2010-05-19 06:11:48 -04:00
Eli Barzilay
14cfb73902 "Raclog" -> "Racklog" 2010-05-18 23:47:31 -04:00
Eli Barzilay
c9f359a3c4 Fix a small problems in generating the readme file. 2010-05-18 23:30:12 -04:00
Matthias Felleisen
391444741f simulate-file for testing readers 2010-05-18 23:00:59 -04:00
Eli Barzilay
ab116a5c8b Add a generic toplevel README file, make the bundle script use it.
Also, get rid of the old readme-specs.
2010-05-18 17:28:44 -04:00
Stevie Strickland
4336f29273 Quick fix to get the right struct info out of define-struct/contract.
Closes PR 10526.  Closes PR 10561.
2010-05-18 13:14:14 -04:00
Matthew Flatt
ed1c74108f fix Scribble doc reference to element 2010-05-18 00:21:46 -06:00
Ryan Culpepper
a25996b4b8 syntax/parse: add ~var option #:attr-name-separator (no docs yet) 2010-05-17 16:33:55 -06:00
Ryan Culpepper
1572b1ece4 syntax/parse: change unbound literal error message 2010-05-17 16:33:55 -06:00
Ryan Culpepper
d43792926a racunit: add racunit menu, Lock option 2010-05-17 16:33:55 -06:00
Ryan Culpepper
3f9233a718 racunit: stop running tests when gui is closed 2010-05-17 16:33:55 -06:00
Sam Tobin-Hochstadt
535dc73fad More fixes for Vincent. 2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
7ecf424ff8 Fix internal error detected by vincent. 2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
0d1d61c725 rename to .rkt 2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f Fix for git/rkt 2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1 rename to rkt 2010-05-17 15:29:12 -05:00
Robby Findler
b7a20594ef added \newpage to the latex-style keybindings 2010-05-17 11:39:38 -05:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Jay McCarthy
5b38155e7f Using raw response file in test 2010-05-17 11:05:22 -05:00
Eli Barzilay
28998cfe11 Remove redundant file 2010-05-17 09:57:03 -04:00
Eli Barzilay
41ea7311f3 Use "main.rkt" instead of "main.ss" in constructed path 2010-05-17 09:55:48 -04:00
Eli Barzilay
4279fe3c4f Some "org.plt-scheme" -> "org.racket-lang"s 2010-05-17 09:54:17 -04:00
Eli Barzilay
9592b91a2f Use two spaces instead of tabs, and wrap the notification lines. 2010-05-17 09:40:17 -04:00
Eli Barzilay
d0f4a5202b "revision" -> "push" on drdr pages and in emails. 2010-05-17 09:40:16 -04:00
Matthew Flatt
f0e7e40465 fix paint-by-numbers path problem 2010-05-17 07:11:04 -06:00
Eli Barzilay
939af28a4c Some random ".ss" -> ".rkt"s 2010-05-17 05:58:19 -04:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
8450f202e9 Change the instructions to use "git" instead of "svn". 2010-05-17 04:10:56 -04:00
Eli Barzilay
1e5dbe553b Fix two random emails. 2010-05-17 04:03:28 -04:00
Eli Barzilay
bcab28e5d2 Misc tests/drracket improvements.
Removed "info.rkt", since all entries were unused; switched ".ss" to
".rkt" in both real code and tested code (except for the teachpack
tests); modernized some tests to use symbolic requires (which would also
make it easier to deal with).
2010-05-17 03:07:10 -04:00
Eli Barzilay
0940a4d813 Rename "test-drscheme.ss" -> "test-drracket.rkt"; remove the framework tests.
There's no point keeping the framework tests when drdr does a better job
with running more stuff.  But keep the drracket test, just in case, to
get an additional nag when something bad happens and it doesn't start.
2010-05-17 01:57:41 -04:00
Eli Barzilay
285e9b5279 Use ".rktc" for the C-generated foreign file. 2010-05-17 01:48:39 -04:00
Eli Barzilay
fcedc30ee4 Rename "collects/tests/mred" -> ".../gracket".
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
aa7090fb25 Remove the drscheme-homepage string constant and its only use. 2010-05-17 00:56:38 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2ecdc0f33a Use regexp-match*' instead of regexp-split'.
Also, explicitly make it throw an error when it's getting an empty glob.
It used to just return the root in that case, but it's unclear if this
would be the right thing, or maybe return everything, or nothing.
2010-05-16 22:59:36 -04:00
Eli Barzilay
400bd5eaad Fix this to account for not dropping empty strings at the edges. 2010-05-16 22:02:10 -04:00
Matthew Flatt
0ed8dcc020 fix some copyrights in the license doc 2010-05-16 17:35:40 -06:00
Matthew Flatt
322a045a51 improve guide chapter on language creation (based on Matthias's comments) 2010-05-16 17:28:56 -06:00
Matthew Flatt
bb26115591 add 'filebox' Scribble function 2010-05-16 17:28:55 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
4b0b550e6a Rename an included file to .rktl 2010-05-16 18:26:25 -04:00
Eli Barzilay
4ab5fa7dff Fix some of the distributed paths that the compiler packages. 2010-05-16 18:26:25 -04:00
Eli Barzilay
d8fec78585 Some renames for this dusty code. 2010-05-16 18:26:25 -04:00
Eli Barzilay
a82bb41950 some prop fixes 2010-05-16 18:26:25 -04:00
Eli Barzilay
d099267b81 no tests in meta/build 2010-05-16 18:26:25 -04:00
Eli Barzilay
bb263675b6 Rename "drscheme-button*" -> "drracket-button*"; fix bad reference to "drscheme/syncheck-drracket-button". 2010-05-16 18:26:25 -04:00
Eli Barzilay
31923d045e Distribution specs should be working fine now. 2010-05-16 18:26:25 -04:00
Matthew Flatt
704f8d6b13 add two missing acks 2010-05-16 07:31:37 -06:00
Matthew Flatt
1873a6f14d fix typo 2010-05-16 07:30:43 -06:00
Eli Barzilay
020d363336 more adjustments 2010-05-16 03:08:31 -04:00
Eli Barzilay
48c9b54bea distribution seems to be working now 2010-05-16 03:06:19 -04:00
Eli Barzilay
418b05b8ff Fix a few typos 2010-05-15 21:03:35 -04:00
Eli Barzilay
86891b30a1 redex/examples/mzscheme-machine -> racket-machine 2010-05-15 18:41:08 -04:00
Eli Barzilay
c12874661f make the winvers tweaker use and modify files with the new names 2010-05-15 18:37:13 -04:00
Eli Barzilay
296818e11f Remove "-q" flags -- they're not needed. 2010-05-15 18:13:43 -04:00
Eli Barzilay
03fdd4aa15 Replace all "mzscheme"s with "racket"s, "mred"s with "gracket"s.
Also, forbid using "mred" in drdr:command-line.
2010-05-15 18:10:56 -04:00
Eli Barzilay
3219d28e9d repos-time-stamp -> repo-time-stamp 2010-05-15 16:48:04 -04:00
Eli Barzilay
8a973cde91 somehow this wasn't deleted earlier 2010-05-15 16:06:45 -04:00
Matthew Flatt
3db293a6af fix some dist-spec problems 2010-05-15 08:58:23 -06:00
Eli Barzilay
0a881a6305 drdr info file 2010-05-15 10:47:56 -04:00
Eli Barzilay
83a74c89c0 build script works with git, but still takes its own resources from iplt (svn). 2010-05-15 10:47:12 -04:00
Eli Barzilay
83c2c283fd existing version of build scripts 2010-05-15 10:45:15 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Jay McCarthy
038e5f4d09 Marking all these tests as random, although not necessarily intentionally re email with Robby 2010-05-14 14:25:02 -06:00
Jay McCarthy
83abb1d223 Updating display 2010-05-14 14:25:02 -06:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
b072d85107 adjust Slideshow to not re-export printable<%>; improve docs for both Slideshow and Scribble 2010-05-14 11:33:08 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Jay McCarthy
1d0bc61098 Updating to use new props format 2010-05-14 11:05:23 -06:00
Jay McCarthy
05c8289925 Removing self from always email 2010-05-14 11:05:23 -06:00
Jay McCarthy
b58932ba39 Off by one 2010-05-14 11:05:23 -06:00
Eli Barzilay
1f6159f0ba Change the drdr:command-line property.
It now holds a list that starts with a known symbol, and a `*' symbol
marks where the file name is supposed to be.  #f means don't run the
file.  The conversion happens when the string is converted to a value,
and at that point it will complain if ~s is missing, if there's more
than one ~s, or if the command is not one of a known few commands.
2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
798a7f2a3c fix typo 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
f40000c9c7 Fix het vec with strange expected types 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb more testing 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2c03f2223b mostly done with heterogenous vectors 2010-05-14 11:00:22 -04:00
Vincent St-Amour
0837e47ce7 Fixed a typo in the regexp doc. 2010-05-13 17:12:36 -04:00
Jay McCarthy
bac7ff3bdf Fixing X11 test bugs 2010-05-13 14:34:34 -06:00
Jay McCarthy
04b035ade6 Setting props 2010-05-13 14:26:10 -06:00
Jay McCarthy
fb8e8640bb This error should not be on stderr, because it is intended 2010-05-13 14:25:39 -06:00
Jay McCarthy
dbad0093f2 Ignoring superfluous error 2010-05-13 14:14:48 -06:00
Jay McCarthy
d284d530f5 Using Elis scm-export 2010-05-13 13:37:56 -06:00
Jay McCarthy
6ee0b0585a Fixing bug in path-random access 2010-05-13 13:03:14 -06:00
Sam Tobin-Hochstadt
f44bd59b69 remove unnecessary assert 2010-05-13 14:59:45 -04:00
Sam Tobin-Hochstadt
684ae395e6 Fix w/c to handle expression form of with-contract, and disable internal contracts. 2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
52f5a1936c Merge remote branch 'origin/master' into samth/new-logic2 2010-05-13 14:23:58 -04:00
Stevie Strickland
27014e9147 Add myself to the list of contributors. 2010-05-13 13:57:52 -04:00
Sam Tobin-Hochstadt
814c02664e Don't generate extra filters unless they're useful. 2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
a893116391 fix more tests 2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
8d59ee77e4 Don't generate type filters for mutated variables. 2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
dcf8507fd6 Fix incorrect tests. 2010-05-13 12:35:14 -04:00
Eli Barzilay
e6761dc7b1 Fix checking of path existence: use the input path, not the normalized one. 2010-05-13 01:25:30 -04:00
Eli Barzilay
27f76f2da0 Adds scm-export-repo', which can be used instead of scm-checkout' to
get a clean directory.
2010-05-13 00:52:47 -04:00
Sam Tobin-Hochstadt
a7a56ce856 abstract even when out of bindings 2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
60aed123ce fix more tests 2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
264bf78559 Fix typo 2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
4ceda99700 Updates along useless paths are not errors. 2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
41f0152435 Allow dummy filtersets 2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
daf43d1702 more lost changes 2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
70d498beeb re-add bindings lost in merge 2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
dbe9a0f997 debugging 2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
499f36ee69 add simple test 2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
6f7e88cfef Descend into path elements. 2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
bc7bd9245e `debug' prints the value of the function being called 2010-05-12 17:04:18 -04:00
Ryan Culpepper
9f0d446ffd syntax/parse: added details to non-syntax attr error 2010-05-12 14:55:41 -06:00
Ryan Culpepper
6d1b2af74d syntax/parse: scheme->racket, docs for literal phases 2010-05-12 14:55:40 -06:00
Stevie Strickland
3816f9cf1a Adding .rktl as a Racket file extension. 2010-05-12 16:36:22 -04:00
Jay McCarthy
8f6c0d415c Renaming re: Eli 2010-05-12 14:33:06 -06:00
Jay McCarthy
b6abe53002 Setting GIT_DIR 2010-05-12 14:08:45 -06:00
Jay McCarthy
1d6c943114 Adding drdr:random? 2010-05-12 14:04:05 -06:00
Sam Tobin-Hochstadt
e0c82c8ac6 flatten and filters before using them 2010-05-12 15:10:37 -04:00
Jay McCarthy
4f17ec419e Changing normalize-response to be more user friendly 2010-05-12 11:26:00 -06:00
Sam Tobin-Hochstadt
e7c8ffb834 Fix contracts.
Handle improper formals lists.
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
e81cdba69f Don't use raw union constructor. 2010-05-12 11:52:43 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf switch to typed/ 2010-05-12 11:52:11 -04:00
Eli Barzilay
8f5b1f622c Hide stderr by combining it with the captured output => no stderr messages.
(Also, a slightly nicer string for the case of using the file timestamp.)
2010-05-12 11:15:14 -04:00
Sam Tobin-Hochstadt
ec942b6dab Merge remote branch 'origin/master' into samth/new-logic2 2010-05-12 10:59:29 -04:00
Casey Klein
cc67852317 Fixes URL typo 2010-05-12 08:48:27 -05:00
Casey Klein
7b15edee41 Racketifies Redex documentation 2010-05-12 07:58:08 -05:00
Eli Barzilay
aceeb391ad Use export-subst to tweak archive results of this file with date/sha1.
Also, make the code use these results, or if not from an archive, use
git, or if that fails, just the date of the file itself.
2010-05-12 05:43:16 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06 Changed the common benchmark wrapper to use the racket language and to
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
Matthew Flatt
c1abea82ec add local-require to racket/base 2010-05-11 12:31:28 -06:00
Sam Tobin-Hochstadt
c22735ea49 `block' doesn't have this limitation 2010-05-11 12:01:15 -04:00
Sam Tobin-Hochstadt
3965eab9c8 Add `racket/block' 2010-05-11 12:01:15 -04:00
Matthew Flatt
92a4106877 text% printer recognizes a line containing only a form-feed character and uses it as a page break; a form-feed character displays as ^L 2010-05-11 09:37:08 -06:00
Matthew Flatt
5b76acb4ae add racket/system to racket 2010-05-11 07:06:07 -06:00
Matthew Flatt
60119b800e document how to add a command to raco 2010-05-11 06:42:00 -06:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Eli Barzilay
0aab34154a Update handin-server docs. 2010-05-11 00:31:28 -04:00
Eli Barzilay
50753b6364 more fixes to automated tests 2010-05-10 23:36:14 -04:00
Matthew Flatt
5f2ef77c14 fix reference typo 2010-05-10 20:40:51 -06:00
Eli Barzilay
bf2b8478fd prop fixes (some removed, some renamed) 2010-05-10 22:31:05 -04:00
Eli Barzilay
8b3ff3e297 Use racket for automated tests. 2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
a81de56b30 add test for bug found by vincent 2010-05-10 17:55:29 -04:00
Sam Tobin-Hochstadt
2d1625336e fix handling when subtype doesn't have rest arg 2010-05-10 17:53:48 -04:00
Sam Tobin-Hochstadt
a6e314d367 add #:optimize keyword 2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
c031729e4b use aux function to avoid generating useless filters 2010-05-10 17:03:21 -04:00
Carl Eastlund
93835460cb Merge branch 'master' of git:plt 2010-05-10 16:39:24 -04:00
Carl Eastlund
ff5b8da551 Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself. 2010-05-10 16:39:07 -04:00
Sam Tobin-Hochstadt
fe10457f4e more test errors 2010-05-10 16:22:41 -04:00
Sam Tobin-Hochstadt
08d0df5256 fix test suite errors 2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
6baef71d57 don't add to identifiers 2010-05-10 16:09:47 -04:00
Sam Tobin-Hochstadt
52c1f41a20 more contract fixes 2010-05-10 15:50:24 -04:00
Sam Tobin-Hochstadt
1bbb857b18 use racket/base 2010-05-10 15:43:03 -04:00
Sam Tobin-Hochstadt
d75232baa0 fix contract error, use the same contract for drest everywhere 2010-05-10 15:42:45 -04:00
Sam Tobin-Hochstadt
8461045e8c avoid trying to reconstruct bogus arrow type, use dummy instead 2010-05-10 15:42:23 -04:00