• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版188a79c5f8bae1a1ce5fc48760f515f052b2aa47 (tree)
时间2023-04-02 03:26:02
作者dyknon <dyknon@user...>
Commiterdyknon

Log Message

add README and copyright related text.

更改概述

差异

--- /dev/null
+++ b/README
@@ -0,0 +1,21 @@
1+= Text::Hjson
2+
3+== About
4+
5+It is Hjson <https://hjson.github.io/> parser written in perl.
6+
7+== Usage
8+
9+my $result = Text::Hjson->decode($hjson);
10+
11+$hjson here should be a decoded utf8 string.
12+
13+== Copyright
14+
15+Test cases in t/hjson_official.t is distributed under MIT lisence.
16+Copyright notices and licenses can be found in the file itself.
17+
18+Other portions of this packages are written by dyknon in 2023.
19+they are associated to CC0 1.0
20+<https://creativecommons.org/publicdomain/zero/1.0/>.
21+Copyright is waived.
--- a/t/hjson_official.t
+++ b/t/hjson_official.t
@@ -7,6 +7,30 @@ use Test2::V0;
77 use Text::Hjson;
88 use JSON;
99
10+# copyright of test cases in @tests:
11+#
12+# The MIT License (MIT)
13+#
14+# Copyright (c) 2014, 2015 Christian Zangl
15+#
16+# Permission is hereby granted, free of charge, to any person obtaining a copy
17+# of this software and associated documentation files (the "Software"), to deal
18+# in the Software without restriction, including without limitation the rights
19+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20+# copies of the Software, and to permit persons to whom the Software is
21+# furnished to do so, subject to the following conditions:
22+#
23+# The above copyright notice and this permission notice shall be included in all
24+# copies or substantial portions of the Software.
25+#
26+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32+# SOFTWARE.
33+
1034 my @tests = (
1135 {
1236 name => "charset2",