Moto 0.19.0 release date
David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Thu, 6 Mar 2003 15:30:48 -0500
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Message-ID | <[email protected]> |
So here's my dilemma about the 19 release. I have 'short form'
function identification working in my workarea right now. What this
really means is that if I have a function:
int ifunci(int i){ return 23 * i; }
All of the following expressions can be used to get an identifier to
that function:
&ifunci(<int>?) // Cast Identifier form
&ifunci(?) // Identifier form
ifunci(<int>?) // Cast short form
ifunci(?) // Uncast short form
ifunci // Short form
I'm pretty sure at the end of the day the '&' operator will stick
around ... although many people will likely never use it since the
short form will be favored. The dilemma is that in order to offer short
form syntax '?' becomes an expression in the parser that's allowed as
an argument to any function or method call. This is fine, but when its
used in combination with non-'?' arguments than suddenly people are
creating partially evaluated functions which I don't have the code to
support yet.
What this means to me right now are
1) I retag beta 1 (with the free bsd IDENTIFIER fix) as moto 0.19.0 and
release tomorrow without offering short form syntax.
2) I allow short form syntax and throw 'not yet supported' syntax
errors every time someone ends up identifying a partially applied
function. Then tag that and release (maybe in a day or two)
3) I hold off on release until I implement partially applied functions
(stopping short of implementing anonymous functions). This may be
another week away.
What do people think ?
-Dave