From 0737d287c29b404700bfaa07625177eb443dfab2 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Jun 2025 03:02:59 +0200 Subject: License project files under MPL-2.0 Signed-off-by: Mel --- boot/catboot.c | 4 ++++ boot/common.c | 4 ++++ boot/lex.c | 4 ++++ boot/parse.c | 4 ++++ boot/tree.c | 4 ++++ boot/visit.c | 4 ++++ 6 files changed, 24 insertions(+) (limited to 'boot') 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. + * + * SPDX-License-Identifier: MPL-2.0 */ #include 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. + * + * SPDX-License-Identifier: MPL-2.0 */ #include 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. + * + * 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. + * + * 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. + * + * 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. + * + * SPDX-License-Identifier: MPL-2.0 */ struct Visit -- cgit 1.4.1