Here is an example parser that I wrote based on the tutorials that you should be able to adapt... http://softobjects.co.uk/mediawiki-1.16.0/index.php/Boost::Spirit_Config_File_Parser hope it helps -- View this message in context: http://boost.2283326.n4.nabble.com/Parsing-statements-from-ascii-files-in-arbitrary-order-into-hierarchies-of-structs-using-boost-spirit-tp4199965p4200823.html Sent from the Boost - Users mailing list archive at Nabble.com. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users