Robby Findler
b43e956c7b
Redex: added to-lw/stx
...
plus improved the redex docs slightly and Rackety
2011-05-30 21:33:55 -05:00
Robby Findler
d74810a08b
fix broken earlier commit
2011-05-25 14:57:04 -05:00
Robby Findler
33e68022db
make the two-argument version of redex-match use the right name for the procedure it returns
2011-05-25 12:45:06 -05:00
Casey Klein
e8e2898359
Fixes rendering of relations with `name' patterns
2011-05-24 11:58:54 -05:00
Robby Findler
040bd371b6
adjust the lw construction in Redex so that it uses the width of the
...
"canonical" way to write symbols, instead of the way they are displayed.
This makes a difference for symbols that have spaces in them or symbols
that, when displayed, look like numbers or other non-symbol things.
2011-05-20 21:52:09 -05:00
Robby Findler
c163e75023
make the generated name used for languages (introduced by define-language
...
and define-extended-language) be based on the name of the language so the
error message is better (but not as good as it should be)
2011-05-11 18:38:10 -05:00
Casey Klein
cafcb47549
Refactored reduction-relation-procs
2011-05-08 06:19:45 -05:00
Casey Klein
dd58b457a9
Fixes domain checking of unioned reduction relations
2011-05-08 05:04:16 -05:00
Robby Findler
33c848fcda
added current-cache-all?, a parameter that controls the caching strategy
...
that apply-reduction-relation* (and thus test-->>) uses
also make apply-reduction-relation* call remove-duplicates
on the result of apply-reduction-relation
2011-05-07 20:06:38 -05:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Casey Klein
4b03ddccb1
Fixes Redex stepper's handling of symbols quoted with ||
2011-05-04 10:34:01 -05:00
Casey Klein
3187cac716
Updates to lam's new toplevel-map field
2011-05-03 17:59:52 -05:00
Matthew Flatt
6f1aa7bc00
adjust Redex example after bytecode-structure change
2011-05-03 08:53:49 -06:00
Casey Klein
fd401ce98e
Adds docs test to the test script
2011-05-02 06:02:50 -05:00
Casey Klein
b592017d05
Documents or deletes all Redex exports
2011-05-02 06:02:50 -05:00
Casey Klein
4e68a5019f
Moved rewriters documentation into typesetting section
2011-05-02 06:02:49 -05:00
Casey Klein
775d31d04a
Sets up the right modpaths for Redex exports
2011-05-02 06:02:49 -05:00
Robby Findler
37c7ad81ed
fixed redex.scrbl bugs
2011-04-29 08:12:51 -05:00
Robby Findler
8fbefb0b6d
added typesetting support for relations
2011-04-28 22:20:14 -05:00
Robby Findler
499852087d
stlc bug fix
2011-04-28 14:51:29 -05:00
Casey Klein
1d1cdd03f5
Adds a form like term-let but using Redex patterns
2011-04-26 12:13:17 -05:00
Casey Klein
b3f45d3c84
Refactors to eliminate copied code
2011-04-26 12:13:17 -05:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Casey Klein
50f14dea18
Adds start term to test-->>E failure message
...
Closes PR 11867
2011-04-22 09:49:41 -05:00
Casey Klein
73c5d2a546
Fixes typo in redex-check docs
...
Closes PR 11868
2011-04-22 09:49:41 -05:00
Casey Klein
1c8c6ddbee
Adds generate-term option for LHS-based generation
2011-04-22 04:43:11 -05:00
Casey Klein
362a6d75a5
Changes redex-match to suppress ..._x bindings
2011-04-22 04:43:11 -05:00
Casey Klein
24d697e83c
Fixes bug in STLC example
2011-04-22 04:43:11 -05:00
Casey Klein
7319bd1884
Fixes test-->>E documentation
2011-04-15 04:57:01 -05:00
Casey Klein
0b9db752ca
Fixes test-->>E failure message
...
Fixes PR 11853
2011-04-15 04:52:13 -05:00
Casey Klein
46b3a9d13d
Fixes generation of any' within
in-hole' context position
2011-04-14 18:32:06 -05:00
Casey Klein
319ae5f825
Deletes code that should have been deleted when named holes went away
2011-04-14 18:32:05 -05:00
Casey Klein
ff7aba9750
Moves `term-let' test to proper file
2011-04-14 18:32:05 -05:00
Casey Klein
989103c3a1
Improves term-let's "too few ellipses" error
...
Fixes PR 10837
2011-04-07 13:17:15 -05:00
Casey Klein
143e1e66fd
Improves error for references to not-yet-defined metafunctions
...
Fixes PR 11041
2011-04-07 13:17:15 -05:00
Ryan Culpepper
73ab167522
created racket/syntax from parts of unstable/syntax
2011-04-07 09:47:20 -06:00
Casey Klein
6fc20125b0
Adds the STLC example to the test script
2011-04-06 11:11:43 -05:00
Casey Klein
1ad2b1b938
Makes cross' work better with
hide-hole'
...
Fixes PR 11579
2011-04-06 10:17:15 -05:00
Casey Klein
e8130a2fd1
Fixes bug in `cross' pattern handling
2011-04-06 10:17:15 -05:00
Robby Findler
77c25430af
added an example with a type checker
2011-04-02 13:36:29 -05:00
Casey Klein
a4644d4d49
Disallows unquote in Redex patterns
...
Fixes PR 11296
2011-04-01 14:00:45 -05:00
Casey Klein
121f1761bd
Fixes redex/gui typos
...
Closes PR 11174
2011-04-01 14:00:45 -05:00
Casey Klein
8a283650c4
Updates typesetting tests
...
Spacing is now different by a few pixels. The change does not seem to
be Redex specific
2011-03-30 13:59:39 -05:00
Casey Klein
1312a2e52e
Improves `reduction-relation' documentation
...
Fixes PR 10665
2011-03-30 13:59:39 -05:00
Casey Klein
6cdfa2ff73
Updates typesetting tests for new arrow drawing
2011-03-30 10:20:53 -05:00
Casey Klein
d97a2b505c
Fixes matching of ..._x and ..._!_x inside ellipses
2011-03-30 10:15:17 -05:00
Casey Klein
0839f763ec
Fixes a bug in the deref rule
2011-03-29 16:05:54 -05:00
Casey Klein
8f006f1a1f
Fixes bugs in error transitions
2011-03-29 15:57:50 -05:00
Casey Klein
b958e21f46
Fixes another bug in the stepper's diff highlighting
2011-03-29 13:05:03 -05:00
Casey Klein
df3bc8980b
Fixes a bug in the stepper's diff highlighting
2011-03-29 13:05:02 -05:00
Robby Findler
7a427be2fd
improve Redex's arrow drawing
2011-03-27 14:49:34 -05:00
Robby Findler
f69ff3b6b7
added support for 'or', \vee, and \cup as builtins to the define-metafunction codomain contracts
2011-03-26 10:04:39 -05:00
Casey Klein
faef39cbc6
Fixes the docs for non-terminal styles
2011-03-24 14:58:31 -05:00
Casey Klein
3214861420
Fixes rendering of (hole t ...+)
...
There was some old named holes code still in use.
2011-03-24 14:35:02 -05:00
Robby Findler
99e9bd9543
exported arrow->pict
2011-03-23 17:03:57 -05:00
Casey Klein
87934752b5
Adds a parameter that provides a default for redex-check's #:attempt argument
2011-03-22 21:20:29 -05:00
Robby Findler
d0d2285c4c
Adjust the dependencies in redex/pict so it doesn't depend on racket/gui/base anymore
2011-03-17 13:35:32 -05:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Casey Klein
fe0525b7bb
Reduces the memory used by the randomized tests
2011-02-04 09:15:38 -06:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Casey Klein
f7fd6ee689
Changes the term generator to produce shorter sequences
...
It now uses the (local) size bound instead of the (global) attempt count.
2011-01-31 12:36:42 -06:00
Casey Klein
3250ff846c
Adds a Redex version of Jay's continuation mark transformation
2011-01-29 15:26:30 -06:00
Robby Findler
d4aeb3fa4c
Rackety
2011-01-17 17:19:37 -06:00
Casey Klein
b45bb829b6
Fixes a bug in metafunction traces
...
When the result is in the cache but the cache is not consulted because
`caching-enabled?' is false, the call should not be shown as cached.
2011-01-14 13:41:09 -06:00
Casey Klein
61607c4da1
Adds a check to the define/extend language parser
2011-01-14 13:41:09 -06:00
Casey Klein
f742479d8d
Fixes another bug in the test generator.
2011-01-14 13:41:09 -06:00
Casey Klein
11900c6c4f
Changes logging to use write instead of display
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
394fab0d86
Adds an option for repeating the command(s)
2011-01-14 13:41:09 -06:00
Casey Klein
ea5a6fc91c
Fixes exception handling in randomized tests
2011-01-14 13:41:09 -06:00
Casey Klein
c5599e8b6f
Adds an option for logging the generated tests
2011-01-14 13:41:08 -06:00
Casey Klein
4ca857fad7
Configures DrDr to run larger random tests
2011-01-03 09:37:32 -06:00
Casey Klein
25c1400d8b
Exposes the default value of the #:attempt-size argument
2011-01-03 09:37:32 -06:00
Casey Klein
69227df4bf
Restricts the test generator's use of `dw' thunks
2011-01-03 09:37:32 -06:00
Casey Klein
f480d75810
Enables the randomized delimited control tests in DrDr
2010-12-31 15:34:32 -06:00
Casey Klein
03c48b67a7
Restricts the test generator's use of % within cont
2010-12-31 15:34:31 -06:00
Casey Klein
8b50aeb346
Fixes a bug in the elimination of continuation values
2010-12-31 15:34:31 -06:00
Casey Klein
a6e40bfb03
Further restricts the test generator's use of `wcm'
2010-12-31 15:34:31 -06:00
Casey Klein
579cb022bd
Changes the randomized tests to watch for the first exception.
...
The particular exception raised is important. We don't want a later
one raised by a dynamic-wind post-thunk.
2010-12-31 15:34:31 -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
f8c181c66d
Closes PR 11475
2010-12-05 08:55:43 -06:00
Casey Klein
8affb5b13f
Fixes CS renaming of pattern occurrences of metafunction names
2010-12-03 15:47:54 -06:00
Casey Klein
6fd3eea815
Disables randomized tests (of the randomized tests).
...
The runtime is too long and variable to work well in DrDr.
2010-12-02 15:54:47 -06:00
Casey Klein
c3f0052eac
Deletes incorrect comment.
2010-12-02 15:54:47 -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
2a8fdd9646
Adjusts typesetting to account for gr2 rendering of filled rectangles
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
1ccd6e7a2c
Randomized tests for the delimited control model.
...
Tests in randomized-tests.rkt are deliberately not run by DrDr at the
moment because they fail too consistently.
2010-11-26 13:24:21 -06:00
Casey Klein
8ff358b559
Abstracts randomized testing forms over the underlying PRG
2010-11-26 13:02:14 -06:00
Casey Klein
b616ac3cd4
Fixes substitution bugs
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
abf2574189
Fixes a bug introduces while updating to newer version of Redex
2010-11-26 13:02:14 -06:00
Casey Klein
6bfbdfd582
Fixes another bug in continuation mark collection
2010-11-26 13:02:14 -06:00
Casey Klein
8e69aa6ac2
Fixes minor bugs in two core reduction rules
2010-11-26 13:02:14 -06:00
Casey Klein
48a5c19a4e
Fixes another bug in continuation mark collection
2010-11-26 13:02:14 -06:00
Casey Klein
d0e03bf53a
Updates context matching with missing % contexts
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
e7e504741e
Fixes definition of evaluation contexts
2010-11-26 13:02:13 -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
f9b64fa2b8
Removes `apply-reduction-relation*' trie experiment
2010-10-31 17:28:19 -05:00
Casey Klein
152084d5ce
Adds an experiment in using a trie in `apply-reduction-relation*'
2010-10-31 17:26:20 -05:00
Casey Klein
e9a909a504
Adds randomized tests for Racket VM model
2010-10-31 17:26:20 -05:00
Casey Klein
7f0e712dab
Renames some functions to match latest paper draft.
2010-10-31 17:26:19 -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
c5c6c1c9e6
explained #:domain
2010-10-20 12:34:14 -05:00
Robby Findler
5c94ca5b7c
idle attempts to reduce allocation in the matcher
2010-10-19 18:41:19 -05: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
d9ea5141e9
fixed doc contract spec
2010-10-13 15:55:16 -05:00
Steven Jaconette
9a4b2d2023
fixed a bug uncovered by a stronger syntactic check in redex
2010-10-04 11:24:36 -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
Robby Findler
43d7058a16
added tag because section title was too long.
2010-09-26 22:47:36 -05:00
Robby Findler
1f8bbf43a7
fixed pb-last-column-visible so the stepper now shows the last column when you click the '->' (next) button
2010-09-26 22:47:36 -05:00
Robby Findler
20252ef150
typos
2010-09-26 22:47:35 -05:00
Robby Findler
a6dea9b85c
removed current-pretty-printer (it was never released and it is
...
superceded by pretty-print-parameters).
2010-09-26 22:47:35 -05:00
Robby Findler
f87aa7ec61
added pretty-print-parameters to control how pretty printing happens for terms
2010-09-26 22:47:35 -05:00
Robby Findler
273e6e7d25
added paren-style
...
added missing provide for grammar-style
removed some dead code
2010-09-24 19:34:32 -05:00
Robby Findler
d4c68e7359
added grammar-style for the ::= and | in grammars in redex typesetting
2010-09-21 15:08:12 -05:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04: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
Robby Findler
b8fc5fcfce
Rackety
2010-09-16 13:37:34 -05:00
Robby Findler
28a253b206
added current-pretty-printer
2010-09-16 13:37:33 -05:00
Robby Findler
d03a7b220a
added docs for linebreaks parameter
...
Adjusted implementation of linebreaking so that
when there are linebreaks in a metafunction, the =
signs line up together independent of the broken lines
2010-09-16 10:51:17 -05:00
Robby Findler
d419e8c12a
changed the ->d contracts to ->i contracts
2010-09-09 14:21:35 -05:00
Casey Klein
14ceb68b92
Adds functions for testing pattern compiler
2010-09-08 14:12:47 -05:00
Steven Jaconette
f5482e5703
Initial compiler model (includes low level pattern language model and redex to low level lanaguage compiler)
2010-09-08 14:12:47 -05:00
Robby Findler
4d8cc1bc51
dont use the black-on-white preferences for redex's stepper
2010-08-31 07:33:13 -05:00
Eli Barzilay
8e0f8dd39c
More "~n" -> "\n" changes
2010-08-26 12:11:00 -04:00
Casey Klein
c66a727413
Fixes R6 tests
2010-08-26 06:04:06 -05:00
Robby Findler
bc1aeef3c0
calls gc before running each test
2010-08-25 13:37:34 -05:00
Robby Findler
1093399c1e
added in a mode that prints the timing when finding all results
2010-08-25 12:56:20 -05:00
Robby Findler
1f830cc2c6
added a timing test that compares Racket and Redex
2010-08-25 10:39:49 -05:00
Robby Findler
d9e433d512
Rackety
2010-08-25 10:39:49 -05:00
Robby Findler
7955e50a3d
Rackety
2010-08-25 10:39:49 -05:00
Robby Findler
283e9cfef3
oops, dont need this
2010-08-25 10:39:48 -05:00
Robby Findler
cda3d259ee
added a file so drdr runs the test suites
2010-08-25 07:40:19 -05:00
Casey Klein
fbd2c3c86f
Adds the feature requested in PR 10388
2010-08-18 13:19:12 -05:00
Casey Klein
5bbe748485
Tightens contract for reduction-relation->rule-names
2010-08-18 13:19:12 -05:00
Casey Klein
e0643611c3
Fixes "Reduce until ..." in stepper
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
cdf669fe5f
Fixes one more bug in the model's `branch' verification
2010-08-18 13:19:11 -05:00
Casey Klein
9d022fed0d
Fixes another bug in model's `branch' verification
2010-08-18 13:19:11 -05:00
Casey Klein
a858138843
Fixes a bug in model verifier's handling of `let-one'
2010-08-18 13:19:11 -05:00
Casey Klein
4cd2e8b01b
Fixes a bug in model verifier's handling of `branch'
2010-08-18 13:19:11 -05:00
Casey Klein
9e41ab031f
Cleans up the debugging advice section
2010-07-27 15:43:01 -05:00
Casey Klein
ae99d4e5bc
Adds a `apply-reduction-relation*' example to the docs
2010-07-21 08:46:28 -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
0477125354
Documents #:print? keyword for check-reduction-relation and check-metafunction
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
Casey Klein
2025c27475
Fixes bug with "noclear" rewind.
2010-07-14 09:52:50 -05:00
Casey Klein
f786f24ac5
Makes let-rec verification match the implementation
2010-07-14 09:52:50 -05:00
Casey Klein
bc511912a4
Makes `let-one' verification match VM
2010-07-14 09:52:50 -05:00
Casey Klein
514f4e2e4b
Restricts bytecode cycles to begin with proc-consts, as in the real machine.
2010-07-14 09:52:50 -05:00
John Clements
c42d5c25c7
fixed typo introduced by search-and-replace
2010-07-06 18:42:47 -04: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
3eb9a6d6d0
Fixes a bug in the VM example
2010-06-21 14:41:10 -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
dc8fc24e89
Fixes a bug in which effectful meta-function applications were cached.
2010-06-17 14:28:31 -05:00
Casey Klein
318ec585bc
Fixes a bug in the VM model
2010-06-17 14:28:31 -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
cc162f3eeb
Brings the Redex examples documentation up to date (for 5.0 release)
2010-05-24 09:19:48 -05:00
Eli Barzilay
de0cc7771b
A lot of "DrScheme" -> "DrRacket"s.
2010-05-17 01:27:03 -04:00
Eli Barzilay
2d9601089d
A lot of "MzScheme" -> "Racket"s.
2010-05-16 18:26:26 -04:00
Eli Barzilay
86891b30a1
redex/examples/mzscheme-machine -> racket-machine
2010-05-15 18:41:08 -04:00
Casey Klein
cc67852317
Fixes URL typo
2010-05-12 08:48:27 -05:00
Casey Klein
7b15edee41
Racketifies Redex documentation
2010-05-12 07:58:08 -05:00
Matthew Flatt
6563ef6812
rackety framework and tools docs
2010-05-08 07:37:08 -06: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
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
c0ce0debbe
Improved documentation of `check-metafunction'
...
svn: r18039
2010-02-10 18:33:53 +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
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
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
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
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
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
c8b8775805
Further clarified documentation
...
svn: r17636
2010-01-13 18:35:27 +00:00
Casey Klein
a47d38e15d
Improved docs and error messages for define-metafunction/extension
...
svn: r17635
2010-01-13 18:21:27 +00:00
Eli Barzilay
01536ba44e
switch to "#lang setup/infotab"
...
svn: r17598
2010-01-11 02:24:24 +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
97c2278a6b
PR 10663
...
svn: r17332
2009-12-16 21:02:08 +00:00
Casey Klein
eb4403f1c7
PR 10650
...
svn: r17331
2009-12-16 20:46:58 +00:00
Robby Findler
d278ad3c86
added a clarification to the redex docs ala Carl's next post on icfp-test
...
svn: r17308
2009-12-15 16:57:37 +00:00
Robby Findler
dd18cc837f
added a clarification to the redex docs ala Carl's post on icfp-test
...
svn: r17307
2009-12-15 16:41:55 +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
4b7b51b8de
PR 10550
...
svn: r17230
2009-12-06 17:26:53 +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
Sam Tobin-Hochstadt
960bf4caab
print success on current-output-port
...
svn: r16787
2009-11-15 14:35:29 +00:00
Sam Tobin-Hochstadt
a29172bc51
Add command line flags to disable things that are problematic for DrDr.
...
svn: r16751
2009-11-13 18:16:07 +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