Some updates

Lendvai Attila Attila.Lendvai at netvisor.hu
Wed Oct 29 01:06:54 PST 2003


:: In the last few days, some additions have been made to 
:: Slate. A summary:
:: 
:: Optional keyword arguments are now available for the 
:: interpreter. Optionals are declared and used as "&keyword:" 
:: and default to a Nil value when not passed by the caller 
:: currently. They can also be declared for unary, binary, and 
:: keyword sends equally. Optionals for any block can be added 
:: through "&keyword" in the block header. For both, the name 
:: of the keyword and the resulting input parameter name are 
:: the same. This isn't adequately covered in the manual yet, 
:: but I'll have something added soon. They also aren't used in 
:: any libraries yet, while we consider how we would like to 
:: use them and incorporate them into existing interfaces.
:: 
:: Also, I've re-organized the macro section of the 
:: programmer's manual to be more clear about how they work and 
:: what their intended purpose and common uses are. See 
:: http://slate.tunes.org/progman/node10.html

i think the macro section is now fairly clear, and ok to help those who
are not completly familiar with the concept of macros. imho it starts
even those who have never seen macros and have some brain.

some more tiny examples that show the power of macros could give a
little to it, and makes the reader even more curious. instead of
skipping the section in the name of "dragons be here". but i guess there
are more priorities...

also as a reference here's an irc log that helps people like me to more
deeply understand macros:
http://tunes.org/~coreyr/read.php?chan=slate&date=03.10.24 from 13:43:01

:: Some more 
:: additions may be coming shortly. We're also taking 
:: suggestions and comments, as always.

looking forward to it!

water, novo, and everybody contributing, keep up the good work!

- 101



More information about the Slate mailing list