Re: mrl syntax

Piyawadee Sukaviriya ([email protected])
Sun, 23 Apr 1995 21:43:13 -0400 (EDT)

Somehow I have thought that Expression would only return Boolean.
Yes whe it's satisfied, and no when it's not. If that's true (and
I think it should be), then the type after the keyword as in
"Expression<Boolean>: is not needed.

BTW, that is an inconsistent use of < .. > any how. Should we decide
to allow variations in the return type, the form ought to look different.

--Noi
>
> Thanks, Kurt. Just a comment about the syntax:
>
> > attribute end_condition : Expression; // Here type is Boolean
> > attribute init_procedure : Expression; // Here type is None
> > // stands for void.
>
> Why not write Expression<Boolean>? The way we are planning to handle
> expressions in the object system, the type of the return value of expressions
> is used for type checking.
>
> Pablo
>
>