Elifnt is a fork of the CPython interpreter. It is a dialect that supports additional features not present in the standard Python interpreter.
It is currently on version 3.13.0a1 (base CPython version)-0.0.6 (Elifnt version).
Elifnt introduces the following new features:
- Safe attribute access:
?. - Safe subscript access:
?[...] - Native methods on lists:
list.map,list.reduce,list.filter - Native parallelized map and filter on lists:
list.pmap,list.pfilter - Until statements:
till - An alternative conditional statement:
elifnt - A new garbage collection debug flag:
gc.DEBUG_COLLECTED_TYPES. When set, gc callbacks will be supplied with the count of collected objects by type after each collection
Visit the Elifnt website for an in-browser Elifnt interpreter: https://python-elifnt.org
Elifnt base docker images can be found here: https://hub.docker.com/r/nishubuilder/python-elifnt
You can download the latest version with brew, after which it will be available as python-elifnt:
brew tap nishu-builder/elifnt
brew install python-elifnt
You can also build Elifnt from source. See the Build Instructions section for more details.
Build and install as python-elifnt:
# Clone the repository
git clone git@github.com:nishu-builder/cpython-elifnt.git
cd cpython-elifnt
# Build and install
./configure --prefix=/usr/local/python-elifnt
make
sudo make install
It should then be available as python-elifnt
Feel free to open issues and submit pull requests to this repository. See the implementation of Safe Subscript for an example.
Elifnt is released under the same license as CPython. See the LICENSE file for more details. This project is a fork of CPython. Original copyright and license details can be found in their respective files and documentation. All modifications in Elifnt are made in accordance with the original license and copyright terms of CPython.