Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
ArtistA large purple furry plushie pussycat, holding several brackets.
There are by now a confusing collection of parentheses and brackets in ::SHE+ILA:: . Here is a quick summary :
(1, 2, 3, 4) -- An array
(: fielda:8, fieldb:8 :) -- A DSECT. Each field has its width in bits.
(- woo=1, yay=2, squee=255 -) -- An ENUM. Defines a set of associated constants
Class <:: (woo=1, yay=2, squee=255); -- A class template, with each member given a default value
(@ base, length, access, flags @) -- A Descriptor
Array[subscript] -- Indexing of an array
Buf[<i>] -- Extraction of the i'th element of a Buf (buffer)
Foo <:: {ttyout("Hello World")}; -- A procedure
i <:: 4; {* i-- : ttyout(i) *} -- A loop which prints each value of i from 4 to 1 (exits when i is 0)
{! thread1, thread2, thread3 !} -- Three parallel thread functions which execute concurrently
{? DIV0 : dividetrap; ?Buf : bufhandler ?} -- Two event/exception handlers (virtual interrupts) which call functions asynchronously when certain expected events happen
Macro <:: {+ Macro stuff goes here +} -- A macro
{_ EAX <:: $1234; EBX <:: 5678; _} -- An assembler block
// This is a comment;
\\ And so is this;
Maybe there will be some other bracket types as ::SHE+ILA:: develops -- who knows, lol :)