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
Robby Findler
ccdea59949
added a failing test case; fixing this one isn't simple, but hopefully will also lead to good performance improvements (for some models at least)
2010-10-16 16:29:17 -05: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
e875f262d9
added a test case to be sure that the extension's clauses come before the original clauses in an extended metafunction
2010-10-16 16:29:15 -05:00
Robby Findler
c2d7f58e65
Rackety
2010-10-13 17:44:20 -05:00
Robby Findler
2652237559
fixed a bug in extended languages & the _ check
2010-10-13 17:44:19 -05:00
Robby Findler
c1285b12ed
added checks to make ellipses appearing at different depths be a syntax error
2010-10-01 18:09:02 -05:00
Steven Jaconette
7169c0e53e
Second patch for redex compiler
...
-Fixes some bugs in the model
-Cleans up some unused code
-Adds the test cases
2010-09-20 10:04:50 -05:00
Casey Klein
17ac1fae3a
Adds a parameter to enable the typesetting in commit ce211ac
2010-09-17 13:43:06 -05:00
Robby Findler
ce211ac364
adjusted metafunction application rendering so that ellipses do not
...
get commas put in front of them
2010-09-17 11:39:07 -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
85093fb536
Fixes a `plug' bug.
...
There are still problems with contexts, but this is an improvement.
2010-08-18 13:19:11 -05:00
Casey Klein
623925b5d7
Adds the delimited continuations model to examples
2010-08-18 13:19:11 -05:00
Casey Klein
ad308e32f1
Removes undocumented, unmaintained random testing form
2010-07-21 08:46:27 -05:00
Casey Klein
541a0c4ecb
Adds #:prepare keyword to random testing forms
2010-07-21 08:46:27 -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
Casey Klein
8eb25bb2b9
Adds a #:attempt-size keyword to the random testing forms
2010-07-20 07:53:16 -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
Casey Klein
c6ed9b9a12
Fixes a bug in `where' clause binding.
2010-06-22 05:42:17 -05: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
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
Eli Barzilay
86891b30a1
redex/examples/mzscheme-machine -> racket-machine
2010-05-15 18:41:08 -04:00
Matthew Flatt
43027a8d9b
switch printer to constructor+quote style
2010-05-06 10:33:42 -06:00
Casey Klein
026553c6f7
Fixes more failing Redex tests
2010-04-29 19:27:41 -05:00
Casey Klein
7d0a83b983
Updates tests for quasiquote printing and .rkt extension
2010-04-29 06:42:53 -05:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Casey Klein
52c6b4ef15
Adds a term-equivalence predicate to the test--> and test-->> forms.
...
svn: r18767
2010-04-09 00:08:39 +00:00
Casey Klein
0975798b31
Fixes PR 10842
...
svn: r18753
2010-04-07 19:57:52 +00:00
Casey Klein
ea2861b03a
Fixes PR 10843
...
svn: r18752
2010-04-07 15:33:36 +00:00
Casey Klein
3d9806a606
Forces sequences to have length zero when the depth is zero
...
svn: r18726
2010-04-03 00:54:55 +00:00
Casey Klein
a9096f2e07
Adds to examples directory and cleans up tests
...
svn: r18693
2010-03-31 16:02:24 +00:00
Robby Findler
860f81bcef
updated the unix bitmaps
...
svn: r18690
2010-03-31 12:36:44 +00:00
Casey Klein
6886f6540a
Fixes handling of where/hidden and side-condition/hidden clauses in reduction-relation.
...
svn: r18683
2010-03-31 01:03:25 +00:00
Casey Klein
d82fdbc317
Improved handling of syntax errors in `reduction-relation'
...
svn: r18431
2010-03-02 19:00:55 +00:00
Casey Klein
b3d9330672
Improved syntax error handling and cleaned up syntax error tests.
...
svn: r18070
2010-02-12 18:51:14 +00:00
Casey Klein
02f88787ff
Fixed pattern parsing so that the components of variable-except,
...
variable-prefix, and cross patterns are treated as identifiers, not
arbitrary patterns.
svn: r18064
2010-02-12 16:34:38 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Casey Klein
db0ec3eb07
Special typesetting for metafunction `where' clauses in which the
...
right-hand side is a call to `variable-not-in' or `variables-not-in'
svn: r17920
2010-02-01 13:46:32 +00:00
Casey Klein
d9e5d3aa98
Another generator optimization
...
svn: r17902
2010-01-30 22:36:44 +00:00
Casey Klein
425dbf5af5
The first component of a `name' pattern is not an identifier, not a
...
pattern.
svn: r17896
2010-01-30 17:41:39 +00:00
Casey Klein
0e6c28e4b1
Improved performance of the test case generator
...
svn: r17894
2010-01-30 16:38:19 +00:00
Casey Klein
2d2a95de1e
Made counterexample structure transparent
...
svn: r17882
2010-01-29 13:42:13 +00:00
Casey Klein
1b22ce82cd
A flag to make the random testing forms return results instead of
...
printing on stdout.
svn: r17858
2010-01-28 01:12:54 +00:00
Casey Klein
3b5d13f229
Fixed bug in generate-term's error handling.
...
svn: r17856
2010-01-27 20:03:57 +00:00
Robby Findler
d6c94df670
changed the fonts used under linux for the bitmap test cases
...
svn: r17855
2010-01-27 19:23:37 +00:00
Casey Klein
8454db8115
Rename #:attempts to #:attempt-num in `generate-term'.
...
Added a second form of `generate-term' that produces a procedure.
Improved the docs for `generate-term'.
svn: r17853
2010-01-27 17:45:01 +00:00
Casey Klein
4271b7970c
Dropped the "preferred productions" heuristic and the failed prototype
...
supporting accumulator-style generators.
svn: r17851
2010-01-27 15:52:15 +00:00
Robby Findler
cba82db678
added in unix versions of the bitmap tests
...
svn: r17842
2010-01-26 20:28:57 +00:00
Casey Klein
9c6fdd86c8
Moved tests into a separate directory. Changed run-tests.ss to suppress the diffs window when bitmap-test.ss fails, to avoid tripping up DrDr.
...
svn: r17836
2010-01-26 17:29:39 +00:00