Difference between revisions of "Config-Grammar"

From Free Software Directory
Jump to: navigation, search
m (Blanked the page)
(Undo revision 43311 by Megalanya 0 (talk))
Line 1: Line 1:
 +
{{Entry
 +
|Name=Config-grammar
 +
|Short description=grammar-based user-friendly config parser
 +
|Full description=Config::Grammar is a module to parse configuration files. The
 +
configuration may consist of multiple-level sections with
 +
assignments and tabular data. The parsed data will be returned as
 +
a hash containing the whole configuration. Config::Grammar uses a
 +
grammar that is supplied upon creation of a Config::Grammar
 +
object to parse the configuration file and return helpful error
 +
messages in case of syntax errors. Using the makepod method you
 +
can generate documentation of the configuration file format.
  
 +
The maketmpl method can generate a template configuration file.
 +
If your grammar contains regexp matches, the template will not be
 +
all that helpful as Config::Grammar is not smart enough to give
 +
you sensible template data based in regular expressions. The
 +
related function maketmplmin generates a minimal configuration
 +
template without examples, regexps or comments and thus allows an
 +
experienced user to fill in the configuration data more
 +
efficiently.
 +
|Homepage URL=https://metacpan.org/release/Config-Grammar
 +
|User level=
 +
|Component programs=
 +
|VCS checkout command=
 +
|Computer languages=Perl
 +
|Status=
 +
|Is GNU=No
 +
|Version identifier=1.10-2
 +
|Version download=http://ftp.debian.org/debian/pool/main/libc/libconfig-grammar-perl/libconfig-grammar-perl_1.10.orig.tar.gz
 +
|Submitted by=Debian import
 +
|Submitted date=2015-07-17
 +
}}
 +
{{Import
 +
|Source=Debian
 +
|Source link=http://packages.debian.org/sid/libconfig-grammar-perl
 +
|Source packages=libconfig-grammar-perl 1.10-2
 +
|Date=2015-07-17
 +
}}
 +
{{Project license
 +
|License=Other
 +
|License copyright=Copyright Copyright (C) 2000-2005 by ETH Zurich. All rights reserved.Copyright Copyright (C) 2007 David Schweikert. All rights reserved.
 +
|License verified by=Debian: Salvatore Bonaccorso <carnil@debian.org>
 +
|License verified date=2014-02-28
 +
|License note=License: gpl-1+ or artistic
 +
}}
 +
{{Person
 +
|Real name=David Schweikert
 +
|Role=contact
 +
|Email=david@schweikert.ch
 +
}}
 +
{{Resource
 +
|Resource kind=Download
 +
|Resource URL=https://metacpan.org/release/Config-Grammar
 +
}}

Revision as of 07:15, 15 February 2017


[edit]

Config-grammar

https://metacpan.org/release/Config-Grammar
grammar-based user-friendly config parser

Config::Grammar is a module to parse configuration files. The configuration may consist of multiple-level sections with assignments and tabular data. The parsed data will be returned as a hash containing the whole configuration. Config::Grammar uses a grammar that is supplied upon creation of a Config::Grammar object to parse the configuration file and return helpful error messages in case of syntax errors. Using the makepod method you can generate documentation of the configuration file format.

The maketmpl method can generate a template configuration file. If your grammar contains regexp matches, the template will not be all that helpful as Config::Grammar is not smart enough to give you sensible template data based in regular expressions. The related function maketmplmin generates a minimal configuration template without examples, regexps or comments and thus allows an experienced user to fill in the configuration data more efficiently.





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian: Salvatore Bonaccorso <carnil@debian.org>

Verified on

28 February 2014

Notes

License: gpl-1+ or artistic




Leaders and contributors

Contact(s)Role
David Schweikert contact


Resources and communication

AudienceResource typeURI
Debian (Ref) (R)https://tracker.debian.org/pkg/libconfig-grammar-perl
Perl (Ref)https://metacpan.org/release/Config-Grammar


Software prerequisites




Entry




Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/libconfig-grammar-perl

[[Category:]]





"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.






Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.