Commit Graph

198 Commits

Author SHA1 Message Date
Casey Klein
3b5d13f229 Fixed bug in generate-term's error handling.
svn: r17856
2010-01-27 20:03:57 +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
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
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
a47d38e15d Improved docs and error messages for define-metafunction/extension
svn: r17635
2010-01-13 18:21:27 +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
eb4403f1c7 PR 10650
svn: r17331
2009-12-16 20:46:58 +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
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
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
Casey Klein
a021b75a67 Fixed PR 8765
svn: r16564
2009-11-05 19:33:19 +00:00
Robby Findler
da743d4a49 changed test printout so that the summary is to stdout, not stderr
svn: r16524
2009-11-03 18:27:00 +00:00
Casey Klein
4be6482bf9 Fixed bug with repeated binders inside ellipses.
svn: r16504
2009-11-02 21:33:42 +00:00
Robby Findler
727e540b6e added support for rendering terms
svn: r16441
2009-10-27 21:24:31 +00:00
Jay McCarthy
d557687494 DrDr related changes
svn: r16403
2009-10-21 20:32:19 +00:00
Robby Findler
e78faf0669 fixed a bug that prevented uses of redex-match in the right-hand sides of reduction-relation definitions
svn: r16344
2009-10-16 21:33:57 +00:00
Robby Findler
9545330d53 fixed the #:scheme-colors? argument to traces
svn: r16328
2009-10-15 19:24:46 +00:00
Casey Klein
0520a50f3e Fix to allow metafunction definition at the top-level.
svn: r16218
2009-10-02 16:54:44 +00:00
Casey Klein
f58882b4d1 Added support for collecting test coverage of metafunctions
svn: r16193
2009-09-30 21:32:20 +00:00
Casey Klein
50ce45e621 Updated expected results to reflect new trace's new output style.
svn: r16188
2009-09-30 16:35:11 +00:00
Casey Klein
38ed68b397 Fixed bug in extending extended metafunctions.
svn: r16187
2009-09-30 16:29:34 +00:00
Eli Barzilay
6cea680b62 * Reorganize macro code.
* Change `trace-apply' to accept keyword arguments by being a keyworded
  function itself
* Renamed `trace-apply' to `trace-call' -- since it's not following the
  calling convention of `apply'.

svn: r16161
2009-09-29 07:33:07 +00:00
Casey Klein
29a3ed2a20 Improved error reporting for side-conditions Redex can't satisfy
svn: r16128
2009-09-25 15:16:29 +00:00
Ryan Culpepper
9ca3192a60 redex, macro-debugger: stxclass -> syntax/parse, syntax/private/util
svn: r15986
2009-09-11 23:16:22 +00:00
Robby Findler
72d6f85c47 PR 10416
svn: r15886
2009-09-05 10:29:00 +00:00
Casey Klein
1d4da3df4c Term generator now less aggressive about producing weird variables and
strings.

svn: r15860
2009-09-02 19:51:30 +00:00
Jay McCarthy
829c8416b6 Fix a bug suggested by Robby and add a test case
svn: r15718
2009-08-12 20:43:10 +00:00
Jay McCarthy
1dba4edcb9 A fix for my example hide hole based models
svn: r15715
2009-08-12 20:08:36 +00:00
Robby Findler
5adb4eb004 changed the meaning of one of the pretty-print parameters slightly and used that to fix redex's stepper
svn: r15419
2009-07-09 15:55:11 +00:00
Matthew Flatt
2c973452d4 refine compact-vertical rule rendering to allow overlap between the labels and side conditions, and also use label-space
svn: r15397
2009-07-06 17:19:25 +00:00
Matthew Flatt
ebb45abee5 fix rendering of atomic transformers that produce strings, notably for hole
svn: r15394
2009-07-06 15:11:29 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Matthew Flatt
482816bf34 restore use of atomic rewriters for literals
svn: r15363
2009-07-02 14:49:59 +00:00
Matthew Flatt
e0e8c86688 fix up-down/compact-side-conditions
svn: r15360
2009-07-02 02:23:29 +00:00
Robby Findler
890882a6fd added x-spacing and y-spacing parameters to traces and traces/ps
svn: r15356
2009-07-01 18:24:47 +00:00
Robby Findler
62bc659ec8 fixed bug in rendering of reduction relations; they now preserve the relative ordering of side-conditions and where clauses
svn: r15354
2009-07-01 16:29:57 +00:00
Robby Findler
158b6de824 fixed bug the ordering of metafunction side-conditions during rendering
svn: r15353
2009-07-01 16:10:23 +00:00
Robby Findler
ba5aea8cdd added 'left-right/beside-side-conditions
svn: r15350
2009-07-01 04:45:02 +00:00
Matthew Flatt
5ae06f1d2c try to fix metafunction typesetting to make it independent of the order of metafunction definitions
svn: r15338
2009-06-30 15:41:58 +00:00
Robby Findler
fa0f182e80 fixed the way atomic rewriters work so that non-terminals with underscores render properly
svn: r15332
2009-06-30 04:18:34 +00:00
Robby Findler
ee365bb698 svn: r15323 2009-06-28 16:34:55 +00:00