Sunday, 21 August 2011

Playing around with Boost.Spirit - Parsing integer triplets

I'm exploring Boost.Spirit and while doing so, I'm trying to parse integer triplets for input of the following form:
(8,7,15)
(0,0,1) (0,3,2) (0,6,3)
(1,0,4) (1,1,5)