Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Text Generators?

by Anonymous Monk
on Feb 16, 2003 at 18:50 UTC ( [id://235766]=perlquestion: print w/replies, xml ) Need Help??

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

Replies are listed 'Best First'.
•Re: Generators
by merlyn (Sage) on Feb 16, 2003 at 20:50 UTC
Re: Generators
by dws (Chancellor) on Feb 16, 2003 at 19:56 UTC
    What I mean is some technology like grammars that can easify text generation...

    Bone::Easy is kind of a joke, but it embeds a mechanism that may be what you're looking for.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://235766]
Approved by Louis_Wu
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-20 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found