diff --git a/LICENSE_STDLIB b/LICENSE_STDLIB index e01d69c8e..2eb71a7c3 100644 --- a/LICENSE_STDLIB +++ b/LICENSE_STDLIB @@ -1,4 +1,4 @@ -Copyright (c) 2022 Christoffer Lernö and contributors +Copyright (c) 2022-2025 Christoffer Lernö and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 068b7c096..711041988 100644 --- a/README.md +++ b/README.md @@ -462,8 +462,13 @@ this functionality is non-essential and it is perfectly fine to user the compile #### Licensing -The C3 compiler is licensed under LGPL 3.0, the standard library itself is -MIT licensed. +Unless specified otherwise, the code in this repository is MIT licensed. +The exception is the compiler source code (the source code under `src`), +which is licensed under LGPL 3.0. + +This means you are free to use all parts of standard library, +tests, benchmarks, grammar, examples and so on under the MIT license, including +using those libraries and tests if your build your own C3 compiler. #### Editor plugins diff --git a/resources/LICENSE_RESOURCES b/resources/LICENSE_RESOURCES new file mode 100644 index 000000000..2eb71a7c3 --- /dev/null +++ b/resources/LICENSE_RESOURCES @@ -0,0 +1,20 @@ +Copyright (c) 2022-2025 Christoffer Lernö and contributors + +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. \ No newline at end of file diff --git a/test/LICENSE_TEST b/test/LICENSE_TEST new file mode 100644 index 000000000..2eb71a7c3 --- /dev/null +++ b/test/LICENSE_TEST @@ -0,0 +1,20 @@ +Copyright (c) 2022-2025 Christoffer Lernö and contributors + +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. \ No newline at end of file