Commit Graph

137 Commits

Author SHA1 Message Date
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
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
89385ad309 macro-stepper: added second error location for set!
svn: r16886
2009-11-19 04:39:21 +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
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
1ba5bd6487 macro-debugger: PR 10527: fixed "out of lifts" too-strict sanity check
svn: r16391
2009-10-20 21:32:33 +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
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
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
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
10297fa579 macro stepper: added "factor common context" option
svn: r13143
2009-01-15 07:30:08 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Ryan Culpepper
056e8a6bb1 macro-debugger:
fixed PR 10000 (case of eval during expansion in module/pass1)
  fixed display of multiple terms in stepper

svn: r12993
2009-01-03 19:07:32 +00:00
Ryan Culpepper
6fdba44edc macro debugger:
underline definite binders
  add rename/shift mapping so module final term retains binding info

svn: r12843
2008-12-14 07:56:37 +00:00
Ryan Culpepper
c47cbb564a macro stepper: reorg. lifting error checking
svn: r12703
2008-12-04 21:35:42 +00:00
Ryan Culpepper
7fd78779e4 macro stepper: improved 'provide' handling
svn: r12685
2008-12-03 05:59:18 +00:00
Ryan Culpepper
8cad79c2bf macro stepper: fixed disappearing term bug
svn: r12684
2008-12-03 05:27:54 +00:00
Ryan Culpepper
f78ce2c9f3 macro stepper: changed hiding policy impl
svn: r12332
2008-11-06 17:10:44 +00:00
Ryan Culpepper
1fcfc8a8e4 macro stepper: workaround for occasional out-of-sync rename
svn: r9945
2008-05-23 16:56:41 +00:00
Matthew Flatt
24739359e4 Ryan's macro-stepper patches
svn: r9794
2008-05-10 11:02:47 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Matthew Flatt
5165d9e855 sync Ryan's macro-debugger changes
svn: r9166
2008-04-04 17:38:23 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Ryan Culpepper
13a3c31ad5 changed macro-debugger to use v4 syntax (mostly)
svn: r8544
2008-02-05 21:56:49 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Ryan Culpepper
c68035079f Macro stepper: better error handling
svn: r7890
2007-12-03 13:38:20 +00:00
Ryan Culpepper
60fe499e4e merged changes from branches/ryanc/ms-v4
svn: r7741
2007-11-15 18:37:40 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Ryan Culpepper
da4c99f231 Macro stepper: fail gracefully on frontier-computation errors
svn: r7231
2007-08-30 21:44:10 +00:00
Ryan Culpepper
2be282a0be Macro Stepper: merged new ui from branches/ryanc/ms-new-ui
svn: r7215
2007-08-29 20:42:01 +00:00
Ryan Culpepper
927c5b5b46 Macro stepper:
fixed bug in hiding + lifts in module
  explicit error on lift/let

svn: r6228
2007-05-17 17:56:08 +00:00
Ryan Culpepper
3cf3fe7ed9 Macro stepper: bug in match clause
svn: r6183
2007-05-08 21:22:55 +00:00
Ryan Culpepper
e4e5ec4074 Macro stepper:
- removed dead seek-syntax code
  - fixed bug related to hiding + errors
  - fixed bug finding bindings in interrrupted expansion

svn: r6182
2007-05-08 20:56:37 +00:00
Ryan Culpepper
28ce091fb2 Macro stepper: fixed bug in frontier tracking
svn: r6113
2007-05-01 19:17:01 +00:00
Ryan Culpepper
4c30528212 Macro stepper: hiding process tracks phase
svn: r5955
2007-04-16 15:54:07 +00:00
Ryan Culpepper
d29f1d82fc Macro stepper:
added option to force letrec transformation
  made macro hiding slightly more resilient in presence of local actions

