$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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...