From b5a74f4bbb55626d0f5a3329c19bee2811214ae7 Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Wed, 1 Nov 2023 11:31:10 +0900 Subject: [PATCH] chore: This project is open-source! --- LICENSE.md | 11 +++++++++++ docs/syntax.md | 1 + package/origlang-ast/Cargo.toml | 1 + package/origlang-cli/Cargo.toml | 1 + package/origlang-compiler-entrypoint/Cargo.toml | 1 + package/origlang-compiler-scanner-example/Cargo.toml | 1 + package/origlang-compiler/Cargo.toml | 1 + package/origlang-diagnostics/Cargo.toml | 1 + .../origlang-interop-frontend-webserver/Cargo.toml | 1 + .../www/index.html | 2 ++ package/origlang-interop/Cargo.toml | 1 + package/origlang-ir-optimizer/Cargo.toml | 1 + package/origlang-ir/Cargo.toml | 1 + package/origlang-platform/Cargo.toml | 1 + package/origlang-runtime/Cargo.toml | 1 + package/origlang-source-span/Cargo.toml | 1 + package/origlang-testsuite/Cargo.toml | 1 + package/origlang-typesystem-model/Cargo.toml | 1 + 18 files changed, 29 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..00c9be9c --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,11 @@ +# LICENSE +I'm lazy, the target is specified with glob. +## Source code +* `package/**/*.rs` \ + Their usage is subject to per-crate license. See each `Cargo.toml` for their license. +* `compile/**/*.origlang` \ + Their usage is subject to [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/deed.en). +## Documentation + +* `docs/**/*.md` \ + Their usage is subject to [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/deed.en). diff --git a/docs/syntax.md b/docs/syntax.md index 55433fe5..4fd30cf2 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -1,3 +1,4 @@ + # 文法 この言語の文法は至って単純です。 diff --git a/package/origlang-ast/Cargo.toml b/package/origlang-ast/Cargo.toml index d81e0d3e..c59b20e7 100644 --- a/package/origlang-ast/Cargo.toml +++ b/package/origlang-ast/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-ast" version = "0.1.0" edition = "2021" +license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-cli/Cargo.toml b/package/origlang-cli/Cargo.toml index 35e3d7d4..d4bbf137 100644 --- a/package/origlang-cli/Cargo.toml +++ b/package/origlang-cli/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-cli" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-compiler-entrypoint/Cargo.toml b/package/origlang-compiler-entrypoint/Cargo.toml index ef59df72..b58f8b6f 100644 --- a/package/origlang-compiler-entrypoint/Cargo.toml +++ b/package/origlang-compiler-entrypoint/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-compiler-entrypoint" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-compiler-scanner-example/Cargo.toml b/package/origlang-compiler-scanner-example/Cargo.toml index 1f87efc9..66f855db 100644 --- a/package/origlang-compiler-scanner-example/Cargo.toml +++ b/package/origlang-compiler-scanner-example/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-compiler-scanner-example" version = "0.1.0" edition = "2021" +license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-compiler/Cargo.toml b/package/origlang-compiler/Cargo.toml index 4eb80df4..2b00a193 100644 --- a/package/origlang-compiler/Cargo.toml +++ b/package/origlang-compiler/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-compiler" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-diagnostics/Cargo.toml b/package/origlang-diagnostics/Cargo.toml index 2f924fbf..52c5d6a8 100644 --- a/package/origlang-diagnostics/Cargo.toml +++ b/package/origlang-diagnostics/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-diagnostics" version = "0.1.0" edition = "2021" +license = "CC0-1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-interop-frontend-webserver/Cargo.toml b/package/origlang-interop-frontend-webserver/Cargo.toml index b3039cda..6921edd2 100644 --- a/package/origlang-interop-frontend-webserver/Cargo.toml +++ b/package/origlang-interop-frontend-webserver/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-interop-frontend-webserver" version = "0.1.0" edition = "2021" +license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-interop-frontend-webserver/www/index.html b/package/origlang-interop-frontend-webserver/www/index.html index 8b84d82c..c3da2d29 100644 --- a/package/origlang-interop-frontend-webserver/www/index.html +++ b/package/origlang-interop-frontend-webserver/www/index.html @@ -1,3 +1,5 @@ + + diff --git a/package/origlang-interop/Cargo.toml b/package/origlang-interop/Cargo.toml index e6b5f178..efa23bfb 100644 --- a/package/origlang-interop/Cargo.toml +++ b/package/origlang-interop/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-interop" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-ir-optimizer/Cargo.toml b/package/origlang-ir-optimizer/Cargo.toml index 1d34f2df..354e6c54 100644 --- a/package/origlang-ir-optimizer/Cargo.toml +++ b/package/origlang-ir-optimizer/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-ir-optimizer" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-ir/Cargo.toml b/package/origlang-ir/Cargo.toml index 3e147e76..98f6d244 100644 --- a/package/origlang-ir/Cargo.toml +++ b/package/origlang-ir/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-ir" version = "0.1.0" edition = "2021" +license = "CC0-1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-platform/Cargo.toml b/package/origlang-platform/Cargo.toml index a88ba611..d7969356 100644 --- a/package/origlang-platform/Cargo.toml +++ b/package/origlang-platform/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-platform" version = "0.1.0" edition = "2021" +license = "CC0-1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-runtime/Cargo.toml b/package/origlang-runtime/Cargo.toml index 94c76bdd..9b99c63d 100644 --- a/package/origlang-runtime/Cargo.toml +++ b/package/origlang-runtime/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-runtime" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-source-span/Cargo.toml b/package/origlang-source-span/Cargo.toml index cdfe6f36..55ccc6cd 100644 --- a/package/origlang-source-span/Cargo.toml +++ b/package/origlang-source-span/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-source-span" version = "0.1.0" edition = "2021" +license = "CC0-1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-testsuite/Cargo.toml b/package/origlang-testsuite/Cargo.toml index cc5d427e..7f82968d 100644 --- a/package/origlang-testsuite/Cargo.toml +++ b/package/origlang-testsuite/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-testsuite" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/package/origlang-typesystem-model/Cargo.toml b/package/origlang-typesystem-model/Cargo.toml index 4b682dfb..a74e8ba0 100644 --- a/package/origlang-typesystem-model/Cargo.toml +++ b/package/origlang-typesystem-model/Cargo.toml @@ -2,6 +2,7 @@ name = "origlang-typesystem-model" version = "0.1.0" edition = "2021" +license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html