[cap-talk] Demonstrating Horton success case with logging
Jed Donnelley
capability at webstart.com
Sun May 20 22:37:15 EDT 2007
At 04:12 AM 5/20/2007, Kevin Reid wrote:
>On May 20, 2007, at 3:19, Jed Donnelley wrote:
>
> > In terms of playing with it - pardon my ignorance of E, rune, etc.
> > - but can you tell me how I can essentially "source" some of the
> > program elements in order to more quickly get to the point at the
> > end where I run a.start() but with modified log points or whatever?
> > Perhaps you can point me to some docs that might help?
>
>def load(file) {
> def [v, s] := <elang:syntax.EParser>(file.getTwine()) \
> .evalToPair(interp.getTopScope())
> interp.setTopScope(s)
> return v
>}
>
>Evaluate this in the repl, then load(<file:my-horton-stuff.eexpr>).
>All names defined by the expression in the file will be in scope at
>the repl.
>
>There ought to be a way to do something like this for an updoc file,
>but I don't have it yet.
Thanks Kevin. That got me going.
--Jed http://www.webstart.com/jed-signature.html
More information about the cap-talk
mailing list