lambda-calculus 3.0.0__tar.gz → 3.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. lambda_calculus-3.1.1/.gitignore +226 -0
  2. lambda_calculus-3.1.1/.readthedocs.yaml +20 -0
  3. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1}/PKG-INFO +8 -7
  4. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1}/README.md +2 -1
  5. lambda_calculus-3.1.1/docs/Makefile +20 -0
  6. lambda_calculus-3.1.1/docs/api/errors.rst +8 -0
  7. lambda_calculus-3.1.1/docs/api/terms/abc.rst +8 -0
  8. lambda_calculus-3.1.1/docs/api/terms/arithmetic.rst +8 -0
  9. lambda_calculus-3.1.1/docs/api/terms/combinators.rst +8 -0
  10. lambda_calculus-3.1.1/docs/api/terms/logic.rst +8 -0
  11. lambda_calculus-3.1.1/docs/api/terms/pairs.rst +8 -0
  12. lambda_calculus-3.1.1/docs/api/terms.rst +15 -0
  13. lambda_calculus-3.1.1/docs/api/visitors/normalisation.rst +8 -0
  14. lambda_calculus-3.1.1/docs/api/visitors/substitution/checked.rst +8 -0
  15. lambda_calculus-3.1.1/docs/api/visitors/substitution/renaming.rst +8 -0
  16. lambda_calculus-3.1.1/docs/api/visitors/substitution/unsafe.rst +8 -0
  17. lambda_calculus-3.1.1/docs/api/visitors/substitution.rst +12 -0
  18. lambda_calculus-3.1.1/docs/api/visitors/walking.rst +8 -0
  19. lambda_calculus-3.1.1/docs/api/visitors.rst +12 -0
  20. lambda_calculus-3.1.1/docs/api.rst +23 -0
  21. lambda_calculus-3.1.1/docs/conf.py +15 -0
  22. lambda_calculus-3.1.1/docs/index.rst +25 -0
  23. lambda_calculus-3.1.1/docs/installation.rst +33 -0
  24. lambda_calculus-3.1.1/docs/requirements.txt +3 -0
  25. lambda_calculus-3.1.1/pyproject.toml +140 -0
  26. lambda_calculus-3.1.1/src/lambda_calculus/__init__.py +8 -0
  27. lambda_calculus-3.1.1/src/lambda_calculus/_version.py +24 -0
  28. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/errors.py +3 -6
  29. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/terms/__init__.py +56 -50
  30. lambda_calculus-3.1.1/src/lambda_calculus/terms/abc.py +17 -0
  31. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/terms/arithmetic.py +17 -63
  32. lambda_calculus-3.1.1/src/lambda_calculus/terms/combinators.py +59 -0
  33. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/terms/logic.py +7 -18
  34. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/terms/pairs.py +7 -27
  35. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/__init__.py +24 -23
  36. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/normalisation.py +21 -19
  37. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/substitution/__init__.py +20 -23
  38. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/substitution/checked.py +13 -23
  39. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/substitution/renaming.py +42 -36
  40. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/substitution/unsafe.py +12 -13
  41. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/visitors/walking.py +5 -9
  42. lambda_calculus-3.1.1/tests/__init__.py +0 -0
  43. lambda_calculus-3.1.1/tests/terms/__init__.py +236 -0
  44. lambda_calculus-3.1.1/tests/terms/test_abc.py +23 -0
  45. lambda_calculus-3.1.1/tests/terms/test_arithmetic.py +148 -0
  46. lambda_calculus-3.1.1/tests/terms/test_combinators.py +90 -0
  47. lambda_calculus-3.1.1/tests/terms/test_logic.py +71 -0
  48. lambda_calculus-3.1.1/tests/terms/test_pairs.py +49 -0
  49. lambda_calculus-3.1.1/tests/test_errors.py +27 -0
  50. lambda_calculus-3.1.1/tests/test_readme.py +71 -0
  51. lambda_calculus-3.1.1/tests/visitors/__init__.py +0 -0
  52. lambda_calculus-3.1.1/tests/visitors/substitution/__init__.py +0 -0
  53. lambda_calculus-3.1.1/tests/visitors/substitution/test_checked.py +53 -0
  54. lambda_calculus-3.1.1/tests/visitors/substitution/test_renaming.py +136 -0
  55. lambda_calculus-3.1.1/tests/visitors/test_normalisation.py +126 -0
  56. lambda_calculus-3.1.1/tests/visitors/test_walking.py +45 -0
  57. lambda_calculus-3.0.0/lambda_calculus/__init__.py +0 -17
  58. lambda_calculus-3.0.0/lambda_calculus/terms/combinators.py +0 -83
  59. lambda_calculus-3.0.0/lambda_calculus.egg-info/PKG-INFO +0 -114
  60. lambda_calculus-3.0.0/lambda_calculus.egg-info/SOURCES.txt +0 -22
  61. lambda_calculus-3.0.0/lambda_calculus.egg-info/dependency_links.txt +0 -1
  62. lambda_calculus-3.0.0/lambda_calculus.egg-info/top_level.txt +0 -1
  63. lambda_calculus-3.0.0/pyproject.toml +0 -62
  64. lambda_calculus-3.0.0/setup.cfg +0 -4
  65. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1}/LICENSE +0 -0
  66. {lambda_calculus-3.0.0 → lambda_calculus-3.1.1/src}/lambda_calculus/py.typed +0 -0
