Perl6 dictionaries creating module
Perl 6
Switch branches/tags
Nothing to show
Latest commit 5436b34 Jun 22, 2017 @prodotiscus committed on GitHub added travis status icon
Permalink
Failed to load latest commit information.
lib/Dictionary extended .language(...) method Jun 22, 2017
t create basic travis test Jun 22, 2017
.travis.yml remove hyphens Jun 22, 2017
LICENSE Initial commit Jun 22, 2017
META6.json plural Jun 22, 2017
README.md added travis status icon Jun 22, 2017

README.md

Build Status

Example

With Dictionary::Create::DSL you can create a dictionary article in .dsl format:

use Dictionary::Create;
my $article = Dictionary::Create::DSL::Article.new;
$article.set-title('duck');
my $meaning = $article.translation('a bird');
my $section = $article.m-tag(1, $meaning);
$article.append-line($section);
say $article.give(); # returns the .dsl article content

License

All files (unless noted otherwise) can be used, modified and redistributed under the terms of the Apache License Version 2. Examples (in the documentation, in tests or distributed as separate files) can be considered public domain.

Installation

To install this module, please use zef from https://github.com/ugexe/zef and type

zef install Dictionary::Create

or from a checkout of this source treeor from a checkout of this source tree,

zef install .