diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-12-10 14:06:17 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-12-10 14:06:17 +0100 |
commit | dd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 (patch) | |
tree | 563697c8c7b946ea674925a9a8aaedfe92e23e2a /prolog | |
parent | 655d894cce5b0f01567d0a3e94bbb9cad024ad3e (diff) |
Add copyright info
Diffstat (limited to 'prolog')
-rw-r--r-- | prolog/engine.py | 16 | ||||
-rw-r--r-- | prolog/lexer.py | 16 | ||||
-rw-r--r-- | prolog/parser.py | 16 | ||||
-rwxr-xr-x | prolog/runner/daemon.pl | 16 | ||||
-rwxr-xr-x | prolog/runner/main.pl | 16 | ||||
-rw-r--r-- | prolog/util.py | 16 |
6 files changed, 94 insertions, 2 deletions
diff --git a/prolog/engine.py b/prolog/engine.py index d61c43b..43991d4 100644 --- a/prolog/engine.py +++ b/prolog/engine.py @@ -1,5 +1,21 @@ #!/usr/bin/python3 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero 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 Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import collections import html import http.client diff --git a/prolog/lexer.py b/prolog/lexer.py index 712aa42..8f1a268 100644 --- a/prolog/lexer.py +++ b/prolog/lexer.py @@ -1,5 +1,21 @@ #!/usr/bin/python3 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero 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 Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import ply.lex as lex # LEXER diff --git a/prolog/parser.py b/prolog/parser.py index 456539f..6166887 100644 --- a/prolog/parser.py +++ b/prolog/parser.py @@ -1,4 +1,18 @@ -#!/usr/bin/python3 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero 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 Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import ply.yacc as yacc from .lexer import operators, tokens diff --git a/prolog/runner/daemon.pl b/prolog/runner/daemon.pl index b079d94..0be3d9e 100755 --- a/prolog/runner/daemon.pl +++ b/prolog/runner/daemon.pl @@ -1,5 +1,21 @@ #!/usr/bin/swipl -q --nosignals -tty -s +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + % Pengine and HTTP server modules. :- use_module(library(http/http_dispatch)). :- use_module(library(http/http_error)). diff --git a/prolog/runner/main.pl b/prolog/runner/main.pl index d945f51..2aa7f5c 100755 --- a/prolog/runner/main.pl +++ b/prolog/runner/main.pl @@ -1,5 +1,21 @@ #!/usr/bin/swipl -q -s +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + % Pengine and HTTP server modules. :- use_module(library(http/http_dispatch)). :- use_module(library(http/http_error)). diff --git a/prolog/util.py b/prolog/util.py index 7e8adb2..19312ef 100644 --- a/prolog/util.py +++ b/prolog/util.py @@ -1,4 +1,18 @@ -#!/usr/bin/python3 +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero 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 Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. from collections import namedtuple |