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
253641a03e
Fixes minor bug affecting check-reduction-relation
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
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
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
Casey Klein
7b15edee41
Racketifies Redex documentation
2010-05-12 07:58:08 -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
6886f6540a
Fixes handling of where/hidden and side-condition/hidden clauses in reduction-relation.
...
svn: r18683
2010-03-31 01:03:25 +00:00
Matthew Flatt
5f8e4b46fe
redex: combine picts with htl-append instead of hbl-append for metafunction rendering
...
svn: r18487
2010-03-08 21:31:02 +00:00
Matthew Flatt
62a53f3de7
add 'where/hidden' and 'side-condition/hidden' to redex; adjust typesetting to keep metafunction side conditions in original order
...
svn: r18471
2010-03-04 23:20:52 +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
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
Carl Eastlund
2e0cb8226e
Replaced every "langauge" (note swapped vowels) with "language".
...
svn: r17918
2010-02-01 01:41:51 +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
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
Casey Klein
3068ae4bd5
This file should have been moved to tests instead of copied.
...
svn: r17839
2010-01-26 19:53:10 +00:00
Robby Findler
812a049b5b
svn: r17838
2010-01-26 19:47:44 +00:00
Casey Klein
8fe66b9935
Somehow managed to copy the tests instead of moving them!
...
svn: r17837
2010-01-26 17:33:38 +00:00
Robby Findler
f54ccdc9d5
probable fix to error seen in drdr
...
svn: r17827
2010-01-25 21:51:52 +00:00
Casey Klein
bbc654c69e
Typesetting now recognizes carets (^) in the underscore component of a
...
non-terminal reference, applying the non-terminal-superscript-style to
the text following the caret.
svn: r17801
2010-01-24 11:36:29 +00:00
Casey Klein
a47d38e15d
Improved docs and error messages for define-metafunction/extension
...
svn: r17635
2010-01-13 18:21:27 +00:00
Robby Findler
0eb5178ca8
svn: r17543
2010-01-07 20:06:18 +00:00
Robby Findler
52eee4547b
fixed PR 10684 and fixed up some old, broken tests and fiddled with the test suite infrastructure
...
svn: r17536
2010-01-07 18:10:28 +00:00
Casey Klein
16fd573e7b
Fixed violation of the invariant introduced in r16504.
...
svn: r17371
2009-12-20 19:36:38 +00:00
Casey Klein
eb4403f1c7
PR 10650
...
svn: r17331
2009-12-16 20:46:58 +00:00
Casey Klein
4f140eed03
Metafunctions now respect caching-enabled? and set-cache-size!.
...
svn: r17271
2009-12-11 20:54:32 +00:00
Casey Klein
8c5089c37f
PR 10027
...
svn: r17179
2009-12-03 21:45:57 +00:00
Casey Klein
bf64d93c64
Fixed a case where `term' raised an exception without a source location.
...
svn: r17172
2009-12-03 03:51:41 +00:00
Eli Barzilay
44d88cee6b
newlines at EOFs
...
svn: r16630
2009-11-09 03:49:50 +00:00
Ryan Culpepper
7483b7ed20
unstable:
...
added struct and syntax libraries
svn: r16621
2009-11-08 19:20:53 +00:00
Casey Klein
2011272c06
Fixed source locations for term' and
term-let' errors.
...
svn: r16592
2009-11-07 02:07:16 +00:00
Casey Klein
a021b75a67
Fixed PR 8765
...
svn: r16564
2009-11-05 19:33:19 +00:00
Robby Findler
da743d4a49
changed test printout so that the summary is to stdout, not stderr
...
svn: r16524
2009-11-03 18:27:00 +00:00
Casey Klein
4be6482bf9
Fixed bug with repeated binders inside ellipses.
...
svn: r16504
2009-11-02 21:33:42 +00:00
Robby Findler
727e540b6e
added support for rendering terms
...
svn: r16441
2009-10-27 21:24:31 +00:00
Jay McCarthy
d557687494
DrDr related changes
...
svn: r16403
2009-10-21 20:32:19 +00:00
Robby Findler
e78faf0669
fixed a bug that prevented uses of redex-match in the right-hand sides of reduction-relation definitions
...
svn: r16344
2009-10-16 21:33:57 +00:00
Robby Findler
9545330d53
fixed the #:scheme-colors? argument to traces
...
svn: r16328
2009-10-15 19:24:46 +00:00
Casey Klein
0520a50f3e
Fix to allow metafunction definition at the top-level.
...
svn: r16218
2009-10-02 16:54:44 +00:00
Casey Klein
f58882b4d1
Added support for collecting test coverage of metafunctions
...
svn: r16193
2009-09-30 21:32:20 +00:00
Casey Klein
50ce45e621
Updated expected results to reflect new trace's new output style.
...
svn: r16188
2009-09-30 16:35:11 +00:00
Casey Klein
38ed68b397
Fixed bug in extending extended metafunctions.
...
svn: r16187
2009-09-30 16:29:34 +00:00
Eli Barzilay
6cea680b62
* Reorganize macro code.
...
* Change `trace-apply' to accept keyword arguments by being a keyworded
function itself
* Renamed `trace-apply' to `trace-call' -- since it's not following the
calling convention of `apply'.
svn: r16161
2009-09-29 07:33:07 +00:00
Casey Klein
29a3ed2a20
Improved error reporting for side-conditions Redex can't satisfy
...
svn: r16128
2009-09-25 15:16:29 +00:00
Ryan Culpepper
9ca3192a60
redex, macro-debugger: stxclass -> syntax/parse, syntax/private/util
...
svn: r15986
2009-09-11 23:16:22 +00:00
Robby Findler
72d6f85c47
PR 10416
...
svn: r15886
2009-09-05 10:29:00 +00:00
Casey Klein
1d4da3df4c
Term generator now less aggressive about producing weird variables and
...
strings.
svn: r15860
2009-09-02 19:51:30 +00:00
Jay McCarthy
829c8416b6
Fix a bug suggested by Robby and add a test case
...
svn: r15718
2009-08-12 20:43:10 +00:00
Jay McCarthy
1dba4edcb9
A fix for my example hide hole based models
...
svn: r15715
2009-08-12 20:08:36 +00:00
Robby Findler
5adb4eb004
changed the meaning of one of the pretty-print parameters slightly and used that to fix redex's stepper
...
svn: r15419
2009-07-09 15:55:11 +00:00
Matthew Flatt
2c973452d4
refine compact-vertical rule rendering to allow overlap between the labels and side conditions, and also use label-space
...
svn: r15397
2009-07-06 17:19:25 +00:00
Matthew Flatt
ebb45abee5
fix rendering of atomic transformers that produce strings, notably for hole
...
svn: r15394
2009-07-06 15:11:29 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Matthew Flatt
482816bf34
restore use of atomic rewriters for literals
...
svn: r15363
2009-07-02 14:49:59 +00:00
Matthew Flatt
e0e8c86688
fix up-down/compact-side-conditions
...
svn: r15360
2009-07-02 02:23:29 +00:00
Robby Findler
890882a6fd
added x-spacing and y-spacing parameters to traces and traces/ps
...
svn: r15356
2009-07-01 18:24:47 +00:00
Robby Findler
62bc659ec8
fixed bug in rendering of reduction relations; they now preserve the relative ordering of side-conditions and where clauses
...
svn: r15354
2009-07-01 16:29:57 +00:00
Robby Findler
158b6de824
fixed bug the ordering of metafunction side-conditions during rendering
...
svn: r15353
2009-07-01 16:10:23 +00:00
Robby Findler
ba5aea8cdd
added 'left-right/beside-side-conditions
...
svn: r15350
2009-07-01 04:45:02 +00:00
Matthew Flatt
5ae06f1d2c
try to fix metafunction typesetting to make it independent of the order of metafunction definitions
...
svn: r15338
2009-06-30 15:41:58 +00:00
Robby Findler
fa0f182e80
fixed the way atomic rewriters work so that non-terminals with underscores render properly
...
svn: r15332
2009-06-30 04:18:34 +00:00
Robby Findler
ee365bb698
svn: r15323
2009-06-28 16:34:55 +00:00
Matthew Flatt
52acc7cbfb
Redex rendering adjustments, including new metafunction styles
...
svn: r15322
2009-06-28 16:15:23 +00:00
Robby Findler
ea6c99c69f
accidentally committed some changes on the branch, now moving back to trunk (w/ some conflicts, argh!): fixed a bug in the way redex expanded metafunctions (it had old code left in there) and improved error messages for domain failures in reduction relations
...
svn: r15317
2009-06-27 13:47:02 +00:00
Robby Findler
a895b5ef10
PR 10062
...
svn: r15310
2009-06-26 20:34:28 +00:00
Robby Findler
d007777e2a
fixed a bug in the way quote was handled
...
svn: r15308
2009-06-26 19:22:03 +00:00
Robby Findler
e81b1822a6
added metafunction-cases and fixed a layout bug
...
svn: r15299
2009-06-26 16:30:41 +00:00
Robby Findler
7804143400
merge from branch branches/robby/redex-pat2; improved where patterns and a few bug fixes
...
svn: r15294
2009-06-26 01:19:45 +00:00
Robby Findler
f9ba83cc1c
brought back syntax locations (for better error messages) in redex main forms and improved define-relation
...
svn: r15214
2009-06-19 14:58:40 +00:00
Robby Findler
ddc5d91e24
added a first attempt at define-relation
...
svn: r15171
2009-06-14 17:22:17 +00:00
Robby Findler
48f9e89978
prunes out the identifier bindings and source locations from the output of the top-level macros
...
svn: r15144
2009-06-11 14:04:48 +00:00
Robby Findler
1450b89b75
improved handling of source locations
...
svn: r15132
2009-06-10 19:30:36 +00:00
Robby Findler
90a0a6e524
PR 10275
...
svn: r15108
2009-06-07 01:18:56 +00:00
Robby Findler
74cb273fb7
PR 10278
...
svn: r15097
2009-06-05 19:51:06 +00:00
Robby Findler
cf5b14f626
svn: r14960
2009-05-23 15:10:55 +00:00
Robby Findler
b087ce2765
fixed a bug in metafunctions
...
svn: r14932
2009-05-22 19:19:40 +00:00
Robby Findler
0500571383
PR 10244
...
svn: r14874
2009-05-19 20:58:46 +00:00
Robby Findler
0c0aa26e6f
PR 10231
...
svn: r14769
2009-05-10 21:59:13 +00:00
Casey Klein
039d24fc17
`where' clauses now properly bind in metafunctions
...
svn: r14712
2009-05-04 13:59:42 +00:00
Robby Findler
7315ff502b
fixed label ordering for reductions when extracted via reduction-relation->rule names
...
svn: r14690
2009-05-02 16:18:12 +00:00