From 7ac6edb75234c8424d95dc1097631e82004b5a84 Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 19 Feb 2024 16:04:31 +0100 Subject: [PATCH] chore(treewide): Remove old license header This was done with: ```bash fd --type file . | xargs grep 'Copyright (C) 2023 The Trinitrix Project ' | awk 'BEGIN{ FS=":"} {print $1}' | xargs sed -i '1,19d' ``` --- .envrc | 19 ------------------- Cargo.toml | 19 ------------------- cog.toml | 19 ------------------- flake.nix | 17 ----------------- trixy-macros/Cargo.toml | 19 ------------------- trixy-macros/src/config/mod.rs | 19 ------------------- .../src/generate.old/command_enum/mod.rs | 19 ------------------- .../lua_functions_to_globals/mod.rs | 19 ------------------- .../src/generate.old/lua_wrapper/mod.rs | 19 ------------------- .../lua_wrapper/rust_wrapper_functions/mod.rs | 19 ------------------- trixy-macros/src/generate.old/mod.rs | 19 ------------------- trixy-macros/src/generate/c_api/header/mod.rs | 19 ------------------- trixy-macros/src/generate/c_api/host.rs | 19 ------------------- trixy-macros/src/generate/c_api/mod.rs | 19 ------------------- trixy-macros/src/generate/host/mod.rs | 19 ------------------- trixy-macros/src/generate/mod.rs | 19 ------------------- trixy-macros/src/lib.rs | 19 ------------------- trixy-parser/Cargo.toml | 19 ------------------- trixy-parser/docs/grammar.ebnf | 19 ------------------- trixy-parser/example/comments.tri | 19 ------------------- trixy-parser/example/empty.tri | 19 ------------------- trixy-parser/example/failing.tri | 19 ------------------- trixy-parser/example/failing_comments.tri | 19 ------------------- trixy-parser/example/failing_enum_name.tri | 19 ------------------- trixy-parser/example/failing_types.tri | 19 ------------------- .../example/failing_types_generic.tri | 19 ------------------- trixy-parser/example/full.tri | 19 ------------------- trixy-parser/example/multiple.tri | 19 ------------------- trixy-parser/example/other_comments.tri | 19 ------------------- trixy-parser/example/simple.tri | 19 ------------------- trixy-parser/example/types.tri | 19 ------------------- trixy-parser/generate_docs | 18 ------------------ trixy-parser/src/bin/trixy-parser.rs | 19 ------------------- trixy-parser/src/command_spec/checked.rs | 19 ------------------- trixy-parser/src/command_spec/mod.rs | 19 ------------------- trixy-parser/src/command_spec/unchecked.rs | 19 ------------------- trixy-parser/src/error.rs | 19 ------------------- trixy-parser/src/lexing/error.rs | 19 ------------------- trixy-parser/src/lexing/mod.rs | 19 ------------------- trixy-parser/src/lexing/test.rs | 19 ------------------- trixy-parser/src/lexing/tokenizer.rs | 19 ------------------- trixy-parser/src/lib.rs | 19 ------------------- trixy-parser/src/parsing/checked/error.rs | 19 ------------------- trixy-parser/src/parsing/checked/mod.rs | 19 ------------------- trixy-parser/src/parsing/checked/test.rs | 19 ------------------- trixy-parser/src/parsing/mod.rs | 19 ------------------- trixy-parser/src/parsing/unchecked/error.rs | 19 ------------------- trixy-parser/src/parsing/unchecked/mod.rs | 19 ------------------- trixy-parser/src/parsing/unchecked/test.rs | 19 ------------------- trixy-types/Cargo.toml | 19 ------------------- trixy-types/src/error/mod.rs | 19 ------------------- trixy-types/src/lib.rs | 19 ------------------- trixy-types/src/traits/errno.rs | 19 ------------------- trixy-types/src/traits/mod.rs | 19 ------------------- 54 files changed, 1023 deletions(-) diff --git a/.envrc b/.envrc index 1261dec..96eca6b 100644 --- a/.envrc +++ b/.envrc @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - use flake || use nix watch_file flake.nix diff --git a/Cargo.toml b/Cargo.toml index 4c8fa09..ee3506e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - [package] name = "trixy" version = "0.1.0" diff --git a/cog.toml b/cog.toml index 78b431c..6dd14ec 100644 --- a/cog.toml +++ b/cog.toml @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - tag_prefix = "v" branch_whitelist = [ "main" ] ignore_merge_commits = false diff --git a/flake.nix b/flake.nix index 526c4d6..a29d90c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,20 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . { description = "A rust crate used to generate multi-language apis for your application"; diff --git a/trixy-macros/Cargo.toml b/trixy-macros/Cargo.toml index 24cb43e..8c0c36d 100644 --- a/trixy-macros/Cargo.toml +++ b/trixy-macros/Cargo.toml @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - [package] name = "trixy-macros" version = "0.1.0" diff --git a/trixy-macros/src/config/mod.rs b/trixy-macros/src/config/mod.rs index 01741c1..a1167ee 100644 --- a/trixy-macros/src/config/mod.rs +++ b/trixy-macros/src/config/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module is responsible for the config passed to trixy. //! It works using the popular builder syntax: diff --git a/trixy-macros/src/generate.old/command_enum/mod.rs b/trixy-macros/src/generate.old/command_enum/mod.rs index 796e24e..1513f47 100644 --- a/trixy-macros/src/generate.old/command_enum/mod.rs +++ b/trixy-macros/src/generate.old/command_enum/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use convert_case::{Case, Casing}; diff --git a/trixy-macros/src/generate.old/lua_wrapper/lua_functions_to_globals/mod.rs b/trixy-macros/src/generate.old/lua_wrapper/lua_functions_to_globals/mod.rs index 9183740..02d659c 100644 --- a/trixy-macros/src/generate.old/lua_wrapper/lua_functions_to_globals/mod.rs +++ b/trixy-macros/src/generate.old/lua_wrapper/lua_functions_to_globals/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use proc_macro2::TokenStream as TokenStream2; diff --git a/trixy-macros/src/generate.old/lua_wrapper/mod.rs b/trixy-macros/src/generate.old/lua_wrapper/mod.rs index 1f374c2..297e044 100644 --- a/trixy-macros/src/generate.old/lua_wrapper/mod.rs +++ b/trixy-macros/src/generate.old/lua_wrapper/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use proc_macro2::TokenStream as TokenStream2; diff --git a/trixy-macros/src/generate.old/lua_wrapper/rust_wrapper_functions/mod.rs b/trixy-macros/src/generate.old/lua_wrapper/rust_wrapper_functions/mod.rs index 0d20ce0..7625d79 100644 --- a/trixy-macros/src/generate.old/lua_wrapper/rust_wrapper_functions/mod.rs +++ b/trixy-macros/src/generate.old/lua_wrapper/rust_wrapper_functions/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use convert_case::{Case, Casing}; diff --git a/trixy-macros/src/generate.old/mod.rs b/trixy-macros/src/generate.old/mod.rs index 9504ad6..077f862 100644 --- a/trixy-macros/src/generate.old/mod.rs +++ b/trixy-macros/src/generate.old/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ mod command_enum; diff --git a/trixy-macros/src/generate/c_api/header/mod.rs b/trixy-macros/src/generate/c_api/header/mod.rs index b047bed..8267a9e 100644 --- a/trixy-macros/src/generate/c_api/header/mod.rs +++ b/trixy-macros/src/generate/c_api/header/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module generates the c header //! It works by firstly listing the functions and then by grouping them into structures, effectively diff --git a/trixy-macros/src/generate/c_api/host.rs b/trixy-macros/src/generate/c_api/host.rs index f6a3a5a..eecf4e2 100644 --- a/trixy-macros/src/generate/c_api/host.rs +++ b/trixy-macros/src/generate/c_api/host.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use convert_case::{Case, Casing}; use proc_macro2::TokenStream as TokenStream2; diff --git a/trixy-macros/src/generate/c_api/mod.rs b/trixy-macros/src/generate/c_api/mod.rs index ead982e..e4107c5 100644 --- a/trixy-macros/src/generate/c_api/mod.rs +++ b/trixy-macros/src/generate/c_api/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use convert_case::{Case, Casing}; use proc_macro2::{Ident, TokenStream as TokenStream2}; diff --git a/trixy-macros/src/generate/host/mod.rs b/trixy-macros/src/generate/host/mod.rs index cd98c5d..03f2813 100644 --- a/trixy-macros/src/generate/host/mod.rs +++ b/trixy-macros/src/generate/host/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module is responsible for generating the rust code used to interface with the api. //! That includes the structs and enums declared in the trixy file and the enum used to describe the diff --git a/trixy-macros/src/generate/mod.rs b/trixy-macros/src/generate/mod.rs index 2db5ac7..518ee94 100644 --- a/trixy-macros/src/generate/mod.rs +++ b/trixy-macros/src/generate/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; diff --git a/trixy-macros/src/lib.rs b/trixy-macros/src/lib.rs index a6b771a..477fe91 100644 --- a/trixy-macros/src/lib.rs +++ b/trixy-macros/src/lib.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::{ env, diff --git a/trixy-parser/Cargo.toml b/trixy-parser/Cargo.toml index f18e574..72bbc6f 100644 --- a/trixy-parser/Cargo.toml +++ b/trixy-parser/Cargo.toml @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - [package] name = "trixy-parser" version = "0.1.0" diff --git a/trixy-parser/docs/grammar.ebnf b/trixy-parser/docs/grammar.ebnf index 3575787..5c12211 100644 --- a/trixy-parser/docs/grammar.ebnf +++ b/trixy-parser/docs/grammar.ebnf @@ -1,22 +1,3 @@ -#(* -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . -#*) # (* diff --git a/trixy-parser/example/comments.tri b/trixy-parser/example/comments.tri index 1471e6b..786f173 100644 --- a/trixy-parser/example/comments.tri +++ b/trixy-parser/example/comments.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ fn print(message: String); diff --git a/trixy-parser/example/empty.tri b/trixy-parser/example/empty.tri index 6565ed8..2ddc39e 100644 --- a/trixy-parser/example/empty.tri +++ b/trixy-parser/example/empty.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ diff --git a/trixy-parser/example/failing.tri b/trixy-parser/example/failing.tri index 5edbc63..49cac8a 100644 --- a/trixy-parser/example/failing.tri +++ b/trixy-parser/example/failing.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ fn print(message: CommandTransferValue); diff --git a/trixy-parser/example/failing_comments.tri b/trixy-parser/example/failing_comments.tri index 83f6aed..9ee1c31 100644 --- a/trixy-parser/example/failing_comments.tri +++ b/trixy-parser/example/failing_comments.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ fn print(message: CommandTransferValue); diff --git a/trixy-parser/example/failing_enum_name.tri b/trixy-parser/example/failing_enum_name.tri index 1050587..67992b0 100644 --- a/trixy-parser/example/failing_enum_name.tri +++ b/trixy-parser/example/failing_enum_name.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ nasp trinitrix { diff --git a/trixy-parser/example/failing_types.tri b/trixy-parser/example/failing_types.tri index 1763f1d..362a713 100644 --- a/trixy-parser/example/failing_types.tri +++ b/trixy-parser/example/failing_types.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ struct Callback { diff --git a/trixy-parser/example/failing_types_generic.tri b/trixy-parser/example/failing_types_generic.tri index ec5993a..f052607 100644 --- a/trixy-parser/example/failing_types_generic.tri +++ b/trixy-parser/example/failing_types_generic.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ struct A {}; struct B {}; diff --git a/trixy-parser/example/full.tri b/trixy-parser/example/full.tri index 1467c1e..2dbcd22 100644 --- a/trixy-parser/example/full.tri +++ b/trixy-parser/example/full.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ /// Prints to the output, with a newline. diff --git a/trixy-parser/example/multiple.tri b/trixy-parser/example/multiple.tri index bf9b2fd..dfa06eb 100644 --- a/trixy-parser/example/multiple.tri +++ b/trixy-parser/example/multiple.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ fn print(message: CommandTransferValue); diff --git a/trixy-parser/example/other_comments.tri b/trixy-parser/example/other_comments.tri index f17c36f..bd9c3a2 100644 --- a/trixy-parser/example/other_comments.tri +++ b/trixy-parser/example/other_comments.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ /// other doc comment diff --git a/trixy-parser/example/simple.tri b/trixy-parser/example/simple.tri index 504c8c6..8d9543a 100644 --- a/trixy-parser/example/simple.tri +++ b/trixy-parser/example/simple.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ fn print(message: CommandTransferValue); diff --git a/trixy-parser/example/types.tri b/trixy-parser/example/types.tri index 83379e1..88af32e 100644 --- a/trixy-parser/example/types.tri +++ b/trixy-parser/example/types.tri @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ nasp trinitrix { diff --git a/trixy-parser/generate_docs b/trixy-parser/generate_docs index cbc9fb4..4cef571 100755 --- a/trixy-parser/generate_docs +++ b/trixy-parser/generate_docs @@ -1,22 +1,4 @@ #!/usr/bin/env sh -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - ebnf2pdf make "./docs/grammar.ebnf" mv grammar.ebnf.pdf ./docs/grammar.pdf diff --git a/trixy-parser/src/bin/trixy-parser.rs b/trixy-parser/src/bin/trixy-parser.rs index 8dd5ca4..17e66fb 100644 --- a/trixy-parser/src/bin/trixy-parser.rs +++ b/trixy-parser/src/bin/trixy-parser.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::{fs, path::PathBuf, process::exit}; diff --git a/trixy-parser/src/command_spec/checked.rs b/trixy-parser/src/command_spec/checked.rs index 273f6f0..9a41310 100644 --- a/trixy-parser/src/command_spec/checked.rs +++ b/trixy-parser/src/command_spec/checked.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module contains the already type checked types. diff --git a/trixy-parser/src/command_spec/mod.rs b/trixy-parser/src/command_spec/mod.rs index cd39160..af6be55 100644 --- a/trixy-parser/src/command_spec/mod.rs +++ b/trixy-parser/src/command_spec/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module provides the type definitions for the parser. //! These types are split into type-checked ones [`checked`] and the raw types [`unchecked`] diff --git a/trixy-parser/src/command_spec/unchecked.rs b/trixy-parser/src/command_spec/unchecked.rs index 56f8468..3c8570e 100644 --- a/trixy-parser/src/command_spec/unchecked.rs +++ b/trixy-parser/src/command_spec/unchecked.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! This module contains the not type checked types. //! These are generated on the first pass of the parser, to be later converted into the checked diff --git a/trixy-parser/src/error.rs b/trixy-parser/src/error.rs index 4b4657a..a18d4e1 100644 --- a/trixy-parser/src/error.rs +++ b/trixy-parser/src/error.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use core::fmt; diff --git a/trixy-parser/src/lexing/error.rs b/trixy-parser/src/lexing/error.rs index 32a129c..0bb7684 100644 --- a/trixy-parser/src/lexing/error.rs +++ b/trixy-parser/src/lexing/error.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::{error::Error, fmt::Display}; use thiserror::Error; diff --git a/trixy-parser/src/lexing/mod.rs b/trixy-parser/src/lexing/mod.rs index ebdc5bd..a733a1c 100644 --- a/trixy-parser/src/lexing/mod.rs +++ b/trixy-parser/src/lexing/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::fmt::Display; diff --git a/trixy-parser/src/lexing/test.rs b/trixy-parser/src/lexing/test.rs index 3f9ae16..7642a09 100644 --- a/trixy-parser/src/lexing/test.rs +++ b/trixy-parser/src/lexing/test.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use crate::lexing::{Keyword, Token, TokenKind, TokenSpan}; diff --git a/trixy-parser/src/lexing/tokenizer.rs b/trixy-parser/src/lexing/tokenizer.rs index 28acb06..ef801f1 100644 --- a/trixy-parser/src/lexing/tokenizer.rs +++ b/trixy-parser/src/lexing/tokenizer.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ // This code is heavily inspired by: https://michael-f-bryan.github.io/static-analyser-in-rust/book/lex.html diff --git a/trixy-parser/src/lib.rs b/trixy-parser/src/lib.rs index e5f7ba8..60793f6 100644 --- a/trixy-parser/src/lib.rs +++ b/trixy-parser/src/lib.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use error::TrixyError; diff --git a/trixy-parser/src/parsing/checked/error.rs b/trixy-parser/src/parsing/checked/error.rs index 28a01fa..19df37e 100644 --- a/trixy-parser/src/parsing/checked/error.rs +++ b/trixy-parser/src/parsing/checked/error.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use thiserror::Error; diff --git a/trixy-parser/src/parsing/checked/mod.rs b/trixy-parser/src/parsing/checked/mod.rs index b1d4a9d..96d26eb 100644 --- a/trixy-parser/src/parsing/checked/mod.rs +++ b/trixy-parser/src/parsing/checked/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::mem; diff --git a/trixy-parser/src/parsing/checked/test.rs b/trixy-parser/src/parsing/checked/test.rs index 5aa7040..ff1a054 100644 --- a/trixy-parser/src/parsing/checked/test.rs +++ b/trixy-parser/src/parsing/checked/test.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use crate::command_spec::checked::{ Attribute, CommandSpec, DocIdentifier, DocNamedType, Enumeration, Function, Identifier, diff --git a/trixy-parser/src/parsing/mod.rs b/trixy-parser/src/parsing/mod.rs index 01c4cea..7c99eba 100644 --- a/trixy-parser/src/parsing/mod.rs +++ b/trixy-parser/src/parsing/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ pub mod checked; pub mod unchecked; diff --git a/trixy-parser/src/parsing/unchecked/error.rs b/trixy-parser/src/parsing/unchecked/error.rs index 0b2459b..441bce4 100644 --- a/trixy-parser/src/parsing/unchecked/error.rs +++ b/trixy-parser/src/parsing/unchecked/error.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::{error::Error, fmt::Display}; use thiserror::Error; diff --git a/trixy-parser/src/parsing/unchecked/mod.rs b/trixy-parser/src/parsing/unchecked/mod.rs index 1114d6e..1d51b72 100644 --- a/trixy-parser/src/parsing/unchecked/mod.rs +++ b/trixy-parser/src/parsing/unchecked/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::mem; diff --git a/trixy-parser/src/parsing/unchecked/test.rs b/trixy-parser/src/parsing/unchecked/test.rs index 68868d3..90fb92f 100644 --- a/trixy-parser/src/parsing/unchecked/test.rs +++ b/trixy-parser/src/parsing/unchecked/test.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use pretty_assertions::assert_eq; diff --git a/trixy-types/Cargo.toml b/trixy-types/Cargo.toml index b869fbe..d48d498 100644 --- a/trixy-types/Cargo.toml +++ b/trixy-types/Cargo.toml @@ -1,22 +1,3 @@ -# Copyright (C) 2023 The Trinitrix Project -# -# This file is part of the Trixy crate for Trinitrix. -# -# Trixy is free software: you can redistribute it and/or modify -# it under the terms of the Lesser GNU General Public License as -# published by the Free Software Foundation, either version 3 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# and the Lesser GNU General Public License along with this program. -# If not, see . - - [package] name = "trixy-types" version = "0.1.0" diff --git a/trixy-types/src/error/mod.rs b/trixy-types/src/error/mod.rs index 1d3122c..8adef48 100644 --- a/trixy-types/src/error/mod.rs +++ b/trixy-types/src/error/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use std::ffi::c_char; diff --git a/trixy-types/src/lib.rs b/trixy-types/src/lib.rs index 41f0507..27389e7 100644 --- a/trixy-types/src/lib.rs +++ b/trixy-types/src/lib.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ //! Trixy contains the types used by the [`trixy-macros`] crate to provide ffi safe types pub mod error; diff --git a/trixy-types/src/traits/errno.rs b/trixy-types/src/traits/errno.rs index 814596a..de29a7a 100644 --- a/trixy-types/src/traits/errno.rs +++ b/trixy-types/src/traits/errno.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ use core::slice; use std::{ diff --git a/trixy-types/src/traits/mod.rs b/trixy-types/src/traits/mod.rs index 66ef3f8..415c8ae 100644 --- a/trixy-types/src/traits/mod.rs +++ b/trixy-types/src/traits/mod.rs @@ -1,22 +1,3 @@ -/* -* Copyright (C) 2023 The Trinitrix Project -* -* This file is part of the Trixy crate for Trinitrix. -* -* Trixy is free software: you can redistribute it and/or modify -* it under the terms of the Lesser GNU General Public License as -* published by the Free Software Foundation, either version 3 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* and the Lesser GNU General Public License along with this program. -* If not, see . -*/ pub mod convert_trait; pub mod errno;