Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to assign variables in Debug.Session using e.g. $x = ... #26

Open
toivoh opened this issue Dec 13, 2012 · 0 comments
Open

Allow to assign variables in Debug.Session using e.g. $x = ... #26

toivoh opened this issue Dec 13, 2012 · 0 comments

Comments

@toivoh
Copy link
Owner

toivoh commented Dec 13, 2012

E.g. the syntax

$x = f(5)

would evaluate f(5) in the current scope, and assign the value to the variable Debug.Session.x.

Need to keep a pure interpolated symbol such as $x in the AST, make it look like a symbol, but not a normal one, and to provide the proper setter to graft.
Consider: Should all interpolations be evaluated at the point of occurrence instead of beforehand? Probably, would be inconsistent otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant