Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hi there,
Anyone knows about Parsers and there is many modules for that ... what I think.. are there a GENERATORS. What I mean is some technology like grammars that can easify text generation...
And better a combination of both parser-generator.. Yes I know I can use Perl for this.. but I think of some more declarative i.e. bison like syntax...
I need it for configuration files generation..

it should be possible to generate the text files in mixed fashon ..i.e. not from the begining to the end, but
conditionaly insert text depending on the current state in diferent part of the resulting file...
It should be possible also to generate a good indentation so that the resulting file is human readable..

etc..etc... :"))
any ideas

and if there is technologies for this is there a modules.. their names..

Title edit by tye