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

Add scopes field to expect-syntax #91

Open
jackfirth opened this issue Sep 14, 2017 · 2 comments
Open

Add scopes field to expect-syntax #91

jackfirth opened this issue Sep 14, 2017 · 2 comments

Comments

@jackfirth
Copy link
Owner

It should accept a syntax object that the input syntax should have the same scopes as. If the syntax-e argument to expect-syntax is a syntax object, this can default to that.

@jackfirth
Copy link
Owner Author

This can be done by taking a gensym and constructing two identifiers with it using the two different syntax objects for their lexical contexts, then comparing those identifiers with free-identifier=?.

@jackfirth
Copy link
Owner Author

Correction: use bound-identifier=?, not free-identifier=?. Duh.

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