On 2009-01-15, at 19:33EST, Max Carlson wrote:

P T Withington wrote:
Getting closer, but I still have some issues:
1) Is this supposed to work in swf9?  Eventually?

IWFM!

But, I thought swf9 did not have eval, and this seems to require eval?

3) I'm bothered by the use of eval when really we just want to dereference a path. There is a simple path evaluator in debugger.lzx, perhaps we should make that more generally available and use it here.

Yeah, it kind of bothered me too. I didn't want to move it to the wrapper Javascript, so I'm using eval instead...

I have a path evaluator in safeEval also - maybe we should have the debugger use that instead of keeping two different copies? I can refactor it if you'd like.

We should create a single implementation. It looks to me like the one in debugger.lzx is a little more general than the one in safeEval (the debugger handles `.` and `[`).

Reply via email to