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
Casey Klein
93c88b9370
Fixed ellipsis generation. The behavior of #:binds wrt ellipses may
...
need to be revisited.
svn: r11530
2008-09-03 02:06:42 +00:00
Robby Findler
898edef55e
changed to lang scheme/base
...
svn: r11527
2008-09-02 18:34:18 +00:00
Robby Findler
44b62899fa
improved blame error message when there is no source location
...
svn: r11526
2008-09-02 16:12:13 +00:00
Casey Klein
538b6e5e90
Fixed bug in generating `in-hole' patterns.
...
svn: r11464
2008-08-28 15:25:35 +00:00
Robby Findler
e29709e3d1
PR 9713
...
svn: r11457
2008-08-27 18:47:04 +00:00
Casey Klein
71f6c8b480
1. Generator refactored to avoid mutable state (fixing a bug).
...
2. Incremental progress on properly handling ellipsis patterns.
svn: r11400
2008-08-23 16:11:23 +00:00
Matthias Felleisen
52c1a313c8
elicit --> does not hold
...
svn: r11356
2008-08-20 15:48:16 +00:00
Robby Findler
47521e5ea4
improved printing a little bit for stepper and traces
...
svn: r11322
2008-08-19 04:57:33 +00:00
Robby Findler
5895bf4c35
where clauses in metafunctions now are in 'term'
...
svn: r11300
2008-08-18 21:23:56 +00:00
Robby Findler
e0edc70215
svn: r11269
2008-08-15 04:11:31 +00:00
Matthew Flatt
2e0c6444f9
optional arguments as an alternative to parameters for render-language, language->pict, render-reduction-relation, and reduction-relation->pict
...
svn: r11265
2008-08-14 22:42:32 +00:00
Robby Findler
070b321558
added render-lw
...
svn: r11255
2008-08-14 21:22:26 +00:00
Robby Findler
5ebff2fd07
now exporting white-bracket-sizing.... (duh)
...
svn: r11245
2008-08-14 19:10:21 +00:00
Robby Findler
b70cd4151a
removed last vestiges of multi-arg metafunctions and fixed a bug in the way white brackets were rendered
...
svn: r11244
2008-08-14 18:39:49 +00:00
Robby Findler
cb23506ca1
added white-bracket-sizing
...
svn: r11243
2008-08-14 17:55:58 +00:00
Matthew Flatt
fcabbbf576
change world animated GIFs to not loop
...
svn: r11242
2008-08-14 17:17:57 +00:00
Robby Findler
7c6d9bfb58
added exn:fail:redex
...
svn: r11221
2008-08-13 15:10:46 +00:00
Robby Findler
4c567d72a0
simplified typesetting interface somewhat
...
svn: r11159
2008-08-09 04:14:37 +00:00
Casey Klein
108cf06b46
Added generator support for named ellipses.
...
svn: r11126
2008-08-07 12:53:59 +00:00
Robby Findler
f81cbc5db7
fixed bug
...
svn: r11105
2008-08-06 13:41:40 +00:00
Casey Klein
40056b3d62
Simplified generator, due to removal of named holes.
...
svn: r11096
2008-08-05 23:38:30 +00:00
Robby Findler
6235970d42
removed named holes from Redex
...
svn: r11093
2008-08-05 21:28:12 +00:00
Casey Klein
b144254b58
Rewrote `generate' as a macro that rewrites the side-conditions in its
...
target pattern, removed `try', and improved `check'.
svn: r11074
2008-08-04 22:39:23 +00:00
Robby Findler
b2e7594c9d
removed domain specifications from reduction-relations
...
svn: r11062
2008-08-04 13:09:18 +00:00
Robby Findler
008414b3f5
svn: r11058
2008-08-04 04:12:38 +00:00
Robby Findler
778981937a
fixed a bug in contract matching for metafunctions
...
svn: r11048
2008-08-03 14:24:04 +00:00
Robby Findler
ef86c20a1d
changed the notation of metafunctions
...
svn: r11039
2008-08-02 21:00:22 +00:00
Casey Klein
3e3bbe5c24
Added support for patterns any',
hide-hole', and
...
`variable-not-otherwise-mentioned' and improved error reporting for
`try'.
svn: r11035
2008-08-02 15:35:54 +00:00
Eli Barzilay
00df4dc7d6
new style info files
...
svn: r10982
2008-07-30 03:51:13 +00:00
Robby Findler
86c7c808d4
fixed things up so that everything is at least compiling now
...
svn: r10980
2008-07-30 03:41:00 +00:00
Casey Klein
ba4b0b6301
- Fixed bug in pick-char' and
random-string'.
...
- Added support for hole and in-hole patterns.
- Fixed infinite loop triggered by `any' pattern.
- Removed schemeunit-test from run-all-tests.ss.
svn: r10978
2008-07-30 00:46:30 +00:00
Robby Findler
341d0c76a9
adding redex to main SVN archive so it goes into the distribution
...
svn: r10974
2008-07-29 21:46:15 +00:00