>> case type count as c:
>> ....
>
> I find that there's too much going on in a single line now. With the
> extra "type" keyword, my mind gets stuck figuring out precedence rules.
I agree, its hard to read and too much to type from my perspective.
> For "switch" that would imply:
>
> case c as count:
>
> Is that any easier for the parser?
If not, would just
type count as c:
do the job? Although it mixes LHS and RHS again, it seems intuitive to
me. Finally it would be a tradeoff between ordering consistency and a
third keyword (like "->" or "in").
Jan
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev