Commit Graph

374 Commits

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