NAME
Lingua::Sinica::PerlYuYan - Perl in Classical Chinese in Perl
SYNOPSIS
# The Sieve of Eratosthenes - 埃拉托斯芬篩法
use Lingua::Sinica::PerlYuYan;
用籌兮用嚴 井涸兮無礙。
印曰最高矣 又道數然哉。
截起吾純風 賦小入大合。
習予吾陣地 並二至純風。
當起段賦取 加陣地合始。
陣地賦篩始 繫繫此雜段。
終陣地兮印 正道次標哉。
輸空接段點 列終註泰來。
DESCRIPTION
The Lingua::Sinica::PerlYuYan makes it possible to write Perl programs
in Classical Chinese poetry in Perl.
(If you *have* 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.
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.
You could use "Lingua::Sinica::PerlYuYan::translate()" (or simply as
"譯()") to translate a string containing English programs into Chinese.
SEE ALSO
Filter::Simple::Compile, Lingua::Romana::Perligata
AUTHORS
Au Tang <cpan@audreyt.org>
COPYRIGHT
Copyright 2001-2009 by Au Tang <cpan@audreyt.org>.
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.