|
Boost Users : |
Subject: Re: [Boost-users] [Spirit 2] Questions related to generating grammars meta-dynamically
From: Max Motovilov (max_at_[hidden])
Date: 2010-12-01 08:51:15
> My advice is to take things one step at a time. Don't try to write a
> grammar that covers all the complexity of your input. Start with the
> simplest piece of the input and write a parser for that. Gradually
> add more rules to your grammar as you cover more complexity in the
> input.
Well, in my case the input is relatively simple (JSON), it's the
interpretation of the target types that complicates things... but your
point about the incremental approach is certainly taken :-)
...Max...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net