...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Spirit.Lex components fall into a couple of generalized concepts. The Lexer is the most fundamental concept. All Spirit.Lex components are models of the Lexer concept. PrimitiveLexer, UnaryLexer, and NaryLexer are all refinements of the Lexer concept.
The following sections provide details on these concepts.