Autogen guide 1 AutoGen - The Automated Program Generator For version August Bruce Korb bkorb gnu org CAutoGen copyright c - Bruce Korb This is the second edition of the GNU AutoGen documentation Published by Bruce Korb Redwood Dr Santa Cruz CA AutoGen is

AutoGen - The Automated Program Generator For version August Bruce Korb bkorb gnu org CAutoGen copyright c - Bruce Korb This is the second edition of the GNU AutoGen documentation Published by Bruce Korb Redwood Dr Santa Cruz CA AutoGen is free software you can redistribute it and or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version of the License or at your option any later version AutoGen is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details You should have received a copy of the GNU General Public License along with this program If not see http www gnu org licenses This manual is for GNU AutoGen version updated August Copyright c - by Bruce Korb Permission is granted to copy distribute and or modify this document under the terms of the GNU Free Documentation License Version or any later version published by the Free Software Foundation with no Invariant Sections no Front-Cover Texts and no Back-Cover Texts CThe Automated Program Generator The Automated Program Generator This ?le documents AutoGen version It is a tool designed for generating program ?les that contain repetitive text with varied substitutions This document is very long because it is intended as a reference document For a quick start example See Section Example Usage page The AutoGen distribution includes the basic generator engine and several add-on libraries and programs Of the most general interest would be Automated Option processing See Chapter AutoOpts page which also includes stand-alone support for con ?guration ?le parsing See Section Features page See Chapter Add-Ons page section for additional programs and libraries associated with AutoGen This edition documents version August CChapter Introduction Introduction AutoGen is a tool designed for generating program ?les that contain repetitive text with varied substitutions Its goal is to simplify the maintenance of programs that contain large amounts of repetitious text This is especially valuable if there are several blocks of such text that must be kept synchronized in parallel tables An obvious example is the problem of maintaining the code required for processing program options and con ?guration settings Processing options requires a minimum of four di ?erent constructs be kept in proper order in di ?erent places in your program You need at least The ag character in the ag string code to process the ag when it is encountered a global state variable or two and a line in the usage text You will need more things besides this if you choose to implement long option names con ?guration rc ini ?le processing environment variable settings and keep all the documentation for these up to date This can be done mechanically with the proper templates and this program In fact it has already been done and AutoGen itself uses it See Chapter AutoOpts page

  • 26
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager