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 support for property/attribute assignment #519

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

niknetniko
Copy link
Member

For example:

instance = Object()
instance.prop = 56

Most of the infrastructure to support this was already in place since we support reading properties, and we already support assignments.

Using this requires languages to support both object-orientation and assignments (so e.g. C structs are out).

Fixes #500

For example:

instance = new Object();
instance.prop = 56;

Most of the infrastructure to support this was already in place since we
support reading properties, and we already support assignments.
@niknetniko niknetniko merged commit 60b43a8 into master Jun 3, 2024
8 of 10 checks passed
@niknetniko niknetniko deleted the feature/property-assignment branch June 3, 2024 14:24
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.

Support attribute assignment
1 participant