Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
ArtistA beautiful purple-haired woman wearing a long purple velvet ankle-length dress with flouncy sleeves and purple suede high heels. She is extracting a plushie from a row of 5 plushies on the table.
In C++ the extract operator ">>" pops a value out of an input stream. In ::SHE+ILA:: we had previously used Buf =>> value for a similar purpose, or its indexed version Buf =>>[3] value to get for example the third value out of a Buf. However, because the extract operation gets a value in a similar way to subscripting an array, we now emphasise the "valueness" of the syntax by saying :
Buf[<3>] which is itself a value, rather than complicate things by using a temporary variable to hold the value. This is closer internally to what actually happens (choose entry N of the dope vector, push the item pointed to onto the stack, and close up the space to remove the element from the Buf.) We can now write expressions such as :
Foo <:: Buf[<1>] +Buf[<1>]
which pulls two elements from the head of Buf and adds them, like a reverse-polish calculator.