Commit Graph

369 Commits

Author SHA1 Message Date
Ryan Culpepper
c7f86d276c removed useless requires 2011-09-27 19:28:44 -06:00
Ryan Culpepper
755cedc5ef improved check-requires
Added option to list the names used by each KEEP or BYPASS module
and indicate how used (as reference, in syntax template, etc).

Improved BYPASS; it now gives a list of suggested replacements
(and, optionally, what dependencies each replacement satisfies).

Incompatibly changed exports of macro-debugger/analysis/check-requires;
the new analysis result type is too complicated (and volatile, still)
to document for 0 other clients; focus on the script/output instead.

Removed check-requires-script.rkt.

Updated module whitelist.

Fixed syntax-local-value when identifier later used in def ctx
(destroyed binding information). This manifested as missed references
to modules that does define-local-member-name.

Fixed identifiers without syntax-source-module such as intro'd by
unit-from-context. This manifested as missed references to modules
that provided bindings used by unit-from-context forms.
2011-09-27 19:28:44 -06:00
Ryan Culpepper
98f7907258 disable debugging code accidentally left in 2011-09-20 15:52:29 -06:00
Ryan Culpepper
40439aa4ef removed useless requires 2011-09-20 14:49:49 -06:00
Ryan Culpepper
30d5381e98 updated macro debugger to work with begin-for-syntax changes
Also cleaned up support for lazy instantiation of phase>0
environments.
2011-09-20 14:49:49 -06:00
Matthew Flatt
d3c56c9f13 generalized `begin-for-syntax' 2011-09-08 14:06:00 -06:00
Eli Barzilay
6ebf3ab32d Revert "Abolish "typed-scheme"."
This reverts commit 49a89da818.

(Will be redone later today.)
2011-09-04 10:27:58 -04:00
Eli Barzilay
49a89da818 Abolish "typed-scheme". 2011-09-04 08:46:03 -04:00
Sam Tobin-Hochstadt
3122e559cb Fix require analysis heuristics for TS -> TR. 2011-09-03 22:47:01 -04:00
Robby Findler
ee17f7ce47 Revert "adjust the way the execute-callback is overridden so that this mixin"
This reverts commit 7dfffb3eb8.
2011-08-24 18:07:22 -05:00
Robby Findler
7dfffb3eb8 adjust the way the execute-callback is overridden so that this mixin
cooperates better with other mixins that might do similar things
2011-08-24 11:25:24 -05:00
Carl Eastlund
302cbb5275 Fixed a macro stepper bug: can't use zero? on syntax span, as it can be #f.
Please include in the upcoming release.
2011-07-19 03:07:53 -04:00
Ryan Culpepper
5cf2767e7a macro-stepper: update tests 2011-07-18 09:01:26 -06:00
Ryan Culpepper
0f0dd65d83 macro-stepper: update for new letrec-syntaxes+values expansion 2011-07-18 09:01:26 -06:00
Ryan Culpepper
91a2e283a6 macro-stepper: disable taint display until correct
Merge to release branch
2011-07-15 14:31:33 -06:00
Ryan Culpepper
5ec2fee90d macro-stepper: more work on syntax tainting 2011-07-02 23:32:02 -06:00
Ryan Culpepper
71a92f2957 macro-stepper: first step to making macro stepper aware of syntax tainting 2011-07-02 23:32:02 -06:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Ryan Culpepper
7517fa948f macro-stepper: another phase-1-init location
related to PR 11938
2011-06-27 10:21:12 -06:00
Ryan Culpepper
3e77a1096f macro-stepper: don't try to remove term when at end of list 2011-06-27 10:21:12 -06:00
Ryan Culpepper
0b47f0b7e2 close current macro stepper frame on Run, Macro Stepper, etc
closes PR 11964
2011-06-27 10:21:12 -06:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Vincent St-Amour
f24f451fd9 Document show-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
b39f21775a Add show-requires, which is friendlier on the eyes than check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
2e3e6822f3 Add documentation for check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
c55c89a31f Fix format string in check-requires. 2011-06-01 14:32:21 -04:00
Ryan Culpepper
761a4025ca fix warnings 2011-05-11 15:56:24 -06: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
Ryan Culpepper
ced7739d22 remove undocumented export (macro-debugger) 2011-04-25 21:55:42 -06:00
Robby Findler
fcfb422294 weeded out some more of the test-docs-complete.rkt files 2011-04-25 21:20:52 -05:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Ryan Culpepper
2c1d49de6f fixed macro stepper bug
Merge to release branch
2011-02-04 15:42:25 -07:00
Ryan Culpepper
1054c504ea fix macro stepper bug (missing hash)
Merge to release branch
2011-02-03 17:02:35 -07:00
Ryan Culpepper
5a10ca8fb1 macro-stepper: fix props panel size memory, better width calculation
see PR 11551
2010-12-17 12:03:54 -07:00
Ryan Culpepper
9f3ac86488 macro-stepper: avoid too-long labels in hiding policy display 2010-12-15 19:16:52 -07:00
Ryan Culpepper
af7f60f3b5 macro-stepper: smooth rounded rectangles
Closes PR 11489
2010-12-15 19:15:38 -07:00
Ryan Culpepper
6acf9b6e00 macro-stepper: untack arrows on navigation
Closes PR 11485
2010-12-09 12:19:13 -07:00
Ryan Culpepper
a45792ca1c macro-stepper: dummy editor-admin for image creation 2010-11-26 19:28:55 -07:00
Ryan Culpepper
e6cf77b61c macro-debugger: fixed image creator 2010-11-26 19:28:55 -07:00
Ryan Culpepper
eb1c164aca macro-stepper: extra guard in on-demand id-only popup submenu 2010-11-26 19:28:55 -07:00
Ryan Culpepper
de9538d1eb macro-debugger: refine position of mouse events 2010-11-26 19:28:54 -07:00
Ryan Culpepper
7dcd0d408c macro-stepper: map "s" and "h" keys to show and hide selected identifier 2010-11-11 19:10:26 -07:00
Ryan Culpepper
eeb7facdd6 macro-stepper: added module versions of trace, expand/step 2010-11-11 16:14:37 -07:00
Ryan Culpepper
3936a40717 macro-stepper: track phase of binders, definites 2010-11-09 17:02:35 -07:00
Ryan Culpepper
261d67a6e7 macro-stepper: pretty-print define-for-syntax etc 2010-11-09 17:02:35 -07:00
Ryan Culpepper
2620e750f3 macro-stepper: specialized data structure for definites 2010-11-09 17:02:35 -07:00
Ryan Culpepper
02f301b3b7 macro-stepper: reorganize code to make draw-arrows?=#f more useful 2010-11-09 11:40:32 -07:00
Ryan Culpepper
199450dd0c macro-stepper: faster step rendering
- lazily build on-click mapping
  - more precise un-styling on refresh
2010-11-09 10:03:45 -07:00
Ryan Culpepper
75079ec421 macro-stepper: gui improvements
- give "?" of ?-arrows a white background
  - improved clickback replacement
  - fixed tack/untack
2010-11-09 10:03:45 -07:00
Ryan Culpepper
a506d75b54 macro-stepper: replace clickbacks for syntax selection
fixed interval-map bug
2010-11-09 10:03:45 -07:00
Ryan Culpepper
82d6deebad macro-stepper: fixed deadlock (recursive yield) 2010-11-09 10:03:44 -07:00
Ryan Culpepper
1fe73ffaef macro-stepper: fix race condition in frame init / events 2010-11-09 10:03:44 -07:00
Ryan Culpepper
f97428ab1e macro-stepper: options: draw-arrows?, refresh-on-resize? 2010-11-05 13:47:53 -06:00
Ryan Culpepper
0d3b092097 macro-stepper: faster rendering, async improvements
added async stop button (and disable breaks around editor operations)
  eliminated redundant calls to refresh in display<%>
2010-11-05 13:47:01 -06:00
Ryan Culpepper
a3367fd0b4 macro-stepper: added thread/eventspace check
Closes PR 11364 (actually, earlier commit closed)
2010-10-29 16:54:26 -06:00
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