Skip to content

thomasrstorey/KDL-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

KDL::Parser - Perl implementation of a KDL parser.

SYNOPSIS

use KDL::Parser;

my $parser = KDL::Parser->new();
my $document = $parser->parse_file('path/to/file.kdl');
# document is a hash with a `nodes` property
for my $node (@{$document->{nodes}}) {
  say $node->{name};
}
$document->print();

DESCRIPTION

KDL::Parser is a Perl implementation of the KDL (pronounced like "cuddle") document language. Learn more at https://github.com/kdl-org/kdl.

Currently it should be compatible with the KDL spec in terms of parsing and printing. However, in this early release there is no type handling outside of that required to handle string, number, and keyword values appropriately for pretty-printing.

LICENSE

Copyright (C) Thomas R Storey.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Thomas R Storey [email protected]

About

Perl implementation of a KDL parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages