Commit Graph

29 Commits

Author SHA1 Message Date
Eli Barzilay
6e4cad01e6 #lang racket' -> #lang racket/base' conversions in stepper. 2012-11-07 08:03:46 -05:00
John Clements
f933535639 adding external interface 2012-08-27 22:23:26 -07:00
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
John Clements
721af649d7 reformatting 2012-05-03 10:55:49 -07:00
Matthew Flatt
0197902309 add var-ref->mod-decl-insp' and switch cur-code-insp' uses
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.

The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Stephen Chang
35f3a29020 fix lazy stepper tests
add case to annotate/module-top-level in stepper/private/annotate.rkt
2011-08-22 17:58:22 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
John Clements
d81a95ef26 cleanup, tentatively annotating all top-level-vars 2011-06-29 12:44:35 -07:00
John Clements
d839b9fea6 renamed define-struct-hint to black-box-expr, applied to require as well 2011-06-29 00:28:08 -07:00
John Clements
b9a802386e set the current directory based on the tab's get-directory before starting the stepper.
Closes PR 11048
2011-06-28 17:07:12 -07:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Stephen Chang
225c011502 fix toplevel variable dereferencing in lazy stepper
in lazy/lazy.rkt
- add 'lazy-op stepper-syntax-property to op in lazy #%app

in stepper/private/annotate.rkt
- in varref-abstraction, check for 'lazy-op operator for toplevel vars, and use
  varref-break-wrap if property = #t
2011-04-09 15:55:12 -04:00
Stephen Chang
e41ba9c77b in lazy/lazy.rkt
- modify cond for stepper
- add support for multiple values in stepper
  - add inspector to multiple-values struct
  - hide split-values call in ~define-values

in tests/stepper/
- add tests for cond

in stepper/private/annotate.rkt
- in annotate/top-level, allow arbitrary top-level terms
  (no error in else case), otherwise exprs like let throws error

in stepper/private/
   reconstruct.rkt
   lazy-highlighting.rkt
- add support for eq? eqv? equal? lazy fns
2011-04-06 18:44:35 -04:00
Stephen Chang
d04d3fadc3 - add if tests for lazy stepper
in stepper/private/reconstruct.rkt
- in recon-inner, in called app case, add "take" to lazy fn case and fix to
  handle more than unary fns
2011-04-06 18:42:55 -04:00
Stephen Chang
6921960c5e simple example working: (define (f x) (+ x x)) (f (+ 1 2))
in stepper/private/model.rkt
- add debugging outputs
- reformat code

in stepper/private/macro-unwind.rkt:
- in fall-through
  - add case for lazy racket app
  - add case for procedure-extract-target
- in unwind, change recur procedure for fn hints to unwind
  (was recur-on-pieces)

in racket/private/promise.rkt
- add unwind fn as stepper-hint syntax property

in stepper/private/reconstruct.rkt
- add constructor application case back
- in recon-inner
  - in app called case, dont show ellipses for force
  - initialize partially-eval-promise table
  - reformat answer code
  - add caching of running promises
- in recon-value, add reconstructing of partially evaluated promises

in stepper-private/annotate.rkt
- in annotate/module-top-level, add lazy racket top level case - to hide top
  level forcer

in lazy/lazy.rkt
- use hidden-~ and hidden-! instead of ~ and !
2011-04-06 18:42:53 -04:00
Stephen Chang
ca4ea39123 in stepper/private/annotate.rkt:
- add cases to annotate/top-level to recognize Lazy Racket programs
2011-04-06 18:40:03 -04:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
John Clements
368f345901 more stepper cleanup 2010-12-08 16:37:15 -08:00
John Clements
ff973b628b stepper refactoring and cleanup 2010-12-08 16:37:15 -08:00
John Clements
fec54283fb applicable structs now working, closure table is gone 2010-12-07 20:44:35 -08:00
John Clements
9eaee0e6f1 about to give up for now... 2010-12-07 20:44:34 -08:00
John Clements
0d2a4b98db moving to another machine 2010-12-07 20:44:34 -08:00
John Clements
6f84a1c143 checkpointing progress toward applicable structs instead of hash table 2010-12-07 20:44:34 -08:00
John Clements
34fbc9a06f frightening bug, #%if was capturing everything 2010-10-20 12:05:06 -07:00
John Clements
60dabc8ad7 may have fixed cond in stepper tests 2010-10-19 17:50:35 -07:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00