[Bro-Dev] [Proposal] Language extensions for better Broker support
jan.grashoefer at gmail.com
Tue Jan 3 14:25:50 PST 2017
>> 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").
More information about the bro-dev