| 1 | # Copyright (c) 2025-2026 Philipp Schafft | ||
| 2 | |||
| 3 | # licensed under Artistic License 2.0 (see LICENSE file) | ||
| 4 | |||
| 5 | # ABSTRACT: module to interact with the famibeib language | ||
| 6 | |||
| 7 | |||
| 8 | package Lingua::famibeib; | ||
| 9 | |||
| 10 | use v5.16; | ||
| 11 | use strict; | ||
| 12 | use warnings; | ||
| 13 | |||
| 14 | use Carp; | ||
| 15 | |||
| 16 | our $VERSION = v0.07; | ||
| 17 | |||
| 18 | use parent 'Data::Identifier::Interface::Known'; | ||
| 19 | |||
| 20 | my @_wellknown = ( | ||
| 21 | Data::Identifier->new(uuid => '1d668738-8aef-4cb4-a4ed-9368e872a93f', displayname => 'famibeib')->register, | ||
| 22 | ); | ||
| 23 | |||
| 24 | # ---- Private helpers ---- | ||
| 25 | |||
| 26 | sub _known_provider { | ||
| 27 | my ($pkg, $class, %opts) = @_; | ||
| 28 | croak 'Unsupported options passed' if scalar(keys %opts); | ||
| 29 | return (\@_wellknown, rawtype => 'uuid') if $class eq ':all'; | ||
| 30 | croak 'Unsupported class'; | ||
| 31 | } | ||
| 32 | |||
| 33 | 1; | ||
| 34 | |||
| 35 | __END__ | ||
| 36 | |||
| 37 | =pod | ||
| 38 | |||
| 39 | =encoding UTF-8 | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | Lingua::famibeib - module to interact with the famibeib language | ||
| 44 | |||
| 45 | =head1 VERSION | ||
| 46 | |||
| 47 | version v0.07 | ||
| 48 | |||
| 49 | =head1 SYNOPSIS | ||
| 50 | |||
| 51 | use Lingua::famibeib; | ||
| 52 | |||
| 53 | This is the top level module for famibeib support. | ||
| 54 | famibeib is an artificial language. | ||
| 55 | |||
| 56 | Most users are likely interested in | ||
| 57 | L<Lingua::famibeib::Text> (for text handling and parsing), | ||
| 58 | L<Lingua::famibeib::Sentence> (for sentence related actions), | ||
| 59 | and L<Lingua::famibeib::Word> (for everything about words). | ||
| 60 | |||
| 61 | This module inherits from L<Data::Identifier::Interface::Known>. | ||
| 62 | |||
| 63 | =head1 AUTHOR | ||
| 64 | |||
| 65 | Philipp Schafft <lion@cpan.org> | ||
| 66 | |||
| 67 | =head1 COPYRIGHT AND LICENSE | ||
| 68 | |||
| 69 | This software is Copyright (c) 2025-2026 by Philipp Schafft <lion@cpan.org>. | ||
| 70 | |||
| 71 | This is free software, licensed under: | ||
| 72 | |||
| 73 | The Artistic License 2.0 (GPL Compatible) | ||
| 74 | |||
| 75 | =cut |