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
Robby Findler
ea1ace6022
added horizontal-left-align style
...
svn: r14687
2009-05-02 12:32:04 +00:00
Robby Findler
55a98bf037
fixed a bug with holes used in certain places in patterns
...
svn: r14684
2009-05-02 00:57:18 +00:00
Robby Findler
a3768d00eb
none of the various render-* worked under linux, due to a platform-specific default in the way ps-setup works.
...
svn: r14678
2009-05-01 20:38:26 +00:00
Robby Findler
7d881a32bf
svn: r14588
2009-04-23 14:57:51 +00:00
Casey Klein
2c8c8638ac
Barebones interface for overriding default generators.
...
svn: r14519
2009-04-15 14:09:35 +00:00
Casey Klein
e9cf5787c1
Fixed bugs related to `cross' patterns.
...
svn: r14414
2009-04-03 10:47:42 +00:00
Eli Barzilay
23a26f320c
disable set-flip-labels?
...
svn: r14387
2009-03-31 14:55:12 +00:00
Casey Klein
72c3ed943e
Removed support for the #:binds annotation.
...
svn: r14319
2009-03-27 17:38:16 +00:00
Casey Klein
c39e5dfa38
Changed the output of Redex's check forms.
...
svn: r14307
2009-03-27 00:26:11 +00:00
Eli Barzilay
2e66794799
removed unused binding
...
svn: r14209
2009-03-22 02:50:25 +00:00
Casey Klein
289b200057
Fixed bug in parse-language.
...
svn: r14155
2009-03-17 18:21:11 +00:00
Robby Findler
fe618071dc
added a test--> that only does a single step of the reduction relation
...
svn: r14014
2009-03-08 21:07:01 +00:00
Robby Findler
338a171a6a
renamed test--> to test-->>
...
svn: r14012
2009-03-08 20:29:31 +00:00
Robby Findler
d07a335324
svn: r14003
2009-03-07 13:53:54 +00:00
Robby Findler
37cde560a9
fixed bug in the cycle detection code in test-->
...
svn: r14002
2009-03-07 13:38:41 +00:00
Robby Findler
c063b4305c
PR 10115
...
svn: r13969
2009-03-05 13:29:25 +00:00
Robby Findler
b165d83c73
changed test--> so that it requires a keyword if there are cycles
...
svn: r13964
2009-03-05 02:36:34 +00:00
Casey Klein
c4524ef9ae
Generator support for natural',
integer', and `real' patterns.
...
svn: r13961
2009-03-04 21:13:57 +00:00
Casey Klein
b948caaa92
Added natural',
integer', and `real' patterns to Redex.
...
svn: r13957
2009-03-04 20:12:36 +00:00
Robby Findler
e8a47051f7
improved redex's expansion to work better with check syntax (and noted a few other recent changes in the HISTORY.txt file)
...
svn: r13944
2009-03-04 12:59:26 +00:00
Robby Findler
9297ffa2a3
added specification for the main arrow to redex
...
svn: r13924
2009-03-03 20:50:15 +00:00
Robby Findler
8704fe05b2
added optionaldomain specifications to reduction-relations
...
svn: r13913
2009-03-03 16:27:09 +00:00
Robby Findler
995b336f08
errors raised while reducing are now more gracefully handled
...
svn: r13911
2009-03-03 15:31:54 +00:00
Robby Findler
4c02e3736d
svn: r13814
2009-02-24 16:17:35 +00:00
Robby Findler
414e3b796e
svn: r13813
2009-02-24 16:17:11 +00:00
Robby Findler
b6e60bdd6e
fixed a bug in the way recursive metafunctions bound the recursive calls for use in 'where' clauses
...
svn: r13809
2009-02-24 01:36:48 +00:00
Stevie Strickland
d23bdbbfaf
Fix the RHSes of term-lets not being treated as unquoted when converted to lws.
...
svn: r13762
2009-02-21 03:33:33 +00:00
Stevie Strickland
560836a804
Draw :-> and :--> ourselves, similar to --> and friends.
...
svn: r13698
2009-02-17 16:14:12 +00:00
Stevie Strickland
e0e6fcb465
Add unicode longmapsto.
...
svn: r13695
2009-02-17 15:02:07 +00:00
Sam Tobin-Hochstadt
72e118d92f
Remove eta expansion, match is now fixed.
...
svn: r13622
2009-02-15 21:59:55 +00:00
Robby Findler
3ee1a899ee
changed apply-reduction-relation* so that it notices cycles and ignores them
...
svn: r13519
2009-02-11 20:25:32 +00:00
Casey Klein
6d5f966019
Added a #retries keyword to the forms that generate random terms.
...
svn: r13484
2009-02-07 13:26:37 +00:00
Robby Findler
12560f3a23
fixed a bug reported by Zane and Ahmed via Matthias
...
svn: r13483
2009-02-07 13:09:11 +00:00
Casey Klein
fba31b310a
Improved the error reported when the term generate is unable to
...
satisfy a pattern.
svn: r13464
2009-02-06 12:04:40 +00:00
Stevie Strickland
7ef5770e51
file -> filename
...
svn: r13461
2009-02-06 02:33:57 +00:00
Robby Findler
4de2439506
added the ability to render multiple metafunctions together to make all the lhss line up in a single column
...
svn: r13459
2009-02-06 02:18:08 +00:00
Stevie Strickland
facfa48e80
Fix metafunctions so that the LHSes are rewritten also.
...
svn: r13457
2009-02-05 22:02:14 +00:00
Robby Findler
d422d48c37
svn: r13453
2009-02-05 14:21:07 +00:00
Robby Findler
e35e25408f
some more overlap fixes
...
svn: r13452
2009-02-05 14:08:45 +00:00
Robby Findler
c859eba9ac
svn: r13451
2009-02-05 13:27:02 +00:00
Robby Findler
7e48db0a82
PR 10042 (plus some fixes to earlier Stevie-submitted PRs that werent quite right)
...
svn: r13447
2009-02-05 01:42:00 +00:00
Robby Findler
4f2070831b
PR 10042
...
svn: r13444
2009-02-05 01:14:37 +00:00
Robby Findler
7eaef08d63
fixed PR 10041
...
svn: r13442
2009-02-05 00:23:47 +00:00
Robby Findler
a5ca75f7b3
PR 10040
...
svn: r13423
2009-02-04 19:58:25 +00:00
Casey Klein
8f03dea7c3
The term generator now increases the size bound and attempt number
...
when it is having trouble satisfying a pattern.
svn: r13422
2009-02-04 19:52:35 +00:00
Robby Findler
4c22de3cf5
oops
...
svn: r13415
2009-02-04 16:00:47 +00:00
Robby Findler
fbe518937c
refactoring continues
...
svn: r13414
2009-02-04 15:50:24 +00:00
Stevie Strickland
d293f628d0
Fix mzscheme-isms.
...
svn: r13410
2009-02-04 07:12:27 +00:00
Robby Findler
825bc29d1e
some refactoring of typesetting code, plus moving a bunch of files away from mzscheme to scheme/base
...
svn: r13404
2009-02-04 02:58:29 +00:00
Robby Findler
9bbed05671
fixes from Jed Davis
...
svn: r13388
2009-02-03 19:25:08 +00:00
Robby Findler
370535a84b
fixed plural
...
svn: r13314
2009-01-29 15:58:03 +00:00
Robby Findler
798c5ee12f
changed default-check-attempts and changed output when an exception is raised
...
svn: r13313
2009-01-29 15:43:24 +00:00
Casey Klein
b86e4473f0
Changed redex-check's #:source keyword to always generate from the
...
LHSs of the metafunction/relation.
svn: r13310
2009-01-29 00:41:30 +00:00
Robby Findler
04d54e65ab
svn: r13305
2009-01-28 19:55:23 +00:00
Casey Klein
6afb62f510
Fixed a bug in find-base-cases.
...
svn: r13303
2009-01-28 16:30:22 +00:00
Stevie Strickland
06c189a726
Fix error when rendering to a file.
...
svn: r13290
2009-01-27 13:39:14 +00:00
Robby Findler
ebad17e4f7
svn: r13257
2009-01-22 15:06:31 +00:00
Robby Findler
49f015d55b
avoid duplicating some compiled patterns in the generated code
...
svn: r13254
2009-01-22 02:03:37 +00:00
Robby Findler
70d25c8f0c
a partial attempt to fix PR 10004
...
svn: r13252
2009-01-21 19:24:24 +00:00
Robby Findler
395d977832
moving to the other computer
...
svn: r13249
2009-01-21 16:06:27 +00:00
Robby Findler
5d7429c25e
added yet one more hook to traces/ps
...
svn: r13236
2009-01-20 15:31:02 +00:00
Robby Findler
af810c8a6f
added support for special-case drawing of individual edges to the graph library and support to be able to use that to redex
...
svn: r13226
2009-01-19 18:02:33 +00:00
Robby Findler
c4630e4526
extended initial-char-width
...
svn: r13221
2009-01-19 15:15:12 +00:00
Robby Findler
e7f8cce469
added another capability to redex's traces function
...
svn: r13195
2009-01-17 23:36:33 +00:00
Casey Klein
220380fd1b
Fixed a bug in which the "check" forms failed to reinitialize the
...
"preferred productions" before each attempt.
svn: r13172
2009-01-16 17:09:51 +00:00
Robby Findler
a4799be53c
added support for customizing the edge label font to the graph library and propogated that argument to the redex traces and traces/ps functions
...
svn: r13155
2009-01-15 21:29:26 +00:00
Matthew Flatt
cf2e98eb92
size-cache-invalid for editor<%>
...
svn: r13120
2009-01-14 20:29:37 +00:00
Robby Findler
074be235b4
fixed a bug
...
svn: r13119
2009-01-14 19:26:03 +00:00
Robby Findler
8f3547e311
added code to remove the graph-pb from the canvas while printing
...
svn: r13117
2009-01-14 18:21:55 +00:00
Robby Findler
ae1e6ca263
fixed an x/y reversal bug and improved the #:layout function so it isn't called as much
...
svn: r13116
2009-01-14 18:05:21 +00:00
Robby Findler
d1f65ae6c9
fixed a bunch of bugs in layout things in order to make traces/ps work better
...
svn: r13114
2009-01-14 15:53:29 +00:00
Eli Barzilay
d1a0086471
newlines at EOFs
...
svn: r13105
2009-01-14 03:10:47 +00:00
Robby Findler
c5d99507c3
PR 10024
...
svn: r13100
2009-01-14 01:39:32 +00:00
Casey Klein
5ca04f3497
Randomized testing forms no longer report exceptions as
...
counterexamples or return #t when unable to find a counterexample.
svn: r13094
2009-01-13 20:50:36 +00:00
Robby Findler
3ceb88b8a7
fixed a bug intraces/ps
...
svn: r13062
2009-01-10 23:49:03 +00:00
Robby Findler
538a1e695e
svn: r13061
2009-01-10 23:21:46 +00:00
Robby Findler
e34badc4cf
fixed some typos:
...
svn: r13059
2009-01-10 23:12:52 +00:00
Robby Findler
3a3ceb121b
added traces/ps and some code to make automatic layout of the graph possible (see #:layout in the docs for traces)
...
svn: r13058
2009-01-10 18:17:45 +00:00
Casey Klein
65fad6047d
Exported and documented the term generator's public interface.
...
svn: r13053
2009-01-09 21:53:53 +00:00
Casey Klein
3f44589c69
Changed the interface for collecting reduction relation coverage.
...
svn: r13046
2009-01-09 10:23:14 +00:00
Casey Klein
df5e59561f
1. Reorganized so that generating an `any' doesn't require
...
reprocessing the language definition.
2. Turned optional arguments to check-metafunction, generate-term,
etc. into keywords.
3. Added #:source keyword to `check' form.
svn: r13035
2009-01-08 14:46:46 +00:00
Robby Findler
05160bf931
PR 10009 and added tracing to metafunctions
...
svn: r13028
2009-01-07 15:55:21 +00:00
Robby Findler
a5b53c63fc
added a parameter to disable the various caches in redex
...
svn: r13024
2009-01-07 00:54:48 +00:00
Casey Klein
104447edf6
Support for collecing per-case test coverage of reduction relations.
...
svn: r13013
2009-01-05 14:26:04 +00:00
Robby Findler
9b84def3c1
PR 10002
...
svn: r13002
2009-01-04 18:08:37 +00:00
Casey Klein
7da5ee6029
Fixed check-reduction-relation's handling of cases with `where' and
...
`side-condition' clauses.
svn: r12995
2009-01-03 20:48:19 +00:00
Casey Klein
f402605fed
Added check-metafunction and check-reduction-relation. Fixed bug in
...
generation of `any' pattern.
svn: r12974
2009-01-02 20:18:53 +00:00
Casey Klein
8bd2b94dea
1. Renamed check-metafunction' to
check-metafunction-contract'.
...
2. Generator now eventually focuses probability on randomly chosen preferred
productions.
svn: r12636
2008-11-29 14:41:49 +00:00
Casey Klein
9e316c3162
1. Improved support for generating random numbers.
...
2. Fixed bug in find-base-cases.
svn: r12002
2008-10-13 15:19:13 +00:00
Casey Klein
b2ce9f4cd3
1. Fixed bug in reduction-semantics.ss.
...
2. Fixed bug in generation of 'any pattern.
3. Added `check-metafunction' form.
svn: r11984
2008-10-09 19:09:11 +00:00
Robby Findler
d1b2bf63c7
added metafunction result caching
...
svn: r11883
2008-09-26 16:13:03 +00:00
Casey Klein
12bba4996f
Improved performance of `check' by factoring language and pattern
...
pre-processing out of its loop.
svn: r11819
2008-09-19 13:22:00 +00:00
Casey Klein
bab55e4e20
Changed syntax for `check'
...
svn: r11806
2008-09-18 18:58:39 +00:00
Casey Klein
3177457e0b
1. Generation of string/symbol/variable now uses compiled-lang-literals.
...
2. `check' prints counterexamples to current-error-port rather than
returning a string.
3. Non-terminals and built-ins (e.g., variable, number, etc.) now
properly bind in generation.
svn: r11804
2008-09-18 17:42:39 +00:00
Casey Klein
189ef12cd0
Fixed bug in generation of ellipses.
...
svn: r11794
2008-09-18 04:51:02 +00:00
Casey Klein
823338e262
Generator support for `cross' pattern and syntax errors for non-terminals
...
with no productions.
svn: r11588
2008-09-09 15:16:45 +00:00
Robby Findler
10096627ed
PR 9725
...
svn: r11549
2008-09-05 03:27:01 +00:00
Casey Klein
1c654c35d2
Fixed bug in may-be-non-list-pattern?/internal and stored compatible
...
context language in compiled-lang, for use in term generator.
svn: r11537
2008-09-04 19:30:45 +00:00