@@ -0,0 +1,226 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # uv
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ .direnv
157
+ env/
158
+ venv/
159
+ ENV/
160
+ env.bak/
161
+ venv.bak/
162
+
163
+ # Spyder project settings
164
+ .spyderproject
165
+ .spyproject
166
+
167
+ # Rope project settings
168
+ .ropeproject
169
+
170
+ # mkdocs/Zensical documentation
171
+ /site
172
+
173
+ # mypy
174
+ .mypy_cache/
175
+ .dmypy.json
176
+ dmypy.json
177
+ .mypy_reports/
178
+
179
+ # Pyre type checker
180
+ .pyre/
181
+
182
+ # pytype static type analyzer
183
+ .pytype/
184
+
185
+ # Cython debug symbols
186
+ cython_debug/
187
+
188
+ # PyCharm
189
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
190
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
191
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
192
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
193
+ # .idea/
194
+
195
+ # Abstra
196
+ # Abstra is an AI-powered process automation framework.
197
+ # Ignore directories containing user credentials, local state, and settings.
198
+ # Learn more at https://abstra.io/docs
199
+ .abstra/
200
+
201
+ # Visual Studio Code
202
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
203
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
204
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
205
+ # could uncomment the following to ignore the entire vscode folder
206
+ .vscode/
207
+ # Temporary file for partial code execution
208
+ tempCodeRunnerFile.py
209
+
210
+ # Ruff stuff:
211
+ .ruff_cache/
212
+ .ruff_defaults.toml
213
+
214
+ # PyPI configuration file
215
+ .pypirc
216
+
217
+ # Marimo
218
+ marimo/_static/
219
+ marimo/_lsp/
220
+ __marimo__/
221
+
222
+ # Streamlit
223
+ .streamlit/secrets.toml
224
+
225
+ # hatch-vcs
226
+ src/*/_version.py
@@ -0,0 +1,20 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: "ubuntu-26.04"
5
+ tools:
6
+ python: "3.14"
7
+
8
+ formats:
9
+ - pdf
10
+ - epub
11
+
12
+ sphinx:
13
+ configuration: docs/conf.py
14
+ fail_on_warning: true
15
+
16
+ python:
17
+ install:
18
+ - requirements: docs/requirements.txt
19
+ - method: pip
20
+ path: .
@@ -1,11 +1,12 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.5
2
2
  Name: lambda_calculus
3
- Version: 3.0.0
3
+ Version: 3.1.1
4
4
  Summary: Implementation of the Lambda calculus
5
- Author-email: Eric Niklas Wolf <eric_niklas.wolf@mailbox.tu-dresden.de>
6
5
  Project-URL: Repository, https://github.com/Deric-W/lambda_calculus
7
6
  Project-URL: Documentation, http://lambda-calculus.readthedocs.io/
8
7
  Project-URL: Bugtracker, https://github.com/Deric-W/lambda_calculus/issues
8
+ Author-email: Eric Niklas Wolf <eric_niklas.wolf@mailbox.tu-dresden.de>
9
+ License-File: LICENSE
9
10
  Classifier: Intended Audience :: Education
10
11
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
12
  Classifier: Operating System :: OS Independent
@@ -13,13 +14,13 @@ Classifier: Programming Language :: Python :: 3 :: Only
13
14
  Classifier: Topic :: Education
14
15
  Classifier: Topic :: Utilities
15
16
  Classifier: Typing :: Typed
16
- Requires-Python: >=3.10
17
+ Requires-Python: >=3.11
17
18
  Description-Content-Type: text/markdown
18
- License-File: LICENSE
19
19
 
20
20
  # lambda_calculus
21
21
 
22
- ![Tests](https://github.com/Deric-W/lambda_calculus/actions/workflows/Tests.yaml/badge.svg)
22
+ [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
23
+ ![Tests](https://github.com/Deric-W/lambda_calculus/actions/workflows/Test.yaml/badge.svg)
23
24
  [![codecov](https://codecov.io/gh/Deric-W/lambda_calculus/branch/main/graph/badge.svg?token=SU3982mC17)](https://codecov.io/gh/Deric-W/lambda_calculus)
24
25
  [![Documentation Status](https://readthedocs.org/projects/lambda-calculus/badge/?version=stable)](https://lambda-calculus.readthedocs.io/en/stable/?badge=stable)
25
26
 
@@ -111,4 +112,4 @@ assert BetaNormalisingVisitor().skip_intermediate(term) == Application.with_argu
111
112
  Variable("+"),
112
113
  (Variable("4"), Variable("3"))
113
114
  )
114
- ```
115
+ ```
@@ -1,6 +1,7 @@
1
1
  # lambda_calculus
2
2
 
3
- ![Tests](https://github.com/Deric-W/lambda_calculus/actions/workflows/Tests.yaml/badge.svg)
3
+ [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
4
+ ![Tests](https://github.com/Deric-W/lambda_calculus/actions/workflows/Test.yaml/badge.svg)
4
5
  [![codecov](https://codecov.io/gh/Deric-W/lambda_calculus/branch/main/graph/badge.svg?token=SU3982mC17)](https://codecov.io/gh/Deric-W/lambda_calculus)
5
6
  [![Documentation Status](https://readthedocs.org/projects/lambda-calculus/badge/?version=stable)](https://lambda-calculus.readthedocs.io/en/stable/?badge=stable)
6
7
 
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,8 @@
1
+ Module errors
2
+ =============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.errors
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module abc
2
+ ==========
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.terms.abc
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module arithmetic
2
+ =================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.terms.arithmetic
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module combinators
2
+ ==================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.terms.combinators
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module logic
2
+ ============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.terms.logic
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module pairs
2
+ ============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.terms.pairs
8
+ :members:
@@ -0,0 +1,15 @@
1
+ Package terms
2
+ =============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ terms/abc
8
+ terms/logic
9
+ terms/arithmetic
10
+ terms/pairs
11
+ terms/combinators
12
+
13
+ .. automodule:: lambda_calculus.terms
14
+ :members:
15
+ :special-members: __iter__, __str__
@@ -0,0 +1,8 @@
1
+ Module normalisation
2
+ ====================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.visitors.normalisation
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module checked
2
+ ==============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.visitors.substitution.checked
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module renaming
2
+ ===============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.visitors.substitution.renaming
8
+ :members:
@@ -0,0 +1,8 @@
1
+ Module unsafe
2
+ =============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.visitors.substitution.unsafe
8
+ :members:
@@ -0,0 +1,12 @@
1
+ Package substitution
2
+ ====================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ substitution/checked
8
+ substitution/renaming
9
+ substitution/unsafe
10
+
11
+ .. automodule:: lambda_calculus.visitors.substitution
12
+ :members:
@@ -0,0 +1,8 @@
1
+ Module walking
2
+ ==============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ .. automodule:: lambda_calculus.visitors.walking
8
+ :members:
@@ -0,0 +1,12 @@
1
+ Package visitors
2
+ ================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ visitors/substitution
8
+ visitors/normalisation
9
+ visitors/walking
10
+
11
+ .. automodule:: lambda_calculus.visitors
12
+ :members:
@@ -0,0 +1,23 @@
1
+ Package API
2
+ ===========
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ api/terms
8
+ api/visitors
9
+ api/errors
10
+
11
+ .. automodule:: lambda_calculus
12
+
13
+ .. autoclass:: Variable
14
+
15
+ Reference to :class:`.terms.Variable` for convenience
16
+
17
+ .. autoclass:: Abstraction
18
+
19
+ Reference to :class:`.terms.Abstraction` for convenience
20
+
21
+ .. autoclass:: Application
22
+
23
+ Reference to :class:`.terms.Application` for convenience
@@ -0,0 +1,15 @@
1
+ """Sphinx configuration"""
2
+
3
+ import os.path
4
+ import sys
5
+
6
+ from sphinx_pyproject import SphinxConfig
7
+
8
+ sys.path.append(os.path.abspath(".."))
9
+
10
+ config = SphinxConfig("../pyproject.toml", globalns=globals())
11
+
12
+ intersphinx_mapping = {
13
+ "python": ("https://docs.python.org/3/", None),
14
+ "sphinx": ("https://www.sphinx-doc.org/en/stable/", None),
15
+ }
@@ -0,0 +1,25 @@
1
+ lambda_calculus
2
+ ===============
3
+
4
+ Welcome to lambda_calculus`s documentation.
5
+
6
+ This project implements basic operations of the `Lambda calculus <https://en.wikipedia.org/wiki/Lambda_calculus>`_
7
+ as a python package and contains helpers to define custom ones.
8
+
9
+ It is intended to be used for educational purposes and is not optimized for speed.
10
+ Furthermore, it expects all terms to be finite, which means the absence of cycles.
11
+ :py:class:`RecursionError` may be raised when using an infinite term or the evaluation is too complex.
12
+
13
+ .. toctree::
14
+ :maxdepth: 2
15
+
16
+ installation
17
+ api
18
+
19
+
20
+ Indices and tables
21
+ ==================
22
+
23
+ * :ref:`genindex`
24
+ * :ref:`modindex`
25
+ * :ref:`search`
@@ -0,0 +1,33 @@
1
+ Installation
2
+ ============
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+
7
+ Overview over the most common ways of installing this project.
8
+
9
+ Installation from PyPI
10
+ ----------------------
11
+
12
+ If you just want to get started or receive updates you can use
13
+ the package available on `PyPI <https://pypi.org/project/lambda-calculus/>`_ and
14
+ install it with the following command:
15
+
16
+ .. code:: bash
17
+
18
+ python3 -m pip install lambda-calculus
19
+
20
+ `Sematic Versioning <https://semver.org/>`_ is is attempted to be adhered to.
21
+
22
+ Installation from source
23
+ ------------------------
24
+
25
+ This project adheres to `PEP 517 <https://peps.python.org/pep-0517>`_ and
26
+ can be build using `build <https://pypi.org/project/build/>`_:
27
+
28
+ .. code:: bash
29
+
30
+ python3 -m build
31
+
32
+ The resulting wheel should be platform and machine independent
33
+ because this is a pure python project.
@@ -0,0 +1,3 @@
1
+ sphinx ~= 9.1.0
2
+ sphinx-pyproject ~= 0.3.0
3
+ sphinx-rtd-theme ~= 3.1.0