New motivation, arrays.

The current status of the toy language is still pre-05. I got new motivation to work on the language. So its development will continue…

Right now, language-implemented functions cannot have named parameters. And user-implemented functions cannot have unnamed parameters. So in this post, I will discuss my motivation to correct that situation.

The hash character will be the symbol used by toy to indicate a many-members variable in the context of function-parameters.  Any variable starting with the hash character will be a normal array variable.

Arrays will be variable that will save the order of the variables put in (FILO). No variable-target will allowed in an array. So I don’t know for now whether a single parameter will be usable for a total call to a function or not.

 

Leave a Reply