Commit Graph

127 Commits

Author SHA1 Message Date
Blake Johnson
3ddda200e8 changed eprintfs to log-debug 2010-10-29 19:50:11 -06:00
Blake Johnson
4676662e4b moved demodularizer from github to collects and added it to raco 2010-10-29 19:50:10 -06:00
Ryan Culpepper
76f55ad753 docs for unstable/prop-contract 2010-09-13 14:39:05 -06:00
Ryan Culpepper
927fae2937 comments on unstable/set 2010-09-13 13:21:02 -06:00
Ryan Culpepper
af4a545dc3 added unstable/prop-contract (needs docs) 2010-09-13 13:21:02 -06:00
Ryan Culpepper
a3d1ff4e6c added contracts (->i) to racket/dict 2010-09-13 13:21:02 -06:00
Carl Eastlund
33e6a96589 Added myself as author to documentation of unstable/gui/slideshow. 2010-09-10 16:13:31 -04:00
Carl Eastlund
e8e58b5a09 Fixed bug in my unstable slideshow library. 2010-09-10 15:22:04 -04:00
Robby Findler
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
Ryan Culpepper
47f8e55b14 fixed typo (forgot to remove old provide) 2010-09-06 22:58:41 -06:00
Ryan Culpepper
ef778baeb0 comments on unstable libraries 2010-09-06 22:15:30 -06:00
Ryan Culpepper
0bdb302409 fixed example for unstable/wrapc 2010-09-06 22:15:30 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Ryan Culpepper
d7a87c79e0 Merged changes to syntax/parse
Changed backtracking algorithm, runtime representations
    - syntax classes, ~describe no longer implicitly commit
    - ~describe no longer delimits effect of cut
  Added keyword & optional args for stxclasses
  Added ~do and #:do, ~post, ~commit and #:commit,
    ~delimit-cut and #:no-delimit-cut
  Added syntax/parse/debug, syntax/parse/experimental/*
    - expr/c for contracting macro sub-expressions
      moved from syntax/parse to syntax/parse/experimental/contract
    - syntax class reflection (~reflect, ~splicing-reflect)
    - eh-alternative-sets (~eh-var)
    - provide-syntax-class/contract
      (only for params, not attrs so far)
  Changed ~fail to not include POST progress (#:fail still does)
    old (~fail _) is now (~post (~fail _))
  Made msg argument of ~fail optional
  Removed generic "repetition constraint violated" msg
  Removed atom-in-list stxclass
  Removed unnecessary datum->syntax on cdr of pair pattern
    massive improvements to long-list microbenchmarks
  Optimization: integrable syntax classes (id, expr, keyword)
    need better measurements
  Optimization: ad hoc elimination of head/tail choice point
    for (EH ... . ()) patterns
  Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Eli Barzilay
9227bfaf4c Comments on unsatbel code. 2010-08-27 13:21:01 -04:00
Sam Tobin-Hochstadt
0635fc6d75 Create data/ collection.
- Initially populated with queues, skip-lists, and interval-maps from unstable/
 - Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Vincent St-Amour
550e07f78f Added labeled lines and arrows to unstable from Scott Owens. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
17e6f8a997 Added shapes with borders. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
3d071b479e Added a missing require. 2010-08-13 18:48:32 -04:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8 Removing dict functions from unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7 Adding hash-domain and hash-range to racket/base 2010-08-11 16:37:46 -06:00
Jay McCarthy
53ff7a1092 Continuing 11072 2010-08-02 10:05:17 -06:00
Vincent St-Amour
a46faaea40 Added format-unique-id to unstable/syntax. 2010-07-07 19:42:55 -04:00
Sam Tobin-Hochstadt
692a172474 Improve interface for `find-mutated-vars', now supports mutable *and* immutable versions. 2010-07-06 14:09:46 -04:00
Ryan Culpepper
a543c2137e unstable: removed byte-counting-port.rkt (use open-output-nowhere instead)
updated test to verify that open-output-nowhere has same behavior
2010-07-01 17:05:06 -06:00
Ryan Culpepper
7473cf624e unstable: added comments 2010-07-01 17:05:06 -06:00
Ryan Culpepper
8c42006ad7 unstable/syntax: renamed syntax-local-values/{catch -> record}, changed uses
also added comments to some unstable/syntax functions
2010-07-01 17:05:05 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
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
Vincent St-Amour
ef1da61fd0 Added S-Expression diff to unstable. 2010-06-22 18:42:28 -04:00
Sam Tobin-Hochstadt
2285e1a340 Make `debug' catch *all* exceptions 2010-06-21 18:30:27 -04:00
Sam Tobin-Hochstadt
0379e534e3 New interface for unstable/mutated-vars
- functional hash tables
 - fix clients
2010-06-10 13:28:29 -04:00
Sam Tobin-Hochstadt
679967b491 PLT Scheme -> Racket 2010-06-08 13:08:13 -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