Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# License

```
| SPDX-License-Identifier: AGPL-3.0-or-later
| © Copyright 2008-2024 José Manuel Rodríguez de la Rosa
| and contributors.
```

See https://www.gnu.org/licenses/agpl-3.0.html for license details.

# Contributors

Not all the Contributors are listed here. If you are missing, please let us know.

* Jose Rodriguez ([@boriel](https://github.com/boriel))
* Paul Fisher [@britlion](https://github.com/Britlion)
* David Saphier [@em00k](https://github.com/em00k)
* Agustín Gimenez Bernad [@gusmanb](https://github.com/gusmanb)
* Baltasar García Perez-Schofield ([@Baltasarq](https://github.com/Baltasarq))
* Bartolomé Sánchez Salado ([@bartsanchez](https://github.com/bartsanchez))
* Cronomantic ([@cronomantic](https://github.com/cronomantic))
* Juan Segura Durán ([@Duefectu](https://github.com/Duefectu))
* Einar Saukas ([@einar-saukas](https://github.com/einar-saukas))
* Ivan Kosarev ([@kosarev](https://github.com/kosarev))
* Miguel Angel Rodríguez Jódar ([@mcleod-ideafix](https://github.com/mcleod-ideafix))
* [@MrKOSMOS](https://github.com/MrKOSMOS)
* [@patters-match](https://github.com/patters-match)
* [@programadorhedonista](https://github.com/programadorhedonista)
* Rogerio Biondi ([@rogeriobiondi](https://github.com/rogeriobiondi))
* [@spectrumcomputing](https://github.com/spectrumcomputing)
* Stefan ([@polluks](https://github.com/polluks))
* Alejandro Valero ([@wilco2009](https://github.com/wilco2009))
* Pedro Gimeno ([@pgimeno](https://codeberg.org/pgimeno))

Many thanks! Every line counts! 🫶
6 changes: 6 additions & 0 deletions src/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------
6 changes: 6 additions & 0 deletions src/api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------
15 changes: 6 additions & 9 deletions src/api/check.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# vim:ts=4:sw=4:et:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------

# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from src.api import config, errmsg, global_
from src.api.constants import CLASS, SCOPE
Expand Down
14 changes: 6 additions & 8 deletions src/api/config.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# vim:ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import configparser
import enum
Expand Down
14 changes: 6 additions & 8 deletions src/api/constants.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# vim: ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import enum
import os
Expand Down
7 changes: 7 additions & 0 deletions src/api/dataref.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from dataclasses import dataclass
from typing import Any

Expand Down
9 changes: 6 additions & 3 deletions src/api/debug.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# vim:ts=4:sw=4:et:

# Simple debugging module
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import inspect
import os
Expand Down
7 changes: 7 additions & 0 deletions src/api/decorator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from collections.abc import Callable


Expand Down
14 changes: 6 additions & 8 deletions src/api/errmsg.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# vim: ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import sys
from collections.abc import Callable
Expand Down
17 changes: 6 additions & 11 deletions src/api/exception.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# vim:ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------


# ------------------------- ERROR exception classes ---------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

__all__ = [
"Error",
Expand Down
7 changes: 6 additions & 1 deletion src/api/fp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Floating point converter
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------


def fp(x: float) -> tuple[str, str]:
Expand Down
13 changes: 6 additions & 7 deletions src/api/global_.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# vim:ts=4:et:sw=4:
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
from __future__ import annotations

from typing import TYPE_CHECKING, Final, NamedTuple
Expand Down
12 changes: 6 additions & 6 deletions src/api/opcodestemps.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

__all__ = "OpcodesTemps", "init"

Expand Down
7 changes: 7 additions & 0 deletions src/api/optimize.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import symtable
from collections.abc import Generator
from typing import Any, NamedTuple
Expand Down
14 changes: 6 additions & 8 deletions src/api/options.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# vim: ts=4:sw=4:et:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import enum
import json
Expand Down
7 changes: 7 additions & 0 deletions src/api/python_version_check.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import sys
from typing import Final

Expand Down
12 changes: 6 additions & 6 deletions src/api/string_labels.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

__doc__ = """This module is a singleton instance that contains
a mapping of constant Strings to Labels.
Expand Down
6 changes: 6 additions & 0 deletions src/api/symboltable/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------
14 changes: 6 additions & 8 deletions src/api/symboltable/scope.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# vim: ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from collections import OrderedDict
from typing import Optional
Expand Down
15 changes: 6 additions & 9 deletions src/api/symboltable/symboltable.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# vim: ts=4:et:sw=4:

# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNU General License
# ----------------------------------------------------------------------

# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from src.api import check as check
from src.api import errmsg, global_
Expand Down
7 changes: 7 additions & 0 deletions src/api/tmp_labels.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from src.api import global_ as gl

LABEL_COUNTER = 0
Expand Down
7 changes: 7 additions & 0 deletions src/api/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import errno
import os
import shelve
Expand Down
12 changes: 6 additions & 6 deletions src/arch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ----------------------------------------------------------------------
# Copyleft (K), Jose M. Rodriguez-Rosa (a.k.a. Boriel)
#
# This program is Free Software and is released under the terms of
# the GNUv3 General License
# ----------------------------------------------------------------------
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

import importlib
from types import ModuleType
Expand Down
6 changes: 6 additions & 0 deletions src/arch/interface/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------
7 changes: 7 additions & 0 deletions src/arch/interface/backend.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from abc import ABC, abstractmethod

__all__ = ("BackendInterface",)
Expand Down
7 changes: 7 additions & 0 deletions src/arch/interface/optimizer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# --------------------------------------------------------------------
# SPDX-License-Identifier: AGPL-3.0-or-later
# © Copyright 2008-2024 José Manuel Rodríguez de la Rosa and contributors.
# See the file CONTRIBUTORS.md for copyright details.
# See https://www.gnu.org/licenses/agpl-3.0.html for details.
# --------------------------------------------------------------------

from abc import ABC, abstractmethod


Expand Down
Loading