svn: r5932
2007-04-13 21:26:49 +00:00
Ryan Culpepper
bdd53d5f3c Macro stepper: reductions preserve properties etc
svn: r5931
2007-04-13 21:25:34 +00:00
Ryan Culpepper
ea00e7a68b Macro stepper: changed rep/parsing of local-expand etc
svn: r5849
2007-03-30 20:09:44 +00:00
Ryan Culpepper
a056844d33 Macro stepper: fixed handling of #%expression
svn: r5848
2007-03-30 18:15:17 +00:00
Ryan Culpepper
64f062f5a5 Macro stepper:
improved interaction of hiding and lifting (outside of modules, mostly)
  only mzscheme's top-interaction is stripped off automatically now

svn: r5754
2007-03-08 03:20:15 +00:00
Ryan Culpepper
3facbd99ab Macro stepper: added final definite reference result
svn: r5746
2007-03-07 05:22:42 +00:00
Ryan Culpepper
bb937c80a1 Macro stepper: improved frontier tracking and macro hiding
svn: r5724
2007-03-03 09:08:23 +00:00
Ryan Culpepper
c340b21110 Macro stepper: added basic expansion-frontier tracking and display
svn: r5715
2007-03-01 23:45:55 +00:00
Ryan Culpepper
e675ebf323 Macro stepper:
fixed bug in reductions wrt letrec-syntaxes+values
  added more binding arrows

svn: r5702
2007-02-27 23:44:25 +00:00
Ryan Culpepper
75a0a02355 Macro stepper: started tracking definite uses, added definite arrows
svn: r5700
2007-02-27 22:42:07 +00:00
Ryan Culpepper
a1bc722259 Macro stepper: fixed bug in reductions wrt internal define-syntax
svn: r5698
2007-02-27 21:14:37 +00:00
Ryan Culpepper
0a194c3eae Macro stepper: added env/renaming tracking
svn: r5669
2007-02-23 08:01:33 +00:00
Ryan Culpepper
204516bad9 Macro stepper: factored derivation synthesis code into separate module
svn: r5585
2007-02-10 03:46:12 +00:00
Ryan Culpepper
64695b46d8 Macro stepper: working on jump-to (incomplete)
svn: r5584
2007-02-10 03:25:36 +00:00
Ryan Culpepper
94ee28f1d5 Macro stepper: fixed internal error
svn: r5583
2007-02-09 18:21:10 +00:00
Ryan Culpepper
ca3c367aab Macro stepper:
fixed bugs re: internal define-syntax
  de-unitized hiding again, disabled extra navigation for now
  fixed bug in letrec-syntaxes w/o var bindings
  fixed bugs in block splicing
  distinguished booleans and keywords in syntax browser

svn: r5578
2007-02-09 08:27:02 +00:00
Ryan Culpepper
c4c5d6cd13 Macro stepper: eliminated (unneeded) synchronization from tracing
svn: r5544
2007-02-02 19:56:03 +00:00
Ryan Culpepper
d76d947d93 Macro stepper: internal debugging improvements
svn: r5511
2007-01-30 22:32:21 +00:00
Ryan Culpepper
043c5e3d8c Macro stepper: fixed another foci type bug
svn: r5477
2007-01-27 19:18:28 +00:00
Ryan Culpepper
ef1f77c33f Macro stepper:
cleaned up representation of big (localaction) contexts
  unitized hiding impl
  added (broken/experimental) navigation tools (jump, zoom)

svn: r5468
2007-01-26 19:53:55 +00:00
Ryan Culpepper
8c8e0d36e7 Macro stepper: fixed bug in error steps (foci)
svn: r5466
2007-01-26 18:23:57 +00:00
Ryan Culpepper
3fe785014a Macro stepper: minor bug fix
svn: r5460
2007-01-25 19:16:14 +00:00
Ryan Culpepper
9774e0926d Changes to macro stepper (internal):
refactored context rep in steps to retain frame structure
  fixed bug in syntax-restamp (bogus template, broke colors)
    needs revisiting

svn: r5450
2007-01-25 00:32:29 +00:00
Ryan Culpepper
0b35093018 Macro stepper preserves position when hiding policy changed, etc
svn: r5338
2007-01-12 22:56:21 +00:00
Ryan Culpepper
9330d96ad7 Macro stepper:
simplified match patterns, eliminated old dollar-sign patterns
  added derivs to reductions; prep for jump-to and zoom-in
  changed step-note to step-type

