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

try and get rid of stepAgain #26

Open
kevinbarabash opened this issue Jan 17, 2016 · 1 comment
Open

try and get rid of stepAgain #26

kevinbarabash opened this issue Jan 17, 2016 · 1 comment
Labels

Comments

@kevinbarabash
Copy link
Owner

Instead just return the location information in the yielded object for function calls and sequence expressions.

@kevinbarabash
Copy link
Owner Author

The goal is yield location information about the next expression using the current YieldStatement. Unfortunately, this is not always possible because you don't always know the next expression at compile time, e.g. ternary statements.

Look into replacing all functional calls with thunks that can be called later. This will allow us to yield the location of the expression we're about to call. All function calls will be made outside of the generator.

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

No branches or pull requests

1 participant