summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/aplwc_internal.h19
-rw-r--r--src/lib/boot.aplwc19
-rw-r--r--src/lib/eval.c19
-rw-r--r--src/lib/main.c19
-rw-r--r--src/lib/memory.c19
-rw-r--r--src/lib/module.c19
-rw-r--r--src/lib/string.c19
-rw-r--r--src/lib/syntax.c19
8 files changed, 152 insertions, 0 deletions
diff --git a/src/lib/aplwc_internal.h b/src/lib/aplwc_internal.h
index 1637ef2..5c6f1dc 100644
--- a/src/lib/aplwc_internal.h
+++ b/src/lib/aplwc_internal.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef APLWC_INTERNAL_H
#define APLWC_INTERNAL_H
diff --git a/src/lib/boot.aplwc b/src/lib/boot.aplwc
index 6248427..ef6b479 100644
--- a/src/lib/boot.aplwc
+++ b/src/lib/boot.aplwc
@@ -1,3 +1,22 @@
+⍝
+⍝ Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+⍝
+⍝ This file is part of aplwc.
+⍝
+⍝ Aplwc is free software: you can redistribute it and/or modify
+⍝ it under the terms of the GNU General Public License as published by
+⍝ the Free Software Foundation, either version 3 of the License, or
+⍝ (at your option) any later version.
+⍝
+⍝ Aplwc 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
+⍝ along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+⍝
+
:module Boot
:symbol plus '+'
:symbol minus '-'
diff --git a/src/lib/eval.c b/src/lib/eval.c
index 0da90db..c2dc344 100644
--- a/src/lib/eval.c
+++ b/src/lib/eval.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
struct aplwc_value *
diff --git a/src/lib/main.c b/src/lib/main.c
index 8aceded..3ea08e5 100644
--- a/src/lib/main.c
+++ b/src/lib/main.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
#include "boot.h"
diff --git a/src/lib/memory.c b/src/lib/memory.c
index 61360b1..e277bd7 100644
--- a/src/lib/memory.c
+++ b/src/lib/memory.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
#define ALIGNMENT 8
diff --git a/src/lib/module.c b/src/lib/module.c
index 2524eca..d14b822 100644
--- a/src/lib/module.c
+++ b/src/lib/module.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
static int
diff --git a/src/lib/string.c b/src/lib/string.c
index cc6c6cb..05549e0 100644
--- a/src/lib/string.c
+++ b/src/lib/string.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
struct string *
diff --git a/src/lib/syntax.c b/src/lib/syntax.c
index ae52343..d20c058 100644
--- a/src/lib/syntax.c
+++ b/src/lib/syntax.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2026 Peter Mikkelsen <petermikkelsen10@gmail.com>
+ *
+ * This file is part of aplwc.
+ *
+ * Aplwc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Aplwc 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
+ * along with aplwc. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "aplwc_internal.h"
struct scan_state {