about summary refs log tree commit diff
path: root/boot
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-06-30 03:02:59 +0200
committerMel <mel@rnrd.eu>2025-06-30 03:02:59 +0200
commit0737d287c29b404700bfaa07625177eb443dfab2 (patch)
tree07e40cde11f25c3a6280e9031728e324d6f19658 /boot
parent1e2b456f08a5d00c8cbe290fb7974818e8f17b46 (diff)
downloadcatskill-0737d287c29b404700bfaa07625177eb443dfab2.tar.zst
catskill-0737d287c29b404700bfaa07625177eb443dfab2.zip
License project files under MPL-2.0
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot')
-rw-r--r--boot/catboot.c4
-rw-r--r--boot/common.c4
-rw-r--r--boot/lex.c4
-rw-r--r--boot/parse.c4
-rw-r--r--boot/tree.c4
-rw-r--r--boot/visit.c4
6 files changed, 24 insertions, 0 deletions
diff --git a/boot/catboot.c b/boot/catboot.c
index 7ab9c4f..f716e4f 100644
--- a/boot/catboot.c
+++ b/boot/catboot.c
@@ -12,6 +12,10 @@
  * once `catskill` can compile itself using a C backend,
  * this compiler version will be permanently retired.
  * (although that's still very far away!! have fun! :3)
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 #include <fcntl.h>
diff --git a/boot/common.c b/boot/common.c
index 318edf7..22ee50a 100644
--- a/boot/common.c
+++ b/boot/common.c
@@ -2,6 +2,10 @@
  * a small library of types, functions and macros that
  * are used throughout the bootstrap compiler.
  * allocation done purely statically.
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 #include <stdarg.h>
diff --git a/boot/lex.c b/boot/lex.c
index f210abd..5b91187 100644
--- a/boot/lex.c
+++ b/boot/lex.c
@@ -1,6 +1,10 @@
 /*
  * simple advancing lexer
  * invoked until completion by parser.
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 #define MAX_CHAR_BUFFER_SIZE 256
diff --git a/boot/parse.c b/boot/parse.c
index 976bc4b..6aa61f7 100644
--- a/boot/parse.c
+++ b/boot/parse.c
@@ -1,6 +1,10 @@
 /*
  * very simple handwritten recursive descent
  * parser for a catskill source file.
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 #define PARSER_LOOKAHEAD 2
diff --git a/boot/tree.c b/boot/tree.c
index 2dcfdd2..cb5fd2a 100644
--- a/boot/tree.c
+++ b/boot/tree.c
@@ -1,5 +1,9 @@
 /*
  * abstract syntax tree types for a catskill source.
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 enum Unary_Operation
diff --git a/boot/visit.c b/boot/visit.c
index c685cf6..24f033a 100644
--- a/boot/visit.c
+++ b/boot/visit.c
@@ -3,6 +3,10 @@
  * implementing a default traversal mechanism,
  * allowing for selective operations on it.
  * includes a simple tree printer as the primary example of usage.
+ *
+ * Copyright (c) 2025, Mel G. <mel@rnrd.eu>
+ *
+ * SPDX-License-Identifier: MPL-2.0
  */
 
 struct Visit