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

Refactor infrastructure for supporting lists #24

Closed
quephird opened this issue Mar 20, 2024 · 2 comments
Closed

Refactor infrastructure for supporting lists #24

quephird opened this issue Mar 20, 2024 · 2 comments

Comments

@quephird
Copy link
Owner

Right now, knowledge and logic of how to access and manipulate lists is spread across LoxList, Interpreter, and NativeFunction. Moreover, there is currently a loophole of sorts which allows instantiation of a List but that doesn't have any of the features of a LoxList, and this is also potentially confusing to users. There ought to be a way to centralize all the business logic for handling of lists, and to close the loophole.

@quephird
Copy link
Owner Author

Loophole addressed in #30

@quephird
Copy link
Owner Author

I'm gonna close this for now, may reopen later...

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