Topic: [Q] Op Ovl and Grammar Descriptions (was Why no persistence and RegEx..)


Author: s5vijen@portland.watson.ibm.com (Anil Vijendran)
Date: 1995/06/09
Raw View
    John>  RegGram G0; // null RegGram G1("string"); // recognise
    John> a string ...  G10 = (G5 || G7) && *G3 && +G2 && opt(G7);

I remember seeing an article in SIGPLAN/OOPSLA on how to overload
operators to build grammar descriptions in C++. It goes something like
this:

 lhs -> a + b + c + d
     |  e + f

I would be grateful if someone can point to me the full reference to
that article.

Thanks for your time.
--
Peace.... +<:-)

Anil