Commit Graph

101 Commits

Author SHA1 Message Date
Eli Barzilay
4c2940a6d9 Simplify away uses of "-t" in `drdr:command-line'.
In some cases use `module+' to make the code run nicely without a "-m".

(And some other minor tweaks.)
2012-06-19 12:52:22 -04:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Eli Barzilay
f7c67b49a4 Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
Robby Findler
55b3d99d78 adjust beaucoup places in redex where the source was being
included in the compiled files. (also, misc minor cleanups
notably a new exercise in tut.scrbl)

closes PR 12547 --- there are still a few uses left, but they do not
seem to be coming from Redex proper:

 - /Users/robby/git/plt/collects/racket/private/map.rkt still appears
   in a bunch of places (there is a separate PR for that I believe),
   and

 - /Users/robby/git/plt/collects/redex/../private/reduction-semantics.rkt
   appears in tl-test.rkt, but I do not see how it
   is coming in via Redex code, so hopefully one of the other
   PRs that Eli submitted is the real cause. If not, I'll revisit later
2012-02-08 09:59:44 -06:00
Robby Findler
811a9227c3 Rackety 2012-02-07 15:50:52 -06:00
Robby Findler
0c6e0a11cf removed ambiguity from the cont-mark-transform's "a" non-terminal
Redex no longer has extra checks to eliminate redundant matches
(as those checks are prohibitively expensive for the lambdajs model)
so redundancy in the grammar can, when combined with context
decomposition or named patterns, lead to significant slowdowns
2012-01-09 12:57:22 -06:00
Robby Findler
fbed2d5af7 remove (broken) attempt at optimization Jay suggested
also clean up some test cases that I wasn't sure about earlier
2012-01-08 12:13:37 -06:00
Robby Findler
5dcbedc768 redex: adjust the caching strategy
Instead of using a hash-table, use the equal-hash-code directly;
this lets me evict entries only when they clobber each other,
and generally keep good cache utilization.

Also, cut the cache size by a factor of 5 while still having a
slight performance improvement on the r6rs test suite benchmark.
On that same benchmark, there are 1714812 misses in the cache, but
only 3485 times is an entry in the cache clobbered
2012-01-02 10:08:31 -06:00
Robby Findler
424a535cf4 first attempt at Jay's optimization for redex
(only did enough to get the r6rs tests running)
2012-01-02 10:08:28 -06:00
Robby Findler
f8cbe1ad23 add the List Machine benchmark by Appel, Dockins, and Leroy 2011-12-10 01:34:58 -06:00
Robby Findler
a43973157b add call to 'test-results' 2011-10-12 20:46:20 -05:00
Casey Klein
83451fea98 Add evaluation contexts for by-need letrec calculus as an example 2011-09-19 12:20:45 -05:00
Eli Barzilay
1db5ad97f8 Fix another bunch of "language" typos. 2011-08-26 05:26:46 -04:00
Casey Klein
a0f2db7574 Drops `traces' call to make the file DrDr-friendly 2011-08-15 12:46:14 -05:00
Casey Klein
cd1281fa65 Changes example from arithmetic to pairs 2011-08-12 04:33:38 -05:00
Casey Klein
d66c48ecf7 Updates STLC example to use define-judgment-form 2011-08-10 12:24:01 -05:00
Casey Klein
f803f187bd Adds bigger define-judgment-form examples 2011-08-10 12:24:01 -05:00
Casey Klein
31ec46170d Adds STLC example to README 2011-08-10 12:24:01 -05:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Casey Klein
3187cac716 Updates to lam's new toplevel-map field 2011-05-03 17:59:52 -05:00
Matthew Flatt
6f1aa7bc00 adjust Redex example after bytecode-structure change 2011-05-03 08:53:49 -06:00
Robby Findler
499852087d stlc bug fix 2011-04-28 14:51:29 -05:00
Casey Klein
24d697e83c Fixes bug in STLC example 2011-04-22 04:43:11 -05:00
Robby Findler
77c25430af added an example with a type checker 2011-04-02 13:36:29 -05:00
Casey Klein
0839f763ec Fixes a bug in the deref rule 2011-03-29 16:05:54 -05:00
Casey Klein
8f006f1a1f Fixes bugs in error transitions 2011-03-29 15:57:50 -05:00
Casey Klein
fe0525b7bb Reduces the memory used by the randomized tests 2011-02-04 09:15:38 -06:00
Casey Klein
3250ff846c Adds a Redex version of Jay's continuation mark transformation 2011-01-29 15:26:30 -06:00
Robby Findler
d4aeb3fa4c Rackety 2011-01-17 17:19:37 -06:00
Casey Klein
f742479d8d Fixes another bug in the test generator. 2011-01-14 13:41:09 -06:00
Casey Klein
11900c6c4f Changes logging to use write instead of display 2011-01-14 13:41:09 -06:00
Casey Klein
394fab0d86 Adds an option for repeating the command(s) 2011-01-14 13:41:09 -06:00
Casey Klein
ea5a6fc91c Fixes exception handling in randomized tests 2011-01-14 13:41:09 -06:00
Casey Klein
c5599e8b6f Adds an option for logging the generated tests 2011-01-14 13:41:08 -06:00
Casey Klein
4ca857fad7 Configures DrDr to run larger random tests 2011-01-03 09:37:32 -06:00
Casey Klein
69227df4bf Restricts the test generator's use of `dw' thunks 2011-01-03 09:37:32 -06:00
Casey Klein
f480d75810 Enables the randomized delimited control tests in DrDr 2010-12-31 15:34:32 -06:00
Casey Klein
03c48b67a7 Restricts the test generator's use of % within cont 2010-12-31 15:34:31 -06:00
Casey Klein
8b50aeb346 Fixes a bug in the elimination of continuation values 2010-12-31 15:34:31 -06:00
Casey Klein
a6e40bfb03 Further restricts the test generator's use of `wcm' 2010-12-31 15:34:31 -06:00
Casey Klein
579cb022bd Changes the randomized tests to watch for the first exception.
The particular exception raised is important. We don't want a later
one raised by a dynamic-wind post-thunk.
2010-12-31 15:34:31 -06:00
Casey Klein
6fd3eea815 Disables randomized tests (of the randomized tests).
The runtime is too long and variable to work well in DrDr.
2010-12-02 15:54:47 -06:00
Casey Klein
1ccd6e7a2c Randomized tests for the delimited control model.
Tests in randomized-tests.rkt are deliberately not run by DrDr at the
moment because they fail too consistently.
2010-11-26 13:24:21 -06:00
Casey Klein
b616ac3cd4 Fixes substitution bugs 2010-11-26 13:02:14 -06:00
Casey Klein
abf2574189 Fixes a bug introduces while updating to newer version of Redex 2010-11-26 13:02:14 -06:00
Casey Klein
6bfbdfd582 Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
8e69aa6ac2 Fixes minor bugs in two core reduction rules 2010-11-26 13:02:14 -06:00
Casey Klein
48a5c19a4e Fixes another bug in continuation mark collection 2010-11-26 13:02:14 -06:00
Casey Klein
d0e03bf53a Updates context matching with missing % contexts 2010-11-26 13:02:14 -06:00