Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

🐍 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.

PyPI python pyimpl readthedocs CircleCI Coveralls github license

Getting Started

Basilisp is developed on GitHub and hosted on PyPI. You can fetch Basilisp using a simple:

pip install basilisp

Once Basilisp is installed, you can enter into the REPL using:

basilisp repl

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

Requirements

This project uses pipenv to manage the Python virtual environment and project dependencies. pipenv can be installed using Homebrew (on OS X) or pip otherwise:

brew install pipenv
pip install --user pipenv

Additionally, pyenv is recommended to manage versions of Python readily on your local development environment. Setup of pyenv is somewhat more specific to your environment, so see the documentation in the repository for more information.

Getting Started

To prepare your pipenv environment, you need to install dependencies and install Basilisp as an editable dependency:

make setup-dev

Afterwards, you can start up the REPL for development with a simple:

make repl

If dependencies are added or changed afterwards, you may need to make setup-dev again before attempting to start the REPL again or run tests.

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 make target:

make test

Testing is performed using PyTest. Type checking is performed by MyPy. Linting is performed using Prospector.

License

Eclipse Public License 1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

basilisp-0.1.dev13.tar.gz (253.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

basilisp-0.1.dev13-py2.py3-none-any.whl (269.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file basilisp-0.1.dev13.tar.gz.

File metadata

  • Download URL: basilisp-0.1.dev13.tar.gz
  • Upload date:
  • Size: 253.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for basilisp-0.1.dev13.tar.gz
Algorithm Hash digest
SHA256 842ab30e9994953a010caf1e214faf0a0b698c768f209e1648a27075a5ed61aa
MD5 c747598157f5aa9141fb86e057cb5801
BLAKE2b-256 90b24d0d8a661c48b8f8b8a8be2794fd096dd71c89f415a5cdba0d20c4f45772

See more details on using hashes here.

File details

Details for the file basilisp-0.1.dev13-py2.py3-none-any.whl.

File metadata

  • Download URL: basilisp-0.1.dev13-py2.py3-none-any.whl
  • Upload date:
  • Size: 269.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for basilisp-0.1.dev13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa8cc21eb6891b3a2ebae4a429391edd619b8432abe7cf8fe69300d23eb107a0
MD5 a41165b1db1375728b4e34bcd191ce43
BLAKE2b-256 598b670490e19f612d9e9727954b705b8ef52f223f916535c295e617b38922e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page