mirror of
https://gitlab.com/niansa/pilang.git
synced 2025-03-06 20:48:26 +01:00
Added license notes to files and put *.pyc into .gitignore
This commit is contained in:
parent
cee00d8b0d
commit
deba2000a9
14 changed files with 129 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.pyc
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16
cli.py
16
cli.py
|
@ -1,4 +1,20 @@
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
import sys
|
import sys
|
||||||
from intern import main_class
|
from intern import main_class
|
||||||
|
|
||||||
|
|
17
errors.py
17
errors.py
|
@ -1,3 +1,20 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
|
|
||||||
class nochsuchcmd: pass
|
class nochsuchcmd: pass
|
||||||
class badarguments: pass
|
class badarguments: pass
|
||||||
class nosuchmodule: pass
|
class nosuchmodule: pass
|
||||||
|
|
16
intern.py
16
intern.py
|
@ -1,3 +1,19 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
import sys, os
|
import sys, os
|
||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
import errors
|
import errors
|
||||||
|
|
Binary file not shown.
|
@ -1,3 +1,19 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
import sys
|
import sys
|
||||||
import errors
|
import errors
|
||||||
import rtypes
|
import rtypes
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
import errors
|
import errors
|
||||||
import rtypes
|
import rtypes
|
||||||
|
|
||||||
|
|
16
rstrings.py
16
rstrings.py
|
@ -1,3 +1,19 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
rstrings = {
|
rstrings = {
|
||||||
"success": "Success",
|
"success": "Success",
|
||||||
"fail": "Failed",
|
"fail": "Failed",
|
||||||
|
|
16
rtypes.py
16
rtypes.py
|
@ -1,2 +1,18 @@
|
||||||
|
"""
|
||||||
|
This file is part of pilang.
|
||||||
|
|
||||||
|
pilang 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.
|
||||||
|
|
||||||
|
pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
class success: pass
|
class success: pass
|
||||||
class fail: pass
|
class fail: pass
|
||||||
|
|
15
test.pil
15
test.pil
|
@ -1,3 +1,18 @@
|
||||||
|
#This file is part of pilang.
|
||||||
|
#
|
||||||
|
#pilang 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.
|
||||||
|
#
|
||||||
|
#pilang 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 pilang. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Enable error catching
|
# Enable error catching
|
||||||
catch True
|
catch True
|
||||||
# Initialise stuff
|
# Initialise stuff
|
||||||
|
|
Loading…
Add table
Reference in a new issue