svn: r5316
2007-01-11 23:16:58 +00:00
Ryan Culpepper
7d0d3da0dc Fixed macro-stepper to work with #%top-interaction
svn: r5268
2007-01-08 22:16:35 +00:00
Ryan Culpepper
056683743d Merged changes to macro-debugger from /branches/ryanc/md5 4899:5119
updated to change in expansion of lexical variables
  many UI updates and tweaks
  improved syntax properties panel
  added expand-only and expand/hide
  added rudimentary textual stepper
  fixed PR 8395 by adding snipclass for hrule-snip
  fixed PR 8431: reductions and block splicing
  fixed PR 8433: handling unquote and macro hiding w/ errors in hidden terms

svn: r5120
2006-12-14 21:25:21 +00:00
Ryan Culpepper
97d27f5e08 Updates to macro stepper:
Handle errors in BindSyntax
  Fixed lift-deriv hiding typo
  Removed same-marks from partitions
  When stepper autodisables hiding, update panel
  Refactored stepper update function
  Fixed internal error handling

svn: r4851
2006-11-14 07:50:21 +00:00
Ryan Culpepper
d2fbbc4a9b Improved handling of lifts in modules
svn: r4522
2006-10-08 04:14:56 +00:00
Ryan Culpepper
e0bf9a6e5b Fixed bug in nonlinearity-detection
Improved tracking of module renamings

svn: r4521
2006-10-08 04:09:11 +00:00
Ryan Culpepper
7240ea7fab Improved macro hiding in presence of lifts
svn: r4513
2006-10-07 16:47:56 +00:00
Ryan Culpepper
595ed01172 Trying to improve module handling
svn: r4506
2006-10-06 04:53:15 +00:00
Ryan Culpepper
459b86900b Fixed some hiding+modules interactions
Fixed some hiding+renames interactions

svn: r4463
2006-10-02 15:31:33 +00:00
Ryan Culpepper
27ce8d0f3b Fixed hiding bugs
in case-lambda, fixed renaming bug
  in let-values and letrec-values, fixed hiding on errors
  fixed do-rename loop; now let bound-id=? works as expected!
Added hide.ss to debug.ss exports

svn: r4347
2006-09-15 13:18:50 +00:00
Ryan Culpepper
4c41e5515d Added events for lift-to-let
Added rename-tracking to macro hiding

svn: r4339
2006-09-14 19:13:26 +00:00
Ryan Culpepper
62c6fad315 Fixed paren coloring related to #%app hiding
svn: r4306
2006-09-11 07:42:49 +00:00
Ryan Culpepper
1a2eea24ad Fixed case-lambda reductions bug
Removed let*-values prule, faked as mrule
Suppressed copies of warning messages

svn: r4246
2006-09-05 19:58:57 +00:00
Ryan Culpepper
61798f478e Macro debugger changes merged from /branches/ryanc/md2 4050:4176
Fixed macro hiding on applications
  Stepper font depends on framework settings
  Fixed hiding policies and gui wrt lexical vs global bindings
  Macro hiding removes renaming steps
  Better handling of nonlinear subterms & local actions
  Automatic pretty-print resizing
  Handled local-bind action (partial?)
  Enabled module language
  Disabled struct contracts for faster compilation
  Fixed syntax-browser on boxes, 3d syntax; normalized print params
  Fixed PR 8246: syntax-browser mishandled non-ascii characters

svn: r4178
2006-08-28 22:58:52 +00:00
Ryan Culpepper
adb230f3c3 Merged 4023:4047 from /branches/ryanc/md1
- Fixed macro hiding for letrec-syntaxes+values
  - Fixed module tracing (prevented required modules from being traced)
  - Better auto-scroll in gui
  - Fixed reductions bug in letrec-syntaxes+values
  - Added hide library syntax option

svn: r4048
2006-08-13 03:28:43 +00:00
Ryan Culpepper
d91e2b4502 Added the macro stepper
svn: r3987
2006-08-08 20:32:58 +00:00