Skip to content

Commit

Permalink
* VERSIONING CHANGE: This module is now using the Unix timestamp
Browse files Browse the repository at this point in the history
  as its version number format.

* LICENSING CHANGE: This compilation and all individual files in it
  are now under the nullary CC0 1.0 Universal terms:

  To the extent possible under law, 唐鳳 has waived all copyright and
  related or neighboring rights to Lingua-Sinica-PerlYuYan.
  • Loading branch information
Au Tang committed Nov 4, 2009
1 parent 230da6d commit 513eef3
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 107 deletions.
15 changes: 13 additions & 2 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[Changes for 1257301380 # 2009年11月 4日 周三 10時22分59秒 CST]

* VERSIONING CHANGE: This module is now using the Unix timestamp
as its version number format.

* LICENSING CHANGE: This compilation and all individual files in it
are now under the nullary CC0 1.0 Universal terms:

To the extent possible under law, 唐鳳 has waived all copyright and
related or neighboring rights to Lingua-Sinica-PerlYuYan.

[Changes for 0.11 - 2009-11-03]

* Fix parser; remove spaces at EOL.
Expand All @@ -12,8 +23,8 @@ Contributed by: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 <daxim@cpan.org>
[Changes for 0.10 - 2009-10-31]

* LICENSING CHANGE: This compilation and all individual files in it
(except for the bundled libsyck code) are now under the permissive
"MIT" license. See the COPYRIGHT section in README for the new terms.
are now under the permissive "MIT" license. See the COPYRIGHT section
in README for the new terms.

* Patch from Cornelius: Add support for UTF-8 literal text.

Expand Down
1 change: 0 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Makefile.PL List of files
MANIFEST
META.yml
README
SIGNATURE
t/0-basic.t
t/1-mult.t
t/2-table.t
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ use inc::Module::Install;
all_from 'lib/Lingua/Sinica/PerlYuYan.pm';
readme_from 'lib/Lingua/Sinica/PerlYuYan.pm';
requires 'Filter::Simple::Compile' => '0.02';
license 'cc0';

sign; WriteAll;
WriteAll;
52 changes: 14 additions & 38 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,30 @@ SYNOPSIS
輸空接段點 列終註泰來。

DESCRIPTION
The Lingua::Sinica::PerlYuYan makes it possible to write Perl programs
in Classical Chinese poetry in Perl.
It is now possible to write Perl programs in Classical Chinese poetry in
Perl.

(If you *have* to ask "Why?", please refer to Lingua::Romana::Perligata
(If one *has* to ask "Why?", please refer to Lingua::Romana::Perligata
for related information.)

This module uses the single-character property of Chinese to
disambiguate between keywords, thus whitespaces could be elided much
like in real Chinese writings.
disambiguate between keywords, so one may elide whitespaces much like in
real Chinese writings.

The vocabulary is in the 文言 (literary text) mode, not much used in
modern Chinese society; the common mode is 白話 (spoken text) mode with
multisyllabic words.
The vocabulary is in the 文言 (literary text) mode, not the common mode is
白話 (spoken text) mode with multisyllabic words.

You could use "Lingua::Sinica::PerlYuYan::translate()" (or simply as
"譯()") to translate a string containing English programs into Chinese.
"Lingua::Sinica::PerlYuYan::translate()" (or simply as "譯()") translates
a string containing English programs into Chinese.

SEE ALSO
Filter::Simple::Compile, Lingua::Romana::Perligata

AUTHORS
Au Tang <cpan@audreyt.org>
CC0 1.0 Universal
To the extent possible under law, 唐鳳 has waived all copyright and
related or neighboring rights to Lingua-Sinica-PerlYuYan.

COPYRIGHT
Copyright 2001-2009 by Au Tang <cpan@audreyt.org>.
This work is published from Taiwan.

This software is released under the MIT license cited below.
Additionally, when this software is distributed with Perl Kit, Version
5, you may also redistribute it and/or modify it under the same terms as
Perl itself.

The "MIT" License
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<http://creativecommons.org/publicdomain/zero/1.0>

29 changes: 0 additions & 29 deletions SIGNATURE

This file was deleted.

62 changes: 26 additions & 36 deletions lib/Lingua/Sinica/PerlYuYan.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use strict;
use Filter::Simple::Compile;
use Encode ();

our $VERSION = '0.11';
our $VERSION = 1257301380; # 2009年11月 4日 周三 10時22分59秒 CST

=encoding utf8
Expand All @@ -30,22 +30,19 @@ Lingua::Sinica::PerlYuYan - Perl in Classical Chinese in Perl
=head1 DESCRIPTION
The B<Lingua::Sinica::PerlYuYan> makes it possible to write Perl programs in
Classical Chinese poetry in Perl.
It is now possible to write Perl programs in Classical Chinese poetry in Perl.
(If you I<have> to ask "Why?", please refer to L<Lingua::Romana::Perligata> for
(If one I<has> to ask "Why?", please refer to L<Lingua::Romana::Perligata> for
related information.)
This module uses the single-character property of Chinese to disambiguate
between keywords, thus whitespaces could be elided much like in real Chinese
writings.
between keywords, so one may elide whitespaces much like in real Chinese writings.
The vocabulary is in the 文言 (literary text) mode, not much used in modern
Chinese society; the common mode is 白話 (spoken text) mode with multisyllabic
words.
The vocabulary is in the 文言 (literary text) mode, not the common mode is 白話
(spoken text) mode with multisyllabic words.
You could use C<Lingua::Sinica::PerlYuYan::translate()> (or simply as C<譯()>)
to translate a string containing English programs into Chinese.
C<Lingua::Sinica::PerlYuYan::translate()> (or simply as C<譯()>) translates a
string containing English programs into Chinese.
=cut

Expand Down Expand Up @@ -95,37 +92,30 @@ sub translate {
L<Filter::Simple::Compile>, L<Lingua::Romana::Perligata>
=head1 AUTHORS
=head1 CC0 1.0 Universal
Au Tang E<lt>cpan@audreyt.orgE<gt>
To the extent possible under law, 唐鳳 has waived all copyright and related
or neighboring rights to Lingua-Sinica-PerlYuYan.
=head1 COPYRIGHT
This work is published from Taiwan.
Copyright 2001-2009 by Au Tang E<lt>cpan@audreyt.orgE<gt>.
L<http://creativecommons.org/publicdomain/zero/1.0>
This software is released under the MIT license cited below. Additionally,
when this software is distributed with B<Perl Kit, Version 5>, you may also
redistribute it and/or modify it under the same terms as Perl itself.
=begin html
=head2 The "MIT" License
<p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
<a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/" style="text-decoration:none;">
<img src="http://i.creativecommons.org/l/zero/1.0/88x31.png" border="0" alt="CC0" />
</a>
<br />
To the extent possible under law, <a href="http://www.audreyt.org/" rel="dct:publisher"><span property="dct:title">唐鳳</span></a>
has waived all copyright and related or neighboring rights to
<span property="dct:title">Lingua-Sinica-PerlYuYan</span>.
This work is published from
<span about="http://www.audreyt.org/" property="vcard:Country" datatype="dct:ISO3166" content="TW">Taiwan</span>.
</p>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
=end html
=cut

Expand Down

0 comments on commit 513eef3

Please sign in to comment.