From b125969d69fa9bf1b9b658449e36b93f5c1d0340 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 9 Aug 2021 04:22:01 -0400 Subject: Spelling and license info --- README.md | 10 +++--- libtnsl/src/alg/alg.tnsl | 36 ++++++++++----------- libtnsl/src/alg/math/math.tnsl | 36 ++++++++++----------- libtnsl/src/bootstrap.tnsl | 58 +++++++++++++++++----------------- libtnsl/src/box/box.tnsl | 36 ++++++++++----------- libtnsl/src/box/iterator.tnsl | 36 ++++++++++----------- libtnsl/src/box/map.tnsl | 36 ++++++++++----------- libtnsl/src/box/string.tnsl | 36 ++++++++++----------- libtnsl/src/box/tree.tnsl | 36 ++++++++++----------- libtnsl/src/box/vector.tnsl | 36 ++++++++++----------- libtnsl/src/io/block.tnsl | 36 ++++++++++----------- libtnsl/src/io/file.tnsl | 20 ++++++++++++ libtnsl/src/io/io.tnsl | 36 ++++++++++----------- libtnsl/src/io/std.tnsl | 20 ++++++++++++ libtnsl/src/io/stream.tnsl | 20 ++++++++++++ libtnsl/src/libtnsl.tnsl | 34 ++++++++++---------- libtnsl/src/reflect/dynamic.tnsl | 20 ++++++++++++ libtnsl/src/reflect/method.tnsl | 20 ++++++++++++ libtnsl/src/reflect/reflect.tnsl | 36 ++++++++++----------- libtnsl/src/reflect/resolver.tnsl | 20 ++++++++++++ libtnsl/src/reflect/static.tnsl | 20 ++++++++++++ libtnsl/src/reflect/type.tnsl | 20 ++++++++++++ libtnsl/src/time/alg.tnsl | 20 ++++++++++++ libtnsl/src/time/conv.tnsl | 20 ++++++++++++ libtnsl/src/time/parse.tnsl | 20 ++++++++++++ libtnsl/src/time/time.tnsl | 34 ++++++++++---------- spec/1 - language.md | 24 +++++++------- spec/2 - features.md | 10 +++--- spec/3 - abi.md | 10 +++--- spec/4 - fip.md | 10 +++--- spec/Appendices.md | 8 ++--- spec/README.md | 14 ++++---- tnslc/README.md | 10 +++--- tnslc/src/ast/ast.tnsl | 8 ++--- tnslc/src/ast/node.tnsl | 8 ++--- tnslc/src/compile/arch/arch.tnsl | 23 ++++++-------- tnslc/src/compile/arch/common.tnsl | 23 ++++++-------- tnslc/src/compile/arch/isa_arm.tnsl | 23 ++++++-------- tnslc/src/compile/arch/isa_risc_v.tnsl | 23 ++++++-------- tnslc/src/compile/arch/isa_x86.tnsl | 23 ++++++-------- tnslc/src/compile/compile.tnsl | 23 ++++++-------- tnslc/src/flags/flags.tnsl | 23 ++++++-------- tnslc/src/parse/parse.tnsl | 23 ++++++-------- tnslc/src/parse/token.tnsl | 25 +++++++-------- tnslc/src/tnslc.tnsl | 8 ++--- 45 files changed, 633 insertions(+), 438 deletions(-) diff --git a/README.md b/README.md index 7c3bd30..564cb52 100644 --- a/README.md +++ b/README.md @@ -32,18 +32,18 @@ The standard TNSL compiler suite. Contains a universal front end for producing libtnsl: incomplete tnslc: incomplete -### Credits +## Credits Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/libtnsl/src/alg/alg.tnsl b/libtnsl/src/alg/alg.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/alg/alg.tnsl +++ b/libtnsl/src/alg/alg.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/alg/math/math.tnsl b/libtnsl/src/alg/math/math.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/alg/math/math.tnsl +++ b/libtnsl/src/alg/math/math.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/bootstrap.tnsl b/libtnsl/src/bootstrap.tnsl index d3b935e..5f407fa 100644 --- a/libtnsl/src/bootstrap.tnsl +++ b/libtnsl/src/bootstrap.tnsl @@ -1,37 +1,37 @@ /## Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /# - This file provides a nonstandard entry point for a bootstrap implementation of TNSL. - - The reference implementation of the TNSL compiler (written in GOLANG for now), does - not contain feature complete functionality in the form of pre-compiler directives, which the - full libts uses for compilation on different operating systems. This version is provided - so that the reference compiler can produce a functional enough libts to compile the - full tnslc compiler (written in TNSL). - - As such, this entry point must be modified manually to use windows, mac, or linux - code files, and then will provide a barebones file, stream, and error handeling library - with nothing else to act as a bootstrap for the compiler. The bootstrap compiler should - be able to compile the full libts and, in turn, the full compiler. + This file provides a nonstandard entry point for a bootstrap implementation of TNSL. + + The reference implementation of the TNSL compiler (written in GOLANG for now), does + not contain feature complete functionality in the form of pre-compiler directives, which the + full libts uses for compilation on different operating systems. This version is provided + so that the reference compiler can produce a functional enough libts to compile the + full tnslc compiler (written in TNSL). + + As such, this entry point must be modified manually to use windows, mac, or linux + code files, and then will provide a barebones file, stream, and error handeling library + with nothing else to act as a bootstrap for the compiler. The bootstrap compiler should + be able to compile the full libts and, in turn, the full compiler. #/ /;export module ts diff --git a/libtnsl/src/box/box.tnsl b/libtnsl/src/box/box.tnsl index 8530a99..6048d85 100644 --- a/libtnsl/src/box/box.tnsl +++ b/libtnsl/src/box/box.tnsl @@ -1,22 +1,22 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /## diff --git a/libtnsl/src/box/iterator.tnsl b/libtnsl/src/box/iterator.tnsl index 9fb3d6d..9c59bd2 100644 --- a/libtnsl/src/box/iterator.tnsl +++ b/libtnsl/src/box/iterator.tnsl @@ -1,22 +1,22 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ # Interface for moving through a list diff --git a/libtnsl/src/box/map.tnsl b/libtnsl/src/box/map.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/box/map.tnsl +++ b/libtnsl/src/box/map.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/box/string.tnsl b/libtnsl/src/box/string.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/box/string.tnsl +++ b/libtnsl/src/box/string.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/box/tree.tnsl b/libtnsl/src/box/tree.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/box/tree.tnsl +++ b/libtnsl/src/box/tree.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/box/vector.tnsl b/libtnsl/src/box/vector.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/box/vector.tnsl +++ b/libtnsl/src/box/vector.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/io/block.tnsl b/libtnsl/src/io/block.tnsl index 2033d27..8029197 100644 --- a/libtnsl/src/io/block.tnsl +++ b/libtnsl/src/io/block.tnsl @@ -1,20 +1,20 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ \ No newline at end of file diff --git a/libtnsl/src/io/file.tnsl b/libtnsl/src/io/file.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/io/file.tnsl +++ b/libtnsl/src/io/file.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/io/io.tnsl b/libtnsl/src/io/io.tnsl index 19d7b9f..5c6d217 100644 --- a/libtnsl/src/io/io.tnsl +++ b/libtnsl/src/io/io.tnsl @@ -1,22 +1,22 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /## diff --git a/libtnsl/src/io/std.tnsl b/libtnsl/src/io/std.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/io/std.tnsl +++ b/libtnsl/src/io/std.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/io/stream.tnsl b/libtnsl/src/io/stream.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/io/stream.tnsl +++ b/libtnsl/src/io/stream.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/libtnsl.tnsl b/libtnsl/src/libtnsl.tnsl index b6e9596..98a2e7c 100644 --- a/libtnsl/src/libtnsl.tnsl +++ b/libtnsl/src/libtnsl.tnsl @@ -1,22 +1,22 @@ /## Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /;export module tnsl diff --git a/libtnsl/src/reflect/dynamic.tnsl b/libtnsl/src/reflect/dynamic.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/reflect/dynamic.tnsl +++ b/libtnsl/src/reflect/dynamic.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/reflect/method.tnsl b/libtnsl/src/reflect/method.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/reflect/method.tnsl +++ b/libtnsl/src/reflect/method.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/reflect/reflect.tnsl b/libtnsl/src/reflect/reflect.tnsl index 8037f05..3308eda 100644 --- a/libtnsl/src/reflect/reflect.tnsl +++ b/libtnsl/src/reflect/reflect.tnsl @@ -1,22 +1,22 @@ -/## +/# Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /## diff --git a/libtnsl/src/reflect/resolver.tnsl b/libtnsl/src/reflect/resolver.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/reflect/resolver.tnsl +++ b/libtnsl/src/reflect/resolver.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/reflect/static.tnsl b/libtnsl/src/reflect/static.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/reflect/static.tnsl +++ b/libtnsl/src/reflect/static.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/reflect/type.tnsl b/libtnsl/src/reflect/type.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/reflect/type.tnsl +++ b/libtnsl/src/reflect/type.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/time/alg.tnsl b/libtnsl/src/time/alg.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/time/alg.tnsl +++ b/libtnsl/src/time/alg.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/time/conv.tnsl b/libtnsl/src/time/conv.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/time/conv.tnsl +++ b/libtnsl/src/time/conv.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/time/parse.tnsl b/libtnsl/src/time/parse.tnsl index e69de29..8029197 100644 --- a/libtnsl/src/time/parse.tnsl +++ b/libtnsl/src/time/parse.tnsl @@ -0,0 +1,20 @@ +/# + Copyright 2021 Kyle Gunger + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED +#/ \ No newline at end of file diff --git a/libtnsl/src/time/time.tnsl b/libtnsl/src/time/time.tnsl index 4966131..b993f45 100644 --- a/libtnsl/src/time/time.tnsl +++ b/libtnsl/src/time/time.tnsl @@ -1,22 +1,22 @@ /## Copyright 2021 Kyle Gunger - - Dual licenced under the CDDL 1.0 and BSD 3-Clause licences. - - This file may only be used in accordance with one of the two - licences. You should have recieved a copy of each licence with - the source code. In the event that you did not recieve a copy - of the licences, they may be found at the following URLs: - - CDDL 1.0: - https://opensource.org/licenses/CDDL-1.0 - - BSD 3-Clause: - https://opensource.org/licenses/BSD-3-Clause - - THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + + Dual licensed under the CDDL 1.0 and BSD 3-Clause licenses. + + This file may only be used in accordance with one of the two + licenses. You should have recieved a copy of each license with + the source code. In the event that you did not recieve a copy + of the licenses, they may be found at the following URLs: + + CDDL 1.0: + https://opensource.org/licenses/CDDL-1.0 + + BSD 3-Clause: + https://opensource.org/licenses/BSD-3-Clause + + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /## diff --git a/spec/1 - language.md b/spec/1 - language.md index 6b3c36a..73ebfb4 100644 --- a/spec/1 - language.md +++ b/spec/1 - language.md @@ -41,7 +41,7 @@ Blocks in tnsl consist of a slash and a character denoting the type of block as /; - open code ;/ - close code -In addition to the standard opening and closing characters, there exist "swivle" character sets to quickly close and re-open a block type +In addition to the standard opening and closing characters, there exist "swivel" character sets to quickly close and re-open a block type ;; - close code, then open code #; - close comment, open code @@ -75,7 +75,7 @@ Usage examples: ### Modules -Modules are to TNSL what namespaces are to c++, a way to contain a group of related functions, types, methods, and other namespaces such that they won't interfere with outside code. Modules may only be accessed (by other programs) if they are exported using the `export` keyword when defining the module. Modules contained within the module (Sub-modules) are not automatically exported, and must also use the keyword if they wish to be accessable by other programs. Unexported modules may still be used within the project from which they originate. +Modules are to TNSL what namespaces are to c++, a way to contain a group of related functions, types, methods, and other namespaces such that they won't interfere with outside code. Modules may only be accessed (by other programs) if they are exported using the `export` keyword when defining the module. Modules contained within the module (Sub-modules) are not automatically exported, and must also use the keyword if they wish to be accessible by other programs. Unexported modules may still be used within the project from which they originate. ### Module definition example: @@ -105,7 +105,7 @@ Modules are to TNSL what namespaces are to c++, a way to contain a group of rela ### Functions -TNSL functions are code blocks whose definition contains none of the following: control flow keywords, the module keyword, the method keyword. TNSL functions are called methods if they are contained within a method block. TNSL methods may only be called with relation to the user defined type they are linked to. If a TNSL function has no user defined name, it is anonymous. Anonymous funtions can be stored as void type variables or called immediately. If an anonymous function is not stored, it is interperated as inline and called immediately (this is known as a scope block). +TNSL functions are code blocks whose definition contains none of the following: control flow keywords, the module keyword, the method keyword. TNSL functions are called methods if they are contained within a method block. TNSL methods may only be called with relation to the user defined type they are linked to. If a TNSL function has no user defined name, it is anonymous. Anonymous functions can be stored as void type variables or called immediately. If an anonymous function is not stored, it is interpreted as inline and called immediately (this is known as a scope block). TNSL functions may have inputs (enclosed with `()`) and/or outputs (enclosed with `[]`). Inputs must be named; naming outputs is optional. @@ -137,7 +137,7 @@ Examples: Control flow blocks are code blocks whose definitions contain the keywords if, else, loop, match, case, or default. -For if, else, loop, and match any inputs and/or outputs are a semicolon seperated list of statements. For case or default, only inputs are accepted in the form of a single value. Any variables defined in these inputs or outputs are scoped to the block only. Control flow blocks may not actually output any values; instead, any statements in the output are evaluated when the block ends, weather it loops or not. +For if, else, loop, and match any inputs and/or outputs are a semicolon-separated list of statements. For case or default, only inputs are accepted in the form of a single value. Any variables defined in these inputs or outputs are scoped to the block only. Control flow blocks may not actually output any values; instead, any statements in the output are evaluated when the block ends, weather it loops or not. Examples: @@ -183,11 +183,11 @@ There are three types of tnsl statements: code, pre-processor, and comment. Cod ### Variable Declaration -Decalring a variable is done by referencing a type and then giving a list of names for the new variables. Optionally, a list of values may be given to initialize the new variables. +Declaring a variable is done by referencing a type and then giving a list of names for the new variables. Optionally, a list of values may be given to initialize the new variables. Variables may be augmented by the following keywords: `const`, `volatile`, and/or `static`. -Declaring a variable as `const` means that it is a constant and must be imediately initialized. A constand may not be re-assigned a value. +Declaring a variable as `const` means that it is a constant and must be immediately initialized. A constant may not be re-assigned a value. Declaring a variable as `volatile` means that the compiler will not attempt to optimize operations performed on it. @@ -208,7 +208,7 @@ Examples: ### Built-in Types -### The Void Type +### The `void` Type ### Arrays @@ -222,7 +222,7 @@ Examples: ## Section 5 - Operators -### Operator Presedence +### Operator Precedence ## Section 6 - `raw` and `asm` @@ -234,14 +234,14 @@ Examples: Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/spec/2 - features.md b/spec/2 - features.md index c5432de..4687f29 100644 --- a/spec/2 - features.md +++ b/spec/2 - features.md @@ -1,17 +1,17 @@ # Related Features -### Credits +## Credits Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/spec/3 - abi.md b/spec/3 - abi.md index f586464..a83600a 100644 --- a/spec/3 - abi.md +++ b/spec/3 - abi.md @@ -1,17 +1,17 @@ # The TNSL Calling ABI -### Credits +## Credits Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/spec/4 - fip.md b/spec/4 - fip.md index cc94285..fc2e86b 100644 --- a/spec/4 - fip.md +++ b/spec/4 - fip.md @@ -1,5 +1,7 @@ # Features in Position +To use higher level features in TNSL, an implimentation of libtnsl must be in place with a minimum set of features. This document outlines what concepts are and are not considered "higher level". This document also covers what the minimum set of features are for a given implimentation of libtnsl. Finally, this document covers how to call between TNSL and other programming languages. + ## Section 1 - Bare Metal ## Section 2 - libtnsl and Types @@ -10,14 +12,14 @@ Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/spec/Appendices.md b/spec/Appendices.md index 71a9320..87f5f15 100644 --- a/spec/Appendices.md +++ b/spec/Appendices.md @@ -289,14 +289,14 @@ Variable width structs (dynamic structs) can accomodate generics and variable wi Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/spec/README.md b/spec/README.md index 0f05a37..83a6375 100644 --- a/spec/README.md +++ b/spec/README.md @@ -25,12 +25,12 @@ Right now, TNSL isn't a language. But it *could* be. And, really, I think it's - Style guide - Compiler Options - The Pre-Processor - - Included Tools + - libtnsl + - TNSL-lang export trees (T-LETs) 3. The TNSL Calling ABI - Differences from C - - Link tables - Exporting C-like Functions - Types and Arrays in Memory @@ -44,18 +44,18 @@ Right now, TNSL isn't a language. But it *could* be. And, really, I think it's - Appendix B - Reserved Words - Appendix C - Speed vs the Type System -### Credits +## Credits Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED \ No newline at end of file diff --git a/tnslc/README.md b/tnslc/README.md index 81cb844..b242a4c 100644 --- a/tnslc/README.md +++ b/tnslc/README.md @@ -6,14 +6,14 @@ The reference compiler for the TNSL programming language. The compiler is writt Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE - EXPRESS OR IMPLIED + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED \ No newline at end of file diff --git a/tnslc/src/ast/ast.tnsl b/tnslc/src/ast/ast.tnsl index 34e4f85..33d1f93 100644 --- a/tnslc/src/ast/ast.tnsl +++ b/tnslc/src/ast/ast.tnsl @@ -1,16 +1,16 @@ /## Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/ast/node.tnsl b/tnslc/src/ast/node.tnsl index cddfe5d..0e6e9d0 100644 --- a/tnslc/src/ast/node.tnsl +++ b/tnslc/src/ast/node.tnsl @@ -1,16 +1,16 @@ /## Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/compile/arch/arch.tnsl b/tnslc/src/compile/arch/arch.tnsl index 00403be..5fc7860 100644 --- a/tnslc/src/compile/arch/arch.tnsl +++ b/tnslc/src/compile/arch/arch.tnsl @@ -1,20 +1,17 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /; export module arch diff --git a/tnslc/src/compile/arch/common.tnsl b/tnslc/src/compile/arch/common.tnsl index 24f1964..bb6edf1 100644 --- a/tnslc/src/compile/arch/common.tnsl +++ b/tnslc/src/compile/arch/common.tnsl @@ -1,20 +1,17 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ ; struct instruction {} \ No newline at end of file diff --git a/tnslc/src/compile/arch/isa_arm.tnsl b/tnslc/src/compile/arch/isa_arm.tnsl index 65ea8eb..61d8996 100644 --- a/tnslc/src/compile/arch/isa_arm.tnsl +++ b/tnslc/src/compile/arch/isa_arm.tnsl @@ -1,18 +1,15 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/compile/arch/isa_risc_v.tnsl b/tnslc/src/compile/arch/isa_risc_v.tnsl index 65ea8eb..61d8996 100644 --- a/tnslc/src/compile/arch/isa_risc_v.tnsl +++ b/tnslc/src/compile/arch/isa_risc_v.tnsl @@ -1,18 +1,15 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/compile/arch/isa_x86.tnsl b/tnslc/src/compile/arch/isa_x86.tnsl index 65ea8eb..61d8996 100644 --- a/tnslc/src/compile/arch/isa_x86.tnsl +++ b/tnslc/src/compile/arch/isa_x86.tnsl @@ -1,18 +1,15 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/compile/compile.tnsl b/tnslc/src/compile/compile.tnsl index 0071cca..5a58029 100644 --- a/tnslc/src/compile/compile.tnsl +++ b/tnslc/src/compile/compile.tnsl @@ -1,20 +1,17 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /; export module compile diff --git a/tnslc/src/flags/flags.tnsl b/tnslc/src/flags/flags.tnsl index 742165b..4feff0f 100644 --- a/tnslc/src/flags/flags.tnsl +++ b/tnslc/src/flags/flags.tnsl @@ -1,19 +1,16 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ diff --git a/tnslc/src/parse/parse.tnsl b/tnslc/src/parse/parse.tnsl index 1c81394..3ca8d40 100644 --- a/tnslc/src/parse/parse.tnsl +++ b/tnslc/src/parse/parse.tnsl @@ -1,20 +1,17 @@ /## - Copyright 2020-2021 Kyle Gunger + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ /; export module parse diff --git a/tnslc/src/parse/token.tnsl b/tnslc/src/parse/token.tnsl index 816177a..f845daf 100644 --- a/tnslc/src/parse/token.tnsl +++ b/tnslc/src/parse/token.tnsl @@ -1,20 +1,17 @@ -/## - Copyright 2020-2021 Kyle Gunger +/# + Copyright 2021 Kyle Gunger - Licensed under the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE - (CDDL) Version 1.0 (the "License"). You may not use this file - except in compliance with the License. You may obtain a copy of - the License at + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this + software/source code. If you did not, a copy can be found + at the following URL: - https://opensource.org/licenses/CDDL-1.0 + https://opensource.org/licenses/CDDL-1.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied. - - See the License for the specific language governing permissions - and limitations under the License. + THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + EXPRESS OR IMPLIED #/ ;struct Token { diff --git a/tnslc/src/tnslc.tnsl b/tnslc/src/tnslc.tnsl index ea4f2ce..627541f 100644 --- a/tnslc/src/tnslc.tnsl +++ b/tnslc/src/tnslc.tnsl @@ -1,16 +1,16 @@ /## Copyright 2021 Kyle Gunger - This file is licenced under the CDDL 1.0 (the Licence) - and may only be used in accordance with the Licence. - You should have recieved a copy of the Licence with this + This file is licensed under the CDDL 1.0 (the License) + and may only be used in accordance with the License. + You should have recieved a copy of the License with this software/source code. If you did not, a copy can be found at the following URL: https://opensource.org/licenses/CDDL-1.0 THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO - WARRENTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE + WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE EXPRESS OR IMPLIED #/ -- cgit v1.2.3