dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 4 forks source link

Add support for property/attribute assignment #519

Closed niknetniko closed 4 weeks ago

niknetniko commented 4 weeks ago

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