|
@@ -29,7 +29,18 @@ myself
|
|
|
i
|
|
|
|
|
|
|
|
|
-In SELSL, everything is an object, and there are no stand alone variables.
|
|
|
+SELSL is object oriented but not class based. In stead it is prototype
|
|
|
+based much like the SELF language. In SELSL, everything is an object.
|
|
|
+Objects have slots that can contain other values. There are basic objects
|
|
|
+which evaluate to themselves, and excutable objects which perform
|
|
|
+some computation to produce their result.
|
|
|
+
|
|
|
+An object also has an effect on computation. Normal objects have no effect,
|
|
|
+but a Return causes the block to end execution early. A Throw
|
|
|
+will keep on unless if it is stopped with a Catch.
|
|
|
+
|
|
|
+Variables, and also arguments are simply slots of the current activation
|
|
|
+record of an executable object. There are no stand alone variables.
|
|
|
Eveything exists in something else, except for the top level "world".
|
|
|
There is also a "me" object which represents the the current actor
|
|
|
that is operating on the state of the world.
|
|
@@ -65,6 +76,8 @@ Create a red door as a door.
|
|
|
|
|
|
open red door
|
|
|
|
|
|
+cast cure light at smart bob
|
|
|
+
|
|
|
|
|
|
|
|
|
(This is
|