lucaswerkmeister / graaleneyj

experimental Graal implementation of eneyj (part of AbstractText)
GNU General Public License v2.0
8 stars 1 forks source link

Clean up dynamic object usage and runtime type hierarchy #6

Closed lucaswerkmeister closed 3 years ago

lucaswerkmeister commented 3 years ago

This makes ZObject the parent class of all runtime classes (moving “plain” objects to a new class, ZPlainObject) and uses dynamic object members for all types that can have dynamic members (rather than a Map). Dynamic members are also expected to be set by object creators, rather than passed into the object constructor.