Quote:Original post by theOcelot
Verbosity is one of the things I don't like about Spirit, along with the related problem of difficulty of use.
I know what you mean. The problem that I had with it was that the slowness of build times plus the inadequacy of the documentation led to a situation in which I was forced to do trial and error style programming with each trial and error cycle taking 5+ minutes to compile, very frustrating. However, once you get the basic structure of what you're trying to do working it isn't too bad, and you do get used to it. There's also some tricks that help with compile times. Splitting up your grammar across several compilation units helps and so forth.
Quote:Original post by theOcelot
If you're not using the default iterator type, Spirit is a pain. Or at least it was; I don't know about the new version, but from what I've seen the new version isn't very easy either...
I've never used spirit with anything but the default iterator so I don't know if version 2.1 or 2.2 is better in this regard than classic.
Quote:Original post by theOcelot
Would you support different iterator types?
Yeah, the parser objects would take a template argument for a token iterator. It would be intended to be used on input that was already tokenized rather than directly on characters like default usage of spirit.