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
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