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

Lazy evaluation #37

Open
3 tasks
jespercockx opened this issue Aug 1, 2024 · 0 comments
Open
3 tasks

Lazy evaluation #37

jespercockx opened this issue Aug 1, 2024 · 0 comments

Comments

@jespercockx
Copy link
Owner

Our evaluator is already set up with the possibility of lazy evaluation, all we'd need to do is the following:

  • Keep track of which values in the environment have already been evaluated
  • Add a new 'update' frame for updating a value in the environment with the current focus term
  • Push an update frame to the stack whenever we start evaluating an unevaluated variable.
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

1 participant