about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tree-sitter-yts/.editorconfig10
-rw-r--r--tree-sitter-yts/.gitignore10
-rw-r--r--tree-sitter-yts/Cargo.toml10
-rw-r--r--tree-sitter-yts/binding.gyp.license9
-rw-r--r--tree-sitter-yts/bindings/node/binding.cc10
-rw-r--r--tree-sitter-yts/bindings/node/index.js10
-rw-r--r--tree-sitter-yts/bindings/rust/build.rs10
-rw-r--r--tree-sitter-yts/bindings/rust/lib.rs10
-rw-r--r--tree-sitter-yts/corpus/comments.txt.license9
-rw-r--r--tree-sitter-yts/corpus/comments_correct.txt.license9
-rw-r--r--tree-sitter-yts/corpus/duration.txt.license9
-rw-r--r--tree-sitter-yts/corpus/flags.txt.license9
-rw-r--r--tree-sitter-yts/corpus/flags_dash.txt.license9
-rw-r--r--tree-sitter-yts/corpus/url.txt.license9
-rw-r--r--tree-sitter-yts/grammar.js10
-rw-r--r--tree-sitter-yts/highlight_sample.yts.license9
-rw-r--r--tree-sitter-yts/package.json.license9
-rw-r--r--tree-sitter-yts/package.nix10
-rw-r--r--tree-sitter-yts/queries/highlights.scm10
-rw-r--r--tree-sitter-yts/src/grammar.json.license9
-rw-r--r--tree-sitter-yts/src/node-types.json.license9
-rw-r--r--tree-sitter-yts/src/parser.c12
-rw-r--r--tree-sitter-yts/src/tree_sitter/parser.h12
23 files changed, 223 insertions, 0 deletions
diff --git a/tree-sitter-yts/.editorconfig b/tree-sitter-yts/.editorconfig
index a29f1a6..9975ff2 100644
--- a/tree-sitter-yts/.editorconfig
+++ b/tree-sitter-yts/.editorconfig
@@ -1,3 +1,13 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 # for testing purposes, the corpus may have trailing whitespace
 # and may have mixed EOL.
 # Still want a final newline though, as that makes no semantic difference.
diff --git a/tree-sitter-yts/.gitignore b/tree-sitter-yts/.gitignore
index 07e6e47..88a62ca 100644
--- a/tree-sitter-yts/.gitignore
+++ b/tree-sitter-yts/.gitignore
@@ -1 +1,11 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 /node_modules
diff --git a/tree-sitter-yts/Cargo.toml b/tree-sitter-yts/Cargo.toml
index 5287c42..1872f18 100644
--- a/tree-sitter-yts/Cargo.toml
+++ b/tree-sitter-yts/Cargo.toml
@@ -1,3 +1,13 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 [package]
 name = "tree-sitter-yts"
 description = "yts grammar for the tree-sitter parsing library"
diff --git a/tree-sitter-yts/binding.gyp.license b/tree-sitter-yts/binding.gyp.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/binding.gyp.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/bindings/node/binding.cc b/tree-sitter-yts/bindings/node/binding.cc
index a042be5..fdf44ff 100644
--- a/tree-sitter-yts/bindings/node/binding.cc
+++ b/tree-sitter-yts/bindings/node/binding.cc
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 #include "nan.h"
 #include "tree_sitter/parser.h"
 #include <node.h>
