Commit Graph

313 Commits

Author SHA1 Message Date
Ryan Culpepper
b9961d605d macro stepper: don't create new eventspace
Closes PR 11299
2010-10-29 16:01:51 -06:00
Ryan Culpepper
f65c8c3427 Macro stepper status bar notifications 2010-10-24 13:17:04 -06:00
Ryan Culpepper
076bba5ee9 restricted interval-map interface, simplified code, based on splay-trees
removed old, awful skip-list iteration-mutation procedures
updated skip-lists
2010-09-17 16:54:53 -06:00
Ryan Culpepper
1cfccb9704 reorganized check-requires script 2010-09-13 13:21:02 -06:00
Ryan Culpepper
221d07626e added tool for detecting useless requires 2010-09-06 23:00:47 -06:00
Ryan Culpepper
a0b8a94d8b macro stepper: ignore track origin for now, need to coordinate with marks 2010-09-03 14:03:26 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Ryan Culpepper
cb62eeffb6 macro-stepper: better internal debugging 2010-09-03 13:53:41 -06:00
Ryan Culpepper
dbdf00c5f7 macro-stepper: track syntax-local-value and syntax-track-origin (not done) 2010-09-03 13:53:41 -06:00
Ryan Culpepper
d7a87c79e0 Merged changes to syntax/parse
Changed backtracking algorithm, runtime representations
    - syntax classes, ~describe no longer implicitly commit
    - ~describe no longer delimits effect of cut
  Added keyword & optional args for stxclasses
  Added ~do and #:do, ~post, ~commit and #:commit,
    ~delimit-cut and #:no-delimit-cut
  Added syntax/parse/debug, syntax/parse/experimental/*
    - expr/c for contracting macro sub-expressions
      moved from syntax/parse to syntax/parse/experimental/contract
    - syntax class reflection (~reflect, ~splicing-reflect)
    - eh-alternative-sets (~eh-var)
    - provide-syntax-class/contract
      (only for params, not attrs so far)
  Changed ~fail to not include POST progress (#:fail still does)
    old (~fail _) is now (~post (~fail _))
  Made msg argument of ~fail optional
  Removed generic "repetition constraint violated" msg
  Removed atom-in-list stxclass
  Removed unnecessary datum->syntax on cdr of pair pattern
    massive improvements to long-list microbenchmarks
  Optimization: integrable syntax classes (id, expr, keyword)
    need better measurements
  Optimization: ad hoc elimination of head/tail choice point
    for (EH ... . ()) patterns
  Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Sam Tobin-Hochstadt
0635fc6d75 Create data/ collection.
- Initially populated with queues, skip-lists, and interval-maps from unstable/
 - Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Ryan Culpepper
df4e37fe08 macro-stepper: small doc update 2010-07-13 09:49:46 -06:00
Ryan Culpepper
e36c964a9a macro-stepper: updated tests 2010-07-13 09:22:52 -06:00
Ryan Culpepper
b8bf5c571a macro-stepper: add support for #%stratified-body 2010-07-13 09:22:51 -06:00
Ryan Culpepper
9b03e38409 macro-stepper: switched to racket in hiding policy, labels 2010-07-13 09:22:51 -06:00
Ryan Culpepper
cf195b633b macro-stepper: correctly render new letrec transformation 2010-07-13 09:22:51 -06:00
Ryan Culpepper
b3bf2fa6f3 macro-stepper: obsolete on program change (like stepper), not just rerun
Closes PR 8837
2010-07-01 17:05:07 -06:00
Ryan Culpepper
f6f480053e macro-stepper: removed unnecessary partition code
downgraded secondary "partition" to simple binary predicate
2010-07-01 17:05:07 -06:00
Ryan Culpepper
856dd4e14c macro-stepper: fixed pretty-{printing => writing} 2010-07-01 17:05:07 -06:00
Ryan Culpepper
efc0356605 macro-stepper: replaced {scheme -> racket}, {*.ss -> *.rkt}, etc 2010-07-01 17:05:06 -06:00
Ryan Culpepper
5673d7b877 macro-stepper: added step count
also removed some dead code (warnings)
2010-07-01 17:05:06 -06:00
Ryan Culpepper
a91e9e7bf6 macro-stepper: clarified "from" in hiding rules, added todo list 2010-07-01 17:05:05 -06:00
Ryan Culpepper
e9a8e92585 macro-stepper: simplified partition code 2010-07-01 17:05:05 -06:00
Ryan Culpepper
472b5ecdc0 macro-stepper: fetch mark lists directly 2010-07-01 17:05:05 -06:00
Ryan Culpepper
3d21f97f3f macro-stepper: added emit-local-step 2010-06-10 16:40:52 -06:00
Ryan Culpepper
70fedd766f macro-stepper: added docs for macro-debugger/emit 2010-06-10 14:58:28 -06:00
Ryan Culpepper
2068acc22b macro-stepper: added api for macro "remarks" (no docs yet) 2010-06-10 12:54:09 -06:00
Ryan Culpepper
eb1a122888 macro-stepper: preserve underlining in highlights 2010-06-10 12:54:08 -06:00
Ryan Culpepper
b6b8e29957 macro-debugger: made properties display respect inverted-colors mode 2010-06-08 14:12:34 -06:00
Ryan Culpepper
1c9bb4a72a macro-stepper: fixed colors for white-on-black display 2010-06-08 14:12:34 -06:00
Robby Findler
e74e929a92 changed the macro stepper to be responsive to the white-on-black preference
(but there is still some work to do to actually select a reasonable set
 of colors and probably some refactoring, but at least the interface with
 the framework is there now, so the changes should not be hard from here on)
2010-06-08 11:33:29 -05:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
ed1d7f81c9 move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
d7e4db3efd fix some tests and docs after racket move 2010-04-20 17:28:07 -06:00
Robby Findler
bf9ae0f731 added support for opt-out buttons and then took advantage of it to do a better job with the check syntax, macro stepper, and debugger buttons
svn: r18785
2010-04-11 03:14:02 +00:00
Ryan Culpepper
68c4c11514 macro-debugger:
fixed bug re eval'd top-level forms that cause errors
  fixed bug re lazy phase 1 init and #%top-interaction unwrapping

svn: r18472
2010-03-05 01:40:42 +00:00
Ryan Culpepper
6bb3b5f1b6 macro-debugger: another internal error bug
svn: r18342
2010-02-25 22:15:02 +00:00
Ryan Culpepper
ea19a1bda3 macro-debugger:
fixed bug re (maybe?) lazy phase 1 initialization
  fixed popup-menu bug in syntax browser
  cleaned up signal mapping

svn: r18331
2010-02-25 02:05:26 +00:00
Ryan Culpepper
e6c4518ae8 macro-debugger:
fixed internal error in reporting internal errors
  made debug files more readable
  fixed wrong ordering of local contexts

svn: r18328
2010-02-24 21:39:16 +00:00
Ryan Culpepper
cb16dde709 macro-debugger: some work on syntax snips
svn: r18182
2010-02-19 05:45:54 +00:00
Ryan Culpepper
b68494250f scheme/pretty: added quasisyntax reader macro
macro-debugger: added change layout menu items

svn: r18166
2010-02-18 22:53:11 +00:00
Ryan Culpepper
ffa97036a8 macro-stepper: removed drscheme,etc dep on macro-debugger
(changed capability to normal symbol constant)

svn: r17953
2010-02-03 14:43:23 +00:00
Carl Eastlund
79f537d50c Updated the macro stepper to detect steppable languages via a "capability".
svn: r17932
2010-02-01 20:39:46 +00:00
Robby Findler
402886bc18 fixed the macro stepper so that it shows up in the new module language
svn: r17927
2010-02-01 17:09:22 +00:00
Ryan Culpepper
0cea5eb390 macro-debugger: fixed breakage of stepper-text, expand-only
Please propagate to release branch if possible.

svn: r17852
2010-01-27 17:31:22 +00:00
Ryan Culpepper
6eb51f9402 macro-stepper: yet another local-expansion fix
svn: r17668
2010-01-15 21:33:36 +00:00
Ryan Culpepper
9a2408f267 macro-debugger: fixed module & local-expansion bug
svn: r17666
2010-01-15 20:13:09 +00:00
Ryan Culpepper
97135f112c macro-debugger: fixed bug re local-expansion and macro hiding
svn: r17642
2010-01-13 23:41:23 +00:00
Ryan Culpepper
d846d22b9e macro-debugger:
fixed local-expand not within macro transformation
  removed dead forms (eg require-for-syntax)
  fixed module-level begin-splicing highlighting

svn: r17581
2010-01-08 21:32:49 +00:00
Ryan Culpepper
be6fb953bc macro-debugger: pretty-print copied syntax
svn: r17355
2009-12-19 04:41:44 +00:00
Ryan Culpepper
9c8ad7bb7f macro-debugger:
add tack/untack to normal context menu
  fix arrows bug, caused by bug in interval-map
unstable/interval-map: fixed stupid update*! bug

svn: r17346
2009-12-18 03:33:15 +00:00
Ryan Culpepper
961ece3ffe unstable: added skip-list and interval-map
unstable/contract: added rename-contract
macro-debugger: switched to use interval-map for arrows

svn: r17278
2009-12-13 03:06:58 +00:00
Ryan Culpepper
366ba64bc5 macro-stepper: fixed ? position in arrows
svn: r17167
2009-12-02 23:18:47 +00:00
Ryan Culpepper
f540fc8f00 macro-debugger: fixed binder discovery for lambda
Please propagate this change to the release branch.

svn: r16926
2009-11-20 19:36:24 +00:00
Ryan Culpepper
34380bbd10 macro-debugger/syntax-browser:
misc code cleanups
  added module for making images

svn: r16925
2009-11-20 19:09:39 +00:00
Ryan Culpepper
50bfe1b8be unstable: more docs, a few changes to gui libs
svn: r16887
2009-11-19 08:29:57 +00:00
Ryan Culpepper
89385ad309 macro-stepper: added second error location for set!
svn: r16886
2009-11-19 04:39:21 +00:00
Ryan Culpepper
92aa2fc780 unstable/gui/notify: added partial docs
svn: r16782
2009-11-15 13:05:34 +00:00
Ryan Culpepper
2051f3ab2a unstable: added class-iop, gui/prefs (needs doc), gui/notify (needs doc)
macro-debugger: changed imports for above, deleted dead code

svn: r16781
2009-11-15 11:23:40 +00:00
Ryan Culpepper
f042eb1e4d macro-debugger: eliminated deriv-find, use unstable/find
svn: r16775
2009-11-15 07:37:56 +00:00
Ryan Culpepper
32e38ca0e4 macro-stepper:
do compile-time evals when expanding
    fixes: (begin macro-def macro-use) pattern
  updated tests for lifts change

svn: r16762
2009-11-13 21:41:01 +00:00
Ryan Culpepper
daba183b08 unstable/syntax: added format-id
svn: r16629
2009-11-09 02:33:43 +00:00
Ryan Culpepper
d1439ef6c6 unstable/struct: added struct->list
some (cdr (vector->list (struct->vector x))) => (struct->list x)

svn: r16622
2009-11-08 21:17:51 +00:00
Ryan Culpepper
0a8fb1a47f macro stepper:
add keybinding (c:c;c:m) and menu item for running macro stepper

svn: r16567
2009-11-05 23:18:00 +00:00
Ryan Culpepper
a49688e5c8 macro-stepper: add missing possible error location
svn: r16486
2009-10-30 21:07:36 +00:00
Ryan Culpepper
e273dae9b1 macro-stepper: made syntax display faster, esp for early terms
calculate arrows etc wrt known binders instead of all binders

svn: r16416
2009-10-22 22:00:49 +00:00
Ryan Culpepper
74f402c7e2 macro-stepper: minor cleanups
svn: r16413
2009-10-22 20:14:16 +00:00
Ryan Culpepper
07321ca17c macro-stepper: syntax display speedups (?)
switched from style-deltas to styles
  tree traversal of ranges, avoid idempotent style changes

svn: r16407
2009-10-22 06:00:15 +00:00
Ryan Culpepper
98ce5f37af macro-stepper: eliminated spurious update on initial frame "resize"
svn: r16406
2009-10-22 05:50:06 +00:00
Ryan Culpepper
1ba5bd6487 macro-debugger: PR 10527: fixed "out of lifts" too-strict sanity check
svn: r16391
2009-10-20 21:32:33 +00:00
Jay McCarthy
4333342fce DrDr changes based on emails after Check Up
svn: r16369
2009-10-19 19:26:19 +00:00
Carl Eastlund
cf5c0a1b08 Abstracted out a function to set printing parameters for the
macro debugger and the syntax browser.

Set all printing parameters to their defaults (as observed
from both mzscheme and drscheme).

svn: r16254
2009-10-06 21:33:54 +00:00
Ryan Culpepper
a45782a7d2 macro-debugger: fixed #%expr regression due to lift cleanup
Please apply to the pre-release branch.

svn: r16173
2009-09-29 20:45:41 +00:00
Ryan Culpepper
9ca3192a60 redex, macro-debugger: stxclass -> syntax/parse, syntax/private/util
svn: r15986
2009-09-11 23:16:22 +00:00
Ryan Culpepper
7c2a7c9ef9 macro-debugger:
fixed scheme end of lifts issue (needs C fix too)
  added step limit to help catch nonterminating expansions

svn: r15950
2009-09-10 01:51:29 +00:00
Ryan Culpepper
985bf7bd11 macro-debugger: create new eventspace for macro stepper
svn: r15882
2009-09-04 21:56:17 +00:00
Ryan Culpepper
3e63caa887 merged changes from /branches/ryanc/sp2:
added syntax/parse library and documentation
  added syntax/id-table library and documentation

svn: r15376
2009-07-03 19:47:25 +00:00
Ryan Culpepper
ae01dea336 macro stepper: fixed opaque variable ref bug
svn: r15348
2009-06-30 22:41:05 +00:00
Ryan Culpepper
bf001f811d macro-debugger: disable lift errors
Do not apply to release branch.

svn: r14914
2009-05-22 00:39:13 +00:00
Ryan Culpepper
2e3a0bcd0d macro debugger:
fixed hiding bug with non-collection modules
  improved #%top-interaction elimination
Please apply changes for release.

svn: r14887
2009-05-20 22:43:39 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Ryan Culpepper
a2ebc93bd8 macro stepper:
fixed bug with opaque result of syntax-local-expand-expression
  fixed debug-file support

svn: r14395
2009-04-01 02:15:09 +00:00
Ryan Culpepper
ff9ebbde05 fix PR 9398: debugger and macro stepper buttons get out of sync wrt tabs
move enable/disable-evaluation extensions from tab mixin to unit-frame mixin

svn: r14118
2009-03-16 04:40:30 +00:00
Ryan Culpepper
e11a24fda8 macro stepper:
better module hiding
  display prefab structs
  updated tests

svn: r14085
2009-03-13 05:54:17 +00:00
Ryan Culpepper
e2f588554a macro debugger: fixes for PR 10090
pass1/pass2 for module-begin tagging vs module body expansion
  reset current syntax on entry to bind-syntaxes

svn: r13993
2009-03-06 21:20:24 +00:00
Ryan Culpepper
eb9fe4847f stxclass: created stxclass collection, with docs
svn: r13255
2009-01-22 05:50:55 +00:00
Ryan Culpepper
b75dfb878a macro stepper: fixed documentation build
(removed dependence on mred-kernel)

svn: r13152
2009-01-15 14:40:52 +00:00
Ryan Culpepper
10297fa579 macro stepper: added "factor common context" option
svn: r13143
2009-01-15 07:30:08 +00:00
Ryan Culpepper
b91874f41c macro stepper: more iop
svn: r13134
2009-01-15 00:10:09 +00:00
Ryan Culpepper
502edfb02f macro stepper: fixed interface bugs
svn: r13109
2009-01-14 06:11:59 +00:00
Ryan Culpepper
2aeb50134d macro stepper: converted more classes to use iop
svn: r13108
2009-01-14 06:04:57 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Ryan Culpepper
3b8c164074 macro stepper: changed syntax browser classes to use iop
-- This line, and those below, will be ignored--

M    macro-debugger/syntax-browser/properties.ss
M    macro-debugger/syntax-browser/display.ss
M    macro-debugger/syntax-browser/widget.ss
M    macro-debugger/syntax-browser/controller.ss
M    macro-debugger/syntax-browser/interfaces.ss
M    macro-debugger/syntax-browser/frame.ss
M    macro-debugger/util/class-iop.ss

svn: r13092
2009-01-13 20:36:16 +00:00
Ryan Culpepper
b8db5490f0 stxclass: turn off debugging printing
svn: r13091
2009-01-13 20:32:13 +00:00
Ryan Culpepper
ccfc18829f stxclass:
added call to internal-definition-seal in lib
  added static-of stxclass
  ported class-iop from macros planet package

svn: r13086
2009-01-13 05:57:01 +00:00
Ryan Culpepper
3d3bcfe2f7 macro stepper: cleaned up column-width detection/resizing
svn: r13082
2009-01-13 00:43:47 +00:00