Commit Graph

137 Commits

Author SHA1 Message Date
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Ryan Culpepper
321cd1b4ae macro-stepper: fix for lifted provides
closes PR 13236
2012-11-05 17:26:46 -05:00
Ryan Culpepper
1137b444ad macro-stepper: show errors in provide expansion
closes PR 13018
2012-10-22 18:00:45 -04:00
Ryan Culpepper
678fc4d6f8 make macro stepper recover from jumps within expansion 2012-10-11 17:44:51 -04:00
Ryan Culpepper
f0c03ad921 macro-debugger: updates for submodules 2012-05-07 13:26:07 -06:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Ryan Culpepper
6b02b507a9 macro-debugger: fix parser for local-actions in mod pass 2 2012-03-18 03:31:17 -06:00
Ryan Culpepper
e13cce267d macro-debugger: workaround for instrumentation problem in provide
The expansion observer is not propagated to expand_all_provides.
2012-03-14 23:19:25 -06:00
Ryan Culpepper
57bdb62547 macro-debugger: fix deriv parser for begin-for-syntax 2012-03-14 22:25:42 -06:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Ryan Culpepper
df3a9d8c7f macro-stepper: fix value of absent evaluations (local actions) on error
related to PR 12316
2011-11-30 09:24:24 -07:00
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
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
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
7517fa948f macro-stepper: another phase-1-init location
related to PR 11938
2011-06-27 10:21:12 -06:00
Ryan Culpepper
761a4025ca fix warnings 2011-05-11 15:56:24 -06:00
Ryan Culpepper
ced7739d22 remove undocumented export (macro-debugger) 2011-04-25 21:55:42 -06: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
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
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
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
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
efc0356605 macro-stepper: replaced {scheme -> racket}, {*.ss -> *.rkt}, etc 2010-07-01 17:05:06 -06:00
Ryan Culpepper
3d21f97f3f macro-stepper: added emit-local-step 2010-06-10 16:40:52 -06:00
Ryan Culpepper
2068acc22b macro-stepper: added api for macro "remarks" (no docs yet) 2010-06-10 12:54:09 -06:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04: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
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
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
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