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 case insensitive symbol lookup in Scope and inherit @internal_properties #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thatsOven
Copy link

@thatsOven thatsOven commented Jul 19, 2024

Adds feature described in issue #9.

The feature is implemented in such a way that the necessary mappings for case insensitive lookups are generated on the fly and cached when such a lookup is requested, and then dynamically get updated with each symbol addition. This way, no time or memory is wasted in case a case insensitive lookup is never performed.

Also addresses issue #25.

Internal properties are now added onto existing ones through the @internal_properties decorator. This means that subclasses can inherit __internal_properties__ from relative superclasses without overwriting them.

adds feature described in issue Strumenta#9
they are no longer overwritten in subclasses, rather they add onto the already present ones (inherited from the relative superclass)
@thatsOven thatsOven changed the title Add case insensitive symbol lookup in Scope Add case insensitive symbol lookup in Scope and inherit @internal_properties Jul 22, 2024
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

Successfully merging this pull request may close these issues.

1 participant