Skip to content
Perl6 module for making dictionaries
Other
  1. Other 100.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Dictionary
t
.travis.yml
LICENSE
META6.json
README.md

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 .
You can’t perform that action at this time.