A Clojure-like lisp written for Python
🐍 basilisp 🐍
A Lisp dialect inspired by Clojure targeting Python 3.
Disclaimer: Basilisp is a project I created to learn about Python, Clojure, and hosted languages generally. It should not be used in a production setting.
pip install basilisp
Once Basilisp is installed, you can enter into the REPL using:
Basilisp documentation can help guide your exploration at the REPL. Additionally, Basilisp features many of the same functions and idioms as Clojure so you may find guides and documentation there helpful for getting started.
Developing on Basilisp
This project uses
manage the Python virtual environment and project dependencies.
can be installed using Homebrew (on OS X) or
brew install pipenv
pip install --user pipenv
pyenv is recommended to
manage versions of Python readily on your local development environment.
pyenv is somewhat more specific to your environment, so see
the documentation in the repository for more information.
To prepare your
pipenv environment, you need to install dependencies
and install Basilisp as an editable dependency:
Afterwards, you can start up the REPL for development with a simple:
If dependencies are added or changed afterwards, you may need to
make setup-dev again before attempting to start the REPL again or
Linting, Running Tests, and Type Checking
Basilisp automates linting, running tests, and type checking using
Tox. All three steps can be performed
using a simple
Eclipse Public License 1.0
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size basilisp-0.1.dev11-py2.py3-none-any.whl (286.3 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View hashes|
|Filename, size basilisp-0.1.dev11.tar.gz (268.4 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for basilisp-0.1.dev11-py2.py3-none-any.whl