> >    opaque of T
> 
> Not sure I like this.  It seems too similar to the current syntax of
> tables and vectors (I do want to see the vector syntax eventually
> though).  It looks like T would be a yield value.

I see the similarity to other language elements rather as a consistent
form of integration. Why would the "T of Y" syntax only pertain to
container types? Admittedly, we have currently no other uses, but looks
like a reasonable one to me.

> opaque<MD5>

While this looks good to folks familiar with C++ and templates, it looks
like an exceptional one-off to the Bro language. As you said, it would
involve tweaking both lexer and parser, and when is a about to happen,
we should rethink the added value.

   Matthias
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to