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

more control over normalization by expansion #90

Closed
wilbowma opened this issue Aug 9, 2019 · 2 comments
Closed

more control over normalization by expansion #90

wilbowma opened this issue Aug 9, 2019 · 2 comments

Comments

@wilbowma
Copy link
Owner

wilbowma commented Aug 9, 2019

This is also part of turnstile-core and non-critical.

Currently, evaluation happens during macro expansion. Essentially all evaluation, it seems. This is a problem for tooling (e.g., turnstile-drracket loses track of things since they no longer exist after expansion), and is against most intuition, and probably the semantics we want.

e.g., define actually produces a macro that inlines the definition everywhere, application expands to app/eval which attempts to perform the beta reduction during expansion, and similarly with elim.

A few syntax parameters should allow us more control, continue using this technique for conversion, but not perform all computation during expansion.

@stchang
Copy link
Collaborator

stchang commented Jul 2, 2020

dupe of #37?

@wilbowma
Copy link
Owner Author

wilbowma commented Jul 2, 2020

Yup

@wilbowma wilbowma closed this as completed Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants