diff --git a/LICENSE.md b/LICENSE similarity index 93% rename from LICENSE.md rename to LICENSE index a53eacf..4477adc 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2020-2025 Kayne Ruse, KR Game Studios +Copyright (c) 2020-2026 Kayne Ruse, KR Game Studios This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/README.md b/README.md index 30e223c..10068ed 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

-

This is a work in progress, and is not fit for purpose. I hope I can get it to a useable state, but personal issues can often make dedicating myself to a project difficult. Your patience and support is greatly appreciated.

+**This is a work in progress, and is not yet fit for purpose. I hope I can get it to a useable state, but personal issues can often make dedicating myself to a project difficult. Your patience and support is greatly appreciated.** # Toy v2.x @@ -13,7 +13,7 @@ This repository holds the reference implementation for Toy version 2.x, written # Nifty Features * Simple C-like/JS-like syntax -* Intermediate AST representation +* Intermediate AST and bytecode representations * Strong, but optional type system * First-class functions and closures * Extensible with imported native code @@ -28,15 +28,9 @@ Watch this space. # Building -TODO: Look into cmake +Watch this space. -Supported platforms are: `linux-latest`, `windows-latest`, `macos-latest`, using [GitHub's standard runners](https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories). - -Support for NetBSD is present, but not guaranteed. - -To build the shared library, run `make source`. -To build the shared library and repl, run `make repl`. -To build and run the test suites, run `make tests` (`make tests-gdb` and `make tests-valgrind` options are also available). +(`make` and `make tests` might help.) # Tools @@ -48,7 +42,7 @@ Watch this space. # License -This source code is covered by the Zlib license (see [LICENSE.md](LICENSE.md)). +This source code is covered by the Zlib license (see [LICENSE](LICENSE) for details). # Contributors and Special Thanks @@ -64,6 +58,4 @@ Various Anons - Feedback # Patreon Supporters -Watch this space. - You can show your support and be listed here by joining my [Patreon](https://patreon.com/krgamestudios). diff --git a/repl/main.c b/repl/main.c index e6c6ec5..25e0f7b 100644 --- a/repl/main.c +++ b/repl/main.c @@ -182,24 +182,26 @@ void versionCmdLine(int argc, const char* argv[]) { printf("The Toy Programming Language, Version %d.%d.%d %s\n\n", TOY_VERSION_MAJOR, TOY_VERSION_MINOR, TOY_VERSION_PATCH, TOY_VERSION_BUILD); //copy/pasted from the license file - there's a way to include it directly, but it's too finnicky to bother - const char* license = "\ -Copyright (c) 2020-2025 Kayne Ruse, KR Game Studios\n\ -\n\ -This software is provided 'as-is', without any express or implied\n\ -warranty. In no event will the authors be held liable for any damages\n\ -arising from the use of this software.\n\ -\n\ -Permission is granted to anyone to use this software for any purpose,\n\ -including commercial applications, and to alter it and redistribute it\n\ -freely, subject to the following restrictions:\n\ -\n\ -1. The origin of this software must not be misrepresented; you must not\n\ - claim that you wrote the original software. If you use this software\n\ - in a product, an acknowledgment in the product documentation would be\n\ - appreciated but is not required.\n\ -2. Altered source versions must be plainly marked as such, and must not be\n\ - misrepresented as being the original software.\n\ -3. This notice may not be removed or altered from any source distribution.\n\n"; + const char* license = + "Copyright (c) 2020-2026 Kayne Ruse, KR Game Studios\n" + "\n" + "This software is provided 'as-is', without any express or implied\n" + "warranty. In no event will the authors be held liable for any damages\n" + "arising from the use of this software.\n" + "\n" + "Permission is granted to anyone to use this software for any purpose,\n" + "including commercial applications, and to alter it and redistribute it\n" + "freely, subject to the following restrictions:\n" + "\n" + "1. The origin of this software must not be misrepresented; you must not\n" + "claim that you wrote the original software. If you use this software\n" + "in a product, an acknowledgment in the product documentation would be\n" + "appreciated but is not required.\n" + "2. Altered source versions must be plainly marked as such, and must not be\n" + "misrepresented as being the original software.\n" + "3. This notice may not be removed or altered from any source distribution.\n" + "\n" + ; printf("%s",license); }