lambda syntax tutorial

Neal Gafter neal at gafter.com
Thu Aug 5 04:20:58 PDT 2010


Mautizio-

Careful with the syntax.  The source fragment

A<B | C>D

could be either an expression or a variable declaration.  I imagine that the
parser now requires lookahead in code that could previously have been parsed
in one pass.  This is likely to be inconvenient as the language is further
extended.

Cheers,
Neal

On Wed, Aug 4, 2010 at 9:47 AM, Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:

> Hi,
> since most of the features are available in the compiler, I took the time
> to write a pretty basic syntax document/tutorial that shows the syntax
> supported by the current lambda prototype. As usual, the document does *not*
> imply that the currently implemented syntax is also the final one - the aim
> of this document is to simply help developers working with the lambda
> prototype.
>
> Thanks
> Maurizio
>
>
>
>


More information about the lambda-dev mailing list