On 01/04/2016 01:25 PM, Russel Winder via Digitalmars-d wrote:
What is the problem with having the << and >> operators do input
output. Very object-oriented.

What is the connection between using shift operators for I/O and object orientation?

But it would be D. Boost.Sprint code may look like EBNF, but it is C++.
[snip]
I avoid regular expressions except when editing using ed, sed, or
emacs, so I cannot properly comment on the above. However I find
Boost.Sprint a very sensible way of using compile-time meta-object
protocols. You write a grammar in EBNF in the source code, and the
compiler writes the parser. Excellent use of internal DSL. And type
safe.

I don't think regexen were the point as much as an example. What is Boost.Sprint? I haven't heard of it, and can't find it. Thanks! -- Andrei

Reply via email to