Spirit Grammars Repository

File Author Info
simple_cpp_lexer Joel de Guzman
joel-at-boost-consulting.com
A very simple lexer that recognises c++ lexical entities such as keywords, identifiers, preprocessor directives, etc., and calls user supplied semantic actions per recognized entity. See cpp_to_html and quickdoc (in the Spirit Applications Repository) for applications using this grammar.