coconut-develop 3.0.2.post0.dev34__tar.gz → 3.0.3.post0.dev1__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.
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/CONTRIBUTING.md +1 -1
- coconut-develop-3.0.3.post0.dev1/PKG-INFO +137 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/__coconut__/__init__.pyi +481 -67
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/api.pyi +35 -11
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/command.py +10 -10
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/command.pyi +1 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/templates/header.py_template +22 -20
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/util.py +71 -52
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/constants.py +1 -1
- coconut-develop-3.0.3.post0.dev1/coconut/icoconut/coconut/kernel.json +11 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/root.py +2 -2
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/main_test.py +2 -0
- coconut-develop-3.0.2.post0.dev34/PKG-INFO +0 -137
- coconut-develop-3.0.2.post0.dev34/coconut/icoconut/coconut/kernel.json +0 -11
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/DOCS.md +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/FAQ.md +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/HELP.md +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/LICENSE.txt +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/MANIFEST.in +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/README.rst +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/__coconut__/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/__coconut__/py.typed +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/_coconut/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/_coconut/__init__.pyi +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/_coconut/py.typed +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/__coconut__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/__coconut__.pyi +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/__init__.pyi +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/__main__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/_pyparsing.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/api.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/__init__.pyi +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/cli.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/mypy.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/resources/zcoconut.pth +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/util.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/command/watch.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/compiler.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/grammar.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/header.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/compiler/matching.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/convenience.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/convenience.pyi +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/exceptions.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/highlighter.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/__main__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/coconut_py/kernel.json +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/coconut_py2/kernel.json +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/coconut_py3/kernel.json +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/embed.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/icoconut/root.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/integrations.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/main.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/py.typed +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/requirements.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/terminal.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/__init__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/__main__.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/constants_test.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/__init__.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/main.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/primary.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/specific.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/suite.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/tutorial.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/agnostic/util.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/non_strict/non_strict_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_2/py2_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_3/py3_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_35/py35_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_36/py36_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_38/py38_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/cocotest/target_sys/target_sys_test.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/extras.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/importable.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/runnable.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/tests/src/runner.coco +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut/util.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/coconut_develop.egg-info/SOURCES.txt +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/conf.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/pyproject.toml +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/setup.cfg +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/setup.py +0 -0
- {coconut-develop-3.0.2.post0.dev34 → coconut-develop-3.0.3.post0.dev1}/xontrib/coconut.py +0 -0
|
@@ -154,7 +154,7 @@ After you've tested your changes locally, you'll want to add more permanent test
|
|
|
154
154
|
|
|
155
155
|
1. Preparation:
|
|
156
156
|
1. Run `make check-reqs` and update dependencies as necessary
|
|
157
|
-
2. Run `make format`
|
|
157
|
+
2. Run `sudo make format`
|
|
158
158
|
3. Make sure `make test`, `make test-py2`, and `make test-easter-eggs` are passing
|
|
159
159
|
4. Ensure that `coconut --watch` can successfully compile files when they're modified
|
|
160
160
|
5. Check changes in [`compiled-cocotest`](https://github.com/evhub/compiled-cocotest), [`pyprover`](https://github.com/evhub/pyprover), and [`coconut-prelude`](https://github.com/evhub/coconut-prelude)
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: coconut-develop
|
|
3
|
+
Version: 3.0.3.post0.dev1
|
|
4
|
+
Summary: Simple, elegant, Pythonic functional programming.
|
|
5
|
+
Home-page: http://coconut-lang.org
|
|
6
|
+
Author: Evan Hubinger
|
|
7
|
+
Author-email: evanjhub@gmail.com
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Description: |logo| Coconut
|
|
10
|
+
==============
|
|
11
|
+
|
|
12
|
+
..
|
|
13
|
+
<insert toctree here>
|
|
14
|
+
|
|
15
|
+
.. |logo| image:: https://github.com/evhub/coconut/raw/gh-pages/favicon-32x32.png
|
|
16
|
+
|
|
17
|
+
.. image:: https://opencollective.com/coconut/backers/badge.svg
|
|
18
|
+
:alt: Backers on Open Collective
|
|
19
|
+
:target: #backers
|
|
20
|
+
.. image:: https://opencollective.com/coconut/sponsors/badge.svg
|
|
21
|
+
:alt: Sponsors on Open Collective
|
|
22
|
+
:target: #sponsors
|
|
23
|
+
.. image:: https://badges.gitter.im/evhub/coconut.svg
|
|
24
|
+
:alt: Join the chat at https://gitter.im/evhub/coconut
|
|
25
|
+
:target: https://gitter.im/evhub/coconut?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
|
26
|
+
|
|
27
|
+
Coconut (`coconut-lang.org`__) is a variant of Python_ that **adds on top of Python syntax** new features for simple, elegant, Pythonic **functional programming**.
|
|
28
|
+
|
|
29
|
+
__ Coconut_
|
|
30
|
+
.. _Coconut: http://coconut-lang.org/
|
|
31
|
+
|
|
32
|
+
Coconut is developed on GitHub_ and hosted on PyPI_. Installing Coconut is as easy as opening a command prompt and entering::
|
|
33
|
+
|
|
34
|
+
pip install coconut
|
|
35
|
+
|
|
36
|
+
To help you get started, check out these links for more information about Coconut:
|
|
37
|
+
|
|
38
|
+
- Tutorial_: If you're new to Coconut, a good place to start is Coconut's **tutorial**.
|
|
39
|
+
- Documentation_: If you're looking for info about a specific feature, check out Coconut's **documentation**.
|
|
40
|
+
- `Online Interpreter`_: If you want to try Coconut in your browser, check out Coconut's **online interpreter**.
|
|
41
|
+
- FAQ_: If you have general questions about Coconut—like who Coconut is built for and whether or not you should use it—Coconut's frequently asked questions are often the best place to start.
|
|
42
|
+
- `Create a New Issue <https://github.com/evhub/coconut/issues/new>`_: If you're having a problem with Coconut, creating a new issue detailing the problem will allow it to be addressed as soon as possible.
|
|
43
|
+
- Gitter_: For any questions, concerns, or comments about anything Coconut-related, ask around at Coconut's Gitter, a GitHub-integrated chat room for Coconut developers.
|
|
44
|
+
- Releases_: Want to know what's been added in recent Coconut versions? Check out the release log for all the new features and fixes.
|
|
45
|
+
|
|
46
|
+
.. _Python: https://www.python.org/
|
|
47
|
+
.. _PyPI: https://pypi.python.org/pypi/coconut
|
|
48
|
+
.. _Tutorial: http://coconut.readthedocs.io/en/latest/HELP.html
|
|
49
|
+
.. _Documentation: http://coconut.readthedocs.io/en/latest/DOCS.html
|
|
50
|
+
.. _`Online Interpreter`: https://cs121-team-panda.github.io/coconut-interpreter
|
|
51
|
+
.. _FAQ: http://coconut.readthedocs.io/en/latest/FAQ.html
|
|
52
|
+
.. _GitHub: https://github.com/evhub/coconut
|
|
53
|
+
.. _Gitter: https://gitter.im/evhub/coconut
|
|
54
|
+
.. _Releases: https://github.com/evhub/coconut/releases
|
|
55
|
+
|
|
56
|
+
Credits
|
|
57
|
+
+++++++
|
|
58
|
+
|
|
59
|
+
Contributors
|
|
60
|
+
------------
|
|
61
|
+
|
|
62
|
+
This project exists thanks to all the people who contribute! `Become a contributor`__.
|
|
63
|
+
|
|
64
|
+
.. image:: https://opencollective.com/coconut/contributors.svg?width=890&button=false
|
|
65
|
+
:target: https://github.com/evhub/coconut/graphs/contributors
|
|
66
|
+
|
|
67
|
+
__ Contributor_
|
|
68
|
+
.. _Contributor: http://coconut.readthedocs.io/en/develop/CONTRIBUTING.html
|
|
69
|
+
|
|
70
|
+
Backers
|
|
71
|
+
-------
|
|
72
|
+
|
|
73
|
+
Thank you to all our backers! `Become a backer`__.
|
|
74
|
+
|
|
75
|
+
.. image:: https://opencollective.com/coconut/backers.svg?width=890
|
|
76
|
+
:target: https://opencollective.com/coconut#backers
|
|
77
|
+
|
|
78
|
+
__ Backer_
|
|
79
|
+
.. _Backer: https://opencollective.com/coconut#backer
|
|
80
|
+
|
|
81
|
+
Sponsors
|
|
82
|
+
--------
|
|
83
|
+
|
|
84
|
+
Support Coconut by becoming a sponsor. Your logo will show up here with a link to your website. `Become a sponsor`__.
|
|
85
|
+
|
|
86
|
+
.. image:: https://opencollective.com/XX/sponsor/0/avatar.svg
|
|
87
|
+
:target: https://opencollective.com/coconut/sponsor/0/website
|
|
88
|
+
|
|
89
|
+
__ Sponsor_
|
|
90
|
+
.. _Sponsor: https://opencollective.com/coconut#sponsor
|
|
91
|
+
|
|
92
|
+
Keywords: functional,programming,language,compiler,pattern,pattern-matching,algebraic,data type,data types,lambda,lambdas,lazy,evaluation,lazy list,lazy lists,tail,recursion,call,recursive,infix,function,composition,compose,partial,application,currying,curry,pipeline,pipe,unicode,operator,operators,frozenset,literal,syntax,destructuring,assignment,fold,datamaker,prepattern,iterator,none,coalesce,coalescing,statement,lru_cache,memoization,backport,typing,embed,PEP 622,overrides,islice,itertools,functools,TYPE_CHECKING,Expected,breakpoint,help,reduce,takewhile,dropwhile,tee,count,makedata,consume,parallel_map,addpattern,recursive_iterator,concurrent_map,fmap,starmap,reiterable,scan,groupsof,memoize,zip_longest,override,flatten,ident,call,safe_call,flip,const,lift,all_equal,collectby,multi_enumerate,cartesian_product,multiset,cycle,windowsof,and_then,and_then_await,py_chr,py_dict,py_hex,py_input,py_int,py_map,py_object,py_oct,py_open,py_print,py_range,py_str,py_super,py_zip,py_filter,py_reversed,py_enumerate,py_raw_input,py_xrange,py_repr,py_breakpoint,_namedtuple_of,reveal_type,reveal_locals,MatchError,__fmap__,__iter_getitem__,data,match,case,cases,where,addpattern,then,operator,type,copyclosure,λ
|
|
93
|
+
Platform: UNKNOWN
|
|
94
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
95
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
96
|
+
Classifier: Intended Audience :: Developers
|
|
97
|
+
Classifier: Topic :: Software Development
|
|
98
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
99
|
+
Classifier: Topic :: Software Development :: Compilers
|
|
100
|
+
Classifier: Topic :: Software Development :: Interpreters
|
|
101
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
102
|
+
Classifier: Topic :: Utilities
|
|
103
|
+
Classifier: Environment :: Console
|
|
104
|
+
Classifier: Operating System :: OS Independent
|
|
105
|
+
Classifier: Programming Language :: Python
|
|
106
|
+
Classifier: Programming Language :: Python :: 2
|
|
107
|
+
Classifier: Programming Language :: Python :: 2.6
|
|
108
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
109
|
+
Classifier: Programming Language :: Python :: 3
|
|
110
|
+
Classifier: Programming Language :: Python :: 3.2
|
|
111
|
+
Classifier: Programming Language :: Python :: 3.3
|
|
112
|
+
Classifier: Programming Language :: Python :: 3.4
|
|
113
|
+
Classifier: Programming Language :: Python :: 3.5
|
|
114
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
115
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
116
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
117
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
118
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
119
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
120
|
+
Classifier: Programming Language :: Other
|
|
121
|
+
Classifier: Programming Language :: Other Scripting Engines
|
|
122
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
123
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
124
|
+
Classifier: Framework :: IPython
|
|
125
|
+
Classifier: Framework :: Jupyter
|
|
126
|
+
Classifier: Typing :: Typed
|
|
127
|
+
Provides-Extra: kernel
|
|
128
|
+
Provides-Extra: watch
|
|
129
|
+
Provides-Extra: mypy
|
|
130
|
+
Provides-Extra: backports
|
|
131
|
+
Provides-Extra: xonsh
|
|
132
|
+
Provides-Extra: jupyter
|
|
133
|
+
Provides-Extra: all
|
|
134
|
+
Provides-Extra: ipython
|
|
135
|
+
Provides-Extra: docs
|
|
136
|
+
Provides-Extra: tests
|
|
137
|
+
Provides-Extra: dev
|