[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: select("#", ...) idiom
- From: Ben Sunshine-Hill <sneftel@...>
- Date: Wed, 14 Sep 2005 13:45:01 -0700
On 9/14/05, Mark Hamburg <mhamburg@adobe.com> wrote:
> Yes, but one could get the length of the first item by writing #(...).
>
> It seems like #... would be fairly useful assuming the implementation has
> ready access to the length of ...
>
> That being said, I also understand that this would further complicate the
> grammar since ... wouldn't always be an expression. It would essentially
> require the introduction of a non-terminal for
> expression-other-than-dotdotdot.
Why not simply tweak the compiler so that it recognizes #{...} as a
special case, and evaluates the expression without constructing a
table?