Lets say I have a simple calculator grammar like the one defined in trunk\libs\spirit\example\fundamental\calc_plain.cpp
Now I would like to extend that grammar e.g. add support for sqrt()
One way would be modifying the existing grammar class (patch provided)
But what I would like is to create a new class that uses or inherits from the existing grammar class to provide the extended behavior.
That is, I would need both the calculator and the extended_calculator classes available, and without code duplication.
żIs this possible?