diff --git a/tree-sitter-yts/bindings/node/index.js b/tree-sitter-yts/bindings/node/index.js
index 3217974..580bda0 100644
--- a/tree-sitter-yts/bindings/node/index.js
+++ b/tree-sitter-yts/bindings/node/index.js
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 try {
   module.exports = require("../../build/Release/tree_sitter_yts_binding");
 } catch (error1) {
diff --git a/tree-sitter-yts/bindings/rust/build.rs b/tree-sitter-yts/bindings/rust/build.rs
index c6061f0..075dc92 100644
--- a/tree-sitter-yts/bindings/rust/build.rs
+++ b/tree-sitter-yts/bindings/rust/build.rs
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 fn main() {
     let src_dir = std::path::Path::new("src");
 
diff --git a/tree-sitter-yts/bindings/rust/lib.rs b/tree-sitter-yts/bindings/rust/lib.rs
index f1868b2..0880238 100644
--- a/tree-sitter-yts/bindings/rust/lib.rs
+++ b/tree-sitter-yts/bindings/rust/lib.rs
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 //! This crate provides yts language support for the [tree-sitter][] parsing library.
 //!
 //! Typically, you will use the [language][language func] function to add this language to a
diff --git a/tree-sitter-yts/corpus/comments.txt.license b/tree-sitter-yts/corpus/comments.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/comments.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/corpus/comments_correct.txt.license b/tree-sitter-yts/corpus/comments_correct.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/comments_correct.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/corpus/duration.txt.license b/tree-sitter-yts/corpus/duration.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/duration.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/corpus/flags.txt.license b/tree-sitter-yts/corpus/flags.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/flags.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/corpus/flags_dash.txt.license b/tree-sitter-yts/corpus/flags_dash.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/flags_dash.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/corpus/url.txt.license b/tree-sitter-yts/corpus/url.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/corpus/url.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/grammar.js b/tree-sitter-yts/grammar.js
index 4857446..563f7f4 100644
--- a/tree-sitter-yts/grammar.js
+++ b/tree-sitter-yts/grammar.js
@@ -1,3 +1,13 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 module.exports = grammar({
   name: "yts",
 
diff --git a/tree-sitter-yts/highlight_sample.yts.license b/tree-sitter-yts/highlight_sample.yts.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/highlight_sample.yts.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/package.json.license b/tree-sitter-yts/package.json.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/package.json.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/package.nix b/tree-sitter-yts/package.nix
index 11ab5a8..5bdb9c6 100644
--- a/tree-sitter-yts/package.nix
+++ b/tree-sitter-yts/package.nix
@@ -1,3 +1,13 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 # taken from nixpgks: pkgs/development/tools/parsing/tree-sitter/grammar.nix
 {
   stdenv,
diff --git a/tree-sitter-yts/queries/highlights.scm b/tree-sitter-yts/queries/highlights.scm
index 49f197d..e4ac040 100644
--- a/tree-sitter-yts/queries/highlights.scm
+++ b/tree-sitter-yts/queries/highlights.scm
@@ -1,3 +1,13 @@
+;;; yt - A fully featured command line YouTube client
+;;;
+;;; Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+;;; SPDX-License-Identifier: GPL-3.0-or-later
+;;;
+;;; This file is part of Yt.
+;;;
+;;; You should have received a copy of the License along with this program.
+;;; If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 (command) @keyword
 (id) @constant
 (title) @text.title
diff --git a/tree-sitter-yts/src/grammar.json.license b/tree-sitter-yts/src/grammar.json.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/src/grammar.json.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/src/node-types.json.license b/tree-sitter-yts/src/node-types.json.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/src/node-types.json.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
diff --git a/tree-sitter-yts/src/parser.c b/tree-sitter-yts/src/parser.c
index 3b43659..ea08f34 100644
--- a/tree-sitter-yts/src/parser.c
+++ b/tree-sitter-yts/src/parser.c
@@ -1,3 +1,15 @@
+/*
+ * yt - A fully featured command line YouTube client
+ *
+ * Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ *
+ * This file is part of Yt.
+ *
+ * You should have received a copy of the License along with this program.
+ * If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+ */
+
 #include <tree_sitter/parser.h>
 
 #if defined(__GNUC__) || defined(__clang__)
diff --git a/tree-sitter-yts/src/tree_sitter/parser.h b/tree-sitter-yts/src/tree_sitter/parser.h
index 1cbb75a..433fdf0 100644
--- a/tree-sitter-yts/src/tree_sitter/parser.h
+++ b/tree-sitter-yts/src/tree_sitter/parser.h
@@ -1,3 +1,15 @@
+/*
+ * yt - A fully featured command line YouTube client
+ *
+ * Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ *
+ * This file is part of Yt.
+ *
+ * You should have received a copy of the License along with this program.
+ * If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+ */
+
 #ifndef TREE_SITTER_PARSER_H_
 #define TREE_SITTER_PARSER_H_