Commit Graph

101 Commits

Author SHA1 Message Date
Robby Findler
8fbefb0b6d added typesetting support for relations 2011-04-28 22:20:14 -05:00
Casey Klein
1d1cdd03f5 Adds a form like term-let but using Redex patterns 2011-04-26 12:13:17 -05:00
Casey Klein
b3f45d3c84 Refactors to eliminate copied code 2011-04-26 12:13:17 -05:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Casey Klein
50f14dea18 Adds start term to test-->>E failure message
Closes PR 11867
2011-04-22 09:49:41 -05:00
Casey Klein
1c8c6ddbee Adds generate-term option for LHS-based generation 2011-04-22 04:43:11 -05:00
Casey Klein
362a6d75a5 Changes redex-match to suppress ..._x bindings 2011-04-22 04:43:11 -05:00
Casey Klein
0b9db752ca Fixes test-->>E failure message
Fixes PR 11853
2011-04-15 04:52:13 -05:00
Casey Klein
46b3a9d13d Fixes generation of any' within in-hole' context position 2011-04-14 18:32:06 -05:00
Casey Klein
ff7aba9750 Moves `term-let' test to proper file 2011-04-14 18:32:05 -05:00
Casey Klein
989103c3a1 Improves term-let's "too few ellipses" error
Fixes PR 10837
2011-04-07 13:17:15 -05:00
Casey Klein
143e1e66fd Improves error for references to not-yet-defined metafunctions
Fixes PR 11041
2011-04-07 13:17:15 -05:00
Casey Klein
6fc20125b0 Adds the STLC example to the test script 2011-04-06 11:11:43 -05:00
Casey Klein
1ad2b1b938 Makes cross' work better with hide-hole'
Fixes PR 11579
2011-04-06 10:17:15 -05:00
Casey Klein
e8130a2fd1 Fixes bug in `cross' pattern handling 2011-04-06 10:17:15 -05:00
Casey Klein
a4644d4d49 Disallows unquote in Redex patterns
Fixes PR 11296
2011-04-01 14:00:45 -05:00
Casey Klein
8a283650c4 Updates typesetting tests
Spacing is now different by a few pixels. The change does not seem to
be Redex specific
2011-03-30 13:59:39 -05:00
Casey Klein
6cdfa2ff73 Updates typesetting tests for new arrow drawing 2011-03-30 10:20:53 -05:00
Casey Klein
d97a2b505c Fixes matching of ..._x and ..._!_x inside ellipses 2011-03-30 10:15:17 -05:00
Casey Klein
b958e21f46 Fixes another bug in the stepper's diff highlighting 2011-03-29 13:05:03 -05:00
Casey Klein
df3bc8980b Fixes a bug in the stepper's diff highlighting 2011-03-29 13:05:02 -05:00
Robby Findler
f69ff3b6b7 added support for 'or', \vee, and \cup as builtins to the define-metafunction codomain contracts 2011-03-26 10:04:39 -05:00
Casey Klein
3214861420 Fixes rendering of (hole t ...+)
There was some old named holes code still in use.
2011-03-24 14:35:02 -05:00
Casey Klein
87934752b5 Adds a parameter that provides a default for redex-check's #:attempt argument 2011-03-22 21:20:29 -05:00
Casey Klein
f7fd6ee689 Changes the term generator to produce shorter sequences
It now uses the (local) size bound instead of the (global) attempt count.
2011-01-31 12:36:42 -06:00
Casey Klein
3250ff846c Adds a Redex version of Jay's continuation mark transformation 2011-01-29 15:26:30 -06:00
Casey Klein
b45bb829b6 Fixes a bug in metafunction traces
When the result is in the cache but the cache is not consulted because
`caching-enabled?' is false, the call should not be shown as cached.
2011-01-14 13:41:09 -06:00
Casey Klein
61607c4da1 Adds a check to the define/extend language parser 2011-01-14 13:41:09 -06:00
Casey Klein
3c2e2fc362 Fixes `extend-reduction-relation' bug.
The #:domain argument did not apply to inherited rules.
2011-01-14 13:41:09 -06:00
Casey Klein
56a548c517 Suppresses overridden rules in the names reported for a reduction relation 2011-01-14 13:41:09 -06:00
Casey Klein
de8b1bc101 Fixes a bug in the generation of `side-condition' patterns
The bindings supplied to `side-condition' predicates by the matcher
sometimes contain the-not-hole; the ones supplied by the generator
must be the same.
2010-12-31 15:34:31 -06:00
Robby Findler
eb29b17112 adds a #:pred argument to test-->> (in rough analogy to the #:pred argument on traces) 2010-12-20 22:09:10 -06:00
Casey Klein
335e679ec7 Makes the Redex tests less dependent on the wording of blame messages 2010-12-10 13:58:11 -06:00
Casey Klein
7243029786 Fixes a bug in the Redex term generator 2010-12-10 13:58:11 -06:00
Casey Klein
9ea976625d Steven's progress on the compiler 2010-12-06 14:44:38 -06:00
Casey Klein
45ba14cafa Updates OS X bitmaps for minor changes in gr2 rendering 2010-12-02 15:54:46 -06:00
Casey Klein
de775e6dc1 Fixes bug in typesetting tests 2010-11-28 06:43:10 -06:00
Casey Klein
8ff358b559 Abstracts randomized testing forms over the underlying PRG 2010-11-26 13:02:14 -06:00
Casey Klein
d927bc117e Fixes the bug with named contexts in a better way 2010-11-26 13:02:14 -06:00
Casey Klein
1147318426 Fixes bug with `in-hole' generation 2010-11-26 13:02:14 -06:00
Casey Klein
ae164d281b Adds optional `::=' keyword to language definition forms 2010-11-09 10:14:50 -06:00
Robby Findler
38b9b25ae0 redex: added indication of caching for metafunction tracing 2010-11-07 15:31:18 -06:00
Casey Klein
743ccafd15 Improves the error reporting and documentation for `define-relation' 2010-11-05 08:59:46 -05:00
Casey Klein
df810e8e10 Closes PR 11383 2010-11-04 17:31:35 -05:00
Robby Findler
8bf096b1e3 added contracts to define-relation.
(also removed old, wrong tl-pat stuff from the docs)
2010-11-04 17:29:14 -05:00
Casey Klein
4542d071d5 Adds the `test-->>∃' form. 2010-10-28 20:22:35 -05:00
Casey Klein
f4c4b79049 Renames delim-cont tests so that they're not stripped by the distribution script.
(Merge to release branch.)
2010-10-25 15:18:16 -05:00
Casey Klein
4577de0790 Fixes PR 11336. 2010-10-20 15:56:57 -07:00
Casey Klein
42687d26d1 Reverts most of push #21257.
That push recompiles a clause of an extended metafunction by
replacing the LHS with a recompiled form of the `lhs-pat' field of the
`metafunc-case' struct. But that field (used by the test generator)
also incorporates the clause's `where' and `side-condition' clauses,
causing them to executed twice when applying the recompiled clause (once
while matching its LHS, and once while evaluating its RHS).
2010-10-20 15:56:57 -07:00
Robby Findler
93260c7dd0 fixed mangled test case 2010-10-16 22:24:16 -05:00