Casey Klein
24dc005ff4
Removes special case for typesetting recursive calls
...
This case doesn't appear necessary, since LWs are constructed in an
expansion step that occurs after all of the meta-function names
(including the current one) are bound.
2011-08-05 07:19:21 -05:00
Casey Klein
3dc677d270
Factors out parsing of relation contracts
2011-08-05 07:19:21 -05:00
Casey Klein
c9c2bb8ad7
Refactors construction of meta-function and relation lws
2011-08-05 07:19:20 -05:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Robby Findler
d74810a08b
fix broken earlier commit
2011-05-25 14:57:04 -05:00
Robby Findler
33e68022db
make the two-argument version of redex-match use the right name for the procedure it returns
2011-05-25 12:45:06 -05:00
Robby Findler
c163e75023
make the generated name used for languages (introduced by define-language
...
and define-extended-language) be based on the name of the language so the
error message is better (but not as good as it should be)
2011-05-11 18:38:10 -05:00
Casey Klein
cafcb47549
Refactored reduction-relation-procs
2011-05-08 06:19:45 -05:00
Robby Findler
33c848fcda
added current-cache-all?, a parameter that controls the caching strategy
...
that apply-reduction-relation* (and thus test-->>) uses
also make apply-reduction-relation* call remove-duplicates
on the result of apply-reduction-relation
2011-05-07 20:06:38 -05:00
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
Casey Klein
50f14dea18
Adds start term to test-->>E failure message
...
Closes PR 11867
2011-04-22 09:49:41 -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
a4644d4d49
Disallows unquote in Redex patterns
...
Fixes PR 11296
2011-04-01 14:00:45 -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
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
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
8affb5b13f
Fixes CS renaming of pattern occurrences of metafunction names
2010-12-03 15:47:54 -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
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
f9b64fa2b8
Removes `apply-reduction-relation*' trie experiment
2010-10-31 17:28:19 -05:00
Casey Klein
4542d071d5
Adds the `test-->>∃' form.
2010-10-28 20:22:35 -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
99d85159b6
adjusted define-metafunction/extension so that it recompiles the old cases in the new language
2010-10-16 16:29:15 -05:00
Robby Findler
2652237559
fixed a bug in extended languages & the _ check
2010-10-13 17:44:19 -05:00
Casey Klein
fbd2c3c86f
Adds the feature requested in PR 10388
2010-08-18 13:19:12 -05:00
Casey Klein
7daf515f65
Fixes a bug in `define-extended-language'
2010-08-18 13:19:12 -05:00
Casey Klein
310f9ce05a
Makes it a syntax error for a `where' clause to reuse a pattern variable at a different depth
2010-07-20 07:53:16 -05:00
Casey Klein
72b98b77fb
Fixes a bug with `where' clauses
2010-07-20 07:53:16 -05:00
Jay McCarthy
ec487fac4c
Slightly improving error message on test--> failure
2010-07-16 16:08:31 -06:00
Casey Klein
c083335ca5
Changes the matching of `where' clauses to the one most people expect.
2010-06-22 13:20:53 -05:00
Casey Klein
c6ed9b9a12
Fixes a bug in `where' clause binding.
2010-06-22 05:42:17 -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
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00