]> code.bitgloo.com Git - clyne/forspll.git/commitdiff
add license to files
authorClyne Sullivan <clyne@bitgloo.com>
Sat, 15 Jun 2024 12:47:41 +0000 (08:47 -0400)
committerClyne Sullivan <clyne@bitgloo.com>
Sat, 15 Jun 2024 12:47:41 +0000 (08:47 -0400)
LICENSE
ast.cpp
ast.hpp
llvm.cpp
llvm.hpp
main.cpp
parser.cpp
parser.hpp
var.cpp
var.hpp

diff --git a/LICENSE b/LICENSE
index d41c0bd98feb776ef7d81efbc1b5447e0284a187..847984e4957ce05eb474d29ae6a382781cedf145 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -200,33 +200,3 @@ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY C
 17. Interpretation of Sections 15 and 16.
 If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
 
-END OF TERMS AND CONDITIONS
-
-How to Apply These Terms to Your New Programs
-
-If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
-
-To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
-
-     <one line to give the program's name and a brief idea of what it does.>
-     Copyright (C) <year>  <name of author>
-
-     This program 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.
-
-     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 along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
-
-     <program>  Copyright (C) <year>  <name of author>
-     This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-     This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
-
-You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
-
-The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/ast.cpp b/ast.cpp
index 07bc507730ba33f3314bfbeea2679fc11526df81..1de183ea109249e5aa3b2d697c0863bea83a1bd8 100644 (file)
--- a/ast.cpp
+++ b/ast.cpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #include "ast.hpp"
 
 int ThunkAST::tcount = 0;
diff --git a/ast.hpp b/ast.hpp
index 217e2219a84d695662234fe484636ad1a566b0c9..7d213ba2d41e7a06e4a840ecc2f487196902d8ea 100644 (file)
--- a/ast.hpp
+++ b/ast.hpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef FORSPLL_AST_HPP
 #define FORSPLL_AST_HPP
 
index fc56d9e4fdb16a314ffaa1333b329d910475219a..e5ed2db90bdca64240e029b50ccae166b79f8f2c 100644 (file)
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #include "llvm.hpp"
 
 LLVMState::LLVMState():
index 008d5cd14cbd789f09a192c52ae0d94c04abc3d0..0cd132f20636c254fa4baf8f7f340201035f6b6c 100644 (file)
--- a/llvm.hpp
+++ b/llvm.hpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef FORSPLL_LLVM_HPP
 #define FORSPLL_LLVM_HPP
 
index 50c026615065c4b193c50a523ca3bee98fbb3be8..f2c0b1d065a3d8f8bb2ddb4949621289d0660ba5 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -1,3 +1,21 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <algorithm>
 #include <cctype>
 #include <iostream>
index f80721a50b069b0a12fb511b669d045f1e147c1e..eb585f0605342cb2ab1650f9bf531fddff292e49 100644 (file)
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #include "parser.hpp"
 
 #include <cctype>
index 962c98496581e0cd94f5e87744d4bcb5eaf743d5..bc330111bcb6be6d1c79f42baf61c21b3f25ce0c 100644 (file)
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef FORSPLL_PARSER_HPP
 #define FORSPLL_PARSER_HPP
 
diff --git a/var.cpp b/var.cpp
index 339054f4765b48b30176accc5ad6c66a7dd809ce..6fe9104ce51d723ec502af0094f2496f841f0638 100644 (file)
--- a/var.cpp
+++ b/var.cpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #include "var.hpp"
 
 #include <list>
diff --git a/var.hpp b/var.hpp
index 098af6989f7a0819e3483564d4803848099a3c56..f61883fea0b16de2e468773aa2dded4995a39e7d 100644 (file)
--- a/var.hpp
+++ b/var.hpp
@@ -1,3 +1,20 @@
+/**
+ * forspll - LLVM-based Forsp compiler
+ * Copyright (C) 2024  Clyne Sullivan <clyne@bitgloo.com>
+ *
+ * This program 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.
+ *
+ * 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 along with
+ * this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef FORSPLL_VAR_HPP
 #define FORSPLL_VAR_HPP