Commit Graph

422 Commits

Author SHA1 Message Date
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