From 59418dafe0abc2b1ef2c251602397e1adbba5e77 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 14 Dec 2020 13:13:48 +1100 Subject: License added --- example/calc.adb | 3 +++ example/sentence.adb | 3 +++ example/ssss.adb | 3 +++ license.txt | 25 +++++++++++++++++++++++++ src/packrat-errors-parts.adb | 3 +++ src/packrat-errors.adb | 3 +++ src/packrat-errors.ads | 3 +++ src/packrat-lexers.adb | 3 +++ src/packrat-lexers.ads | 3 +++ src/packrat-no_lex.ads | 3 +++ src/packrat-parse_graphs.adb | 3 +++ src/packrat-parse_graphs.ads | 3 +++ src/packrat-parsers.adb | 3 +++ src/packrat-parsers.ads | 3 +++ src/packrat-standard.ads | 3 +++ src/packrat-tokens.adb | 3 +++ src/packrat-tokens.ads | 3 +++ src/packrat-traits.adb | 3 +++ src/packrat-traits.ads | 3 +++ src/packrat-utilities.adb | 3 +++ src/packrat-utilities.ads | 3 +++ src/packrat.adb | 3 +++ src/packrat.ads | 3 +++ test/packrat-lexers-debug.adb | 3 +++ test/packrat-lexers-debug.ads | 3 +++ test/packrat-parsers-debug.adb | 3 +++ test/packrat-parsers-debug.ads | 3 +++ test/rat_tests-errors.adb | 3 +++ test/rat_tests-errors.ads | 3 +++ test/rat_tests-lexers.adb | 3 +++ test/rat_tests-lexers.ads | 3 +++ test/rat_tests-parse_graphs.adb | 4 ++++ test/rat_tests-parse_graphs.ads | 3 +++ test/rat_tests-parsers.adb | 3 +++ test/rat_tests-parsers.ads | 3 +++ test/rat_tests-tokens.adb | 3 +++ test/rat_tests-tokens.ads | 3 +++ test/rat_tests-utilities.adb | 3 +++ test/rat_tests-utilities.ads | 3 +++ test/rat_tests.ads | 3 +++ test/test_main.adb | 3 +++ 41 files changed, 146 insertions(+) create mode 100644 license.txt diff --git a/example/calc.adb b/example/calc.adb index f7899f4..c891333 100644 --- a/example/calc.adb +++ b/example/calc.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO, diff --git a/example/sentence.adb b/example/sentence.adb index cdae38d..b6cded9 100644 --- a/example/sentence.adb +++ b/example/sentence.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO, diff --git a/example/ssss.adb b/example/ssss.adb index 387c02c..bcf2d75 100644 --- a/example/ssss.adb +++ b/example/ssss.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO, diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..41c1fae --- /dev/null +++ b/license.txt @@ -0,0 +1,25 @@ + + +SUNSET LICENSE +Version 1.0, June 2017 + + +1. You may copy, modify, use, sell, or distribute this work, verbatim or +modified, for any purpose. + +2. If you sell or distribute this work, whether verbatim or modified, you must +include a copy of this license, and you must make the source code available for +no extra charge. + +3. A modified version of this work must be clearly labeled as such. + +4. Derivative works must also be licensed under this license or a license of +equivalent terms. As an exception, linking this work with another, whether +statically or dynamically, does not impose any license requirements on the +other work. + +5. If a minimum of 15 years have passed since the date of first publishing for +a part of this work, then that part is placed into the public domain and you +may do whatever you want with it, regardless of all other clauses. + + diff --git a/src/packrat-errors-parts.adb b/src/packrat-errors-parts.adb index 5ad3482..663722d 100644 --- a/src/packrat-errors-parts.adb +++ b/src/packrat-errors-parts.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Fixed, diff --git a/src/packrat-errors.adb b/src/packrat-errors.adb index e362343..3f7c38f 100644 --- a/src/packrat-errors.adb +++ b/src/packrat-errors.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Fixed, diff --git a/src/packrat-errors.ads b/src/packrat-errors.ads index 57d7b9b..50fa966 100644 --- a/src/packrat-errors.ads +++ b/src/packrat-errors.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + package Packrat.Errors is diff --git a/src/packrat-lexers.adb b/src/packrat-lexers.adb index 34bd5c0..3a51e1a 100644 --- a/src/packrat-lexers.adb +++ b/src/packrat-lexers.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Errors; diff --git a/src/packrat-lexers.ads b/src/packrat-lexers.ads index 034590c..9fd61e2 100644 --- a/src/packrat-lexers.ads +++ b/src/packrat-lexers.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Traits; diff --git a/src/packrat-no_lex.ads b/src/packrat-no_lex.ads index 58a5627..ab80f26 100644 --- a/src/packrat-no_lex.ads +++ b/src/packrat-no_lex.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Traits, diff --git a/src/packrat-parse_graphs.adb b/src/packrat-parse_graphs.adb index 7d2d62f..28a03c9 100644 --- a/src/packrat-parse_graphs.adb +++ b/src/packrat-parse_graphs.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Fixed, diff --git a/src/packrat-parse_graphs.ads b/src/packrat-parse_graphs.ads index b302004..3d59b11 100644 --- a/src/packrat-parse_graphs.ads +++ b/src/packrat-parse_graphs.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Containers, diff --git a/src/packrat-parsers.adb b/src/packrat-parsers.adb index eba9e20..06a0b00 100644 --- a/src/packrat-parsers.adb +++ b/src/packrat-parsers.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Errors, diff --git a/src/packrat-parsers.ads b/src/packrat-parsers.ads index a98170f..e11d623 100644 --- a/src/packrat-parsers.ads +++ b/src/packrat-parsers.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Traits, diff --git a/src/packrat-standard.ads b/src/packrat-standard.ads index 005d17a..d3e89e4 100644 --- a/src/packrat-standard.ads +++ b/src/packrat-standard.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Traits, diff --git a/src/packrat-tokens.adb b/src/packrat-tokens.adb index 2e47db9..005cba6 100644 --- a/src/packrat-tokens.adb +++ b/src/packrat-tokens.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Characters.Latin_1; diff --git a/src/packrat-tokens.ads b/src/packrat-tokens.ads index 5018610..d636f55 100644 --- a/src/packrat-tokens.ads +++ b/src/packrat-tokens.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + private with Ada.Containers.Indefinite_Holders; diff --git a/src/packrat-traits.adb b/src/packrat-traits.adb index 2f9715f..2058a4f 100644 --- a/src/packrat-traits.adb +++ b/src/packrat-traits.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + package body Packrat.Traits is diff --git a/src/packrat-traits.ads b/src/packrat-traits.ads index 7f25dd9..676a563 100644 --- a/src/packrat-traits.ads +++ b/src/packrat-traits.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Tokens; diff --git a/src/packrat-utilities.adb b/src/packrat-utilities.adb index 97e4272..4712165 100644 --- a/src/packrat-utilities.adb +++ b/src/packrat-utilities.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Characters.Latin_1; diff --git a/src/packrat-utilities.ads b/src/packrat-utilities.ads index 15cd357..cde6b34 100644 --- a/src/packrat-utilities.ads +++ b/src/packrat-utilities.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Maps; diff --git a/src/packrat.adb b/src/packrat.adb index 8c1c463..32cb88f 100644 --- a/src/packrat.adb +++ b/src/packrat.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + package body Packrat is diff --git a/src/packrat.ads b/src/packrat.ads index e61fbc9..11d7d60 100644 --- a/src/packrat.ads +++ b/src/packrat.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Unbounded; diff --git a/test/packrat-lexers-debug.adb b/test/packrat-lexers-debug.adb index f7121e1..527f82f 100644 --- a/test/packrat-lexers-debug.adb +++ b/test/packrat-lexers-debug.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + package body Packrat.Lexers.Debug is diff --git a/test/packrat-lexers-debug.ads b/test/packrat-lexers-debug.ads index 0a8d1fe..89d9a24 100644 --- a/test/packrat-lexers-debug.ads +++ b/test/packrat-lexers-debug.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Containers.Vectors; diff --git a/test/packrat-parsers-debug.adb b/test/packrat-parsers-debug.adb index 744166a..9e61bcc 100644 --- a/test/packrat-parsers-debug.adb +++ b/test/packrat-parsers-debug.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Characters.Latin_1, diff --git a/test/packrat-parsers-debug.ads b/test/packrat-parsers-debug.ads index 7fd425b..70d1f31 100644 --- a/test/packrat-parsers-debug.ads +++ b/test/packrat-parsers-debug.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + generic package Packrat.Parsers.Debug is diff --git a/test/rat_tests-errors.adb b/test/rat_tests-errors.adb index ee95004..e82aa4c 100644 --- a/test/rat_tests-errors.adb +++ b/test/rat_tests-errors.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Errors; diff --git a/test/rat_tests-errors.ads b/test/rat_tests-errors.ads index adbdded..ce8af06 100644 --- a/test/rat_tests-errors.ads +++ b/test/rat_tests-errors.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; use Unit_Tests; diff --git a/test/rat_tests-lexers.adb b/test/rat_tests-lexers.adb index 7c2fb97..17fd20f 100644 --- a/test/rat_tests-lexers.adb +++ b/test/rat_tests-lexers.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + package body Rat_Tests.Lexers is diff --git a/test/rat_tests-lexers.ads b/test/rat_tests-lexers.ads index 6c8a4d7..23d18d2 100644 --- a/test/rat_tests-lexers.ads +++ b/test/rat_tests-lexers.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; diff --git a/test/rat_tests-parse_graphs.adb b/test/rat_tests-parse_graphs.adb index 878bee0..b835037 100644 --- a/test/rat_tests-parse_graphs.adb +++ b/test/rat_tests-parse_graphs.adb @@ -1,4 +1,8 @@ + +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO; with diff --git a/test/rat_tests-parse_graphs.ads b/test/rat_tests-parse_graphs.ads index 2ffe9bb..fdc3f5e 100644 --- a/test/rat_tests-parse_graphs.ads +++ b/test/rat_tests-parse_graphs.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; use Unit_Tests; diff --git a/test/rat_tests-parsers.adb b/test/rat_tests-parsers.adb index 872925a..2178097 100644 --- a/test/rat_tests-parsers.adb +++ b/test/rat_tests-parsers.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO, diff --git a/test/rat_tests-parsers.ads b/test/rat_tests-parsers.ads index 2b71f86..5a2d15f 100644 --- a/test/rat_tests-parsers.ads +++ b/test/rat_tests-parsers.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; diff --git a/test/rat_tests-tokens.adb b/test/rat_tests-tokens.adb index 95fe5ff..d5ef959 100644 --- a/test/rat_tests-tokens.adb +++ b/test/rat_tests-tokens.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Tokens; diff --git a/test/rat_tests-tokens.ads b/test/rat_tests-tokens.ads index 1804347..ca01e20 100644 --- a/test/rat_tests-tokens.ads +++ b/test/rat_tests-tokens.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; use Unit_Tests; diff --git a/test/rat_tests-utilities.adb b/test/rat_tests-utilities.adb index c1bb790..196c058 100644 --- a/test/rat_tests-utilities.adb +++ b/test/rat_tests-utilities.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Packrat.Utilities; diff --git a/test/rat_tests-utilities.ads b/test/rat_tests-utilities.ads index b3fcaee..a06bd06 100644 --- a/test/rat_tests-utilities.ads +++ b/test/rat_tests-utilities.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Unit_Tests; use Unit_Tests; diff --git a/test/rat_tests.ads b/test/rat_tests.ads index 9593667..540b244 100644 --- a/test/rat_tests.ads +++ b/test/rat_tests.ads @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Strings.Unbounded, diff --git a/test/test_main.adb b/test/test_main.adb index 3fdab35..0aafaf2 100644 --- a/test/test_main.adb +++ b/test/test_main.adb @@ -1,5 +1,8 @@ +-- This source is licensed under the Sunset License v1.0 + + with Ada.Text_IO, -- cgit