Skip to content

sfedia/perl6-Dictionary-Create

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
t
 
 
 
 
 
 
 
 
 
 

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 .

About

Perl6 module for making dictionaries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%