Still, the Life program serves as an interesting example of NewtonScript programming. Structure of NewtonScript NewtonScript is a dynamic language with an interesting object system. In other words, the data itself is typed, and any data type can be assigned to any variable. The language includes an automatic storage manager that reclaims unused structures behind the scenes so that the programmer doesn't need to keep track of when an object is no longer in use. Each slot has a name and a value, and the value can be of any data type, including another frame or a function.
Methods are simply slots that have functions as their values.
Frames can also inherit from other frames. Instead, it supports two types of inheritance, prototype inheritance and parent inheritance. Prototypes are considered read-only at run time. Any prototype slot that you change at run time is copied to the inheriting frame and changed there. Parent inheritance differs in that a change to a slot in a child frame affects the parent and other ancestral frames.