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.
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:
python -m basilisp.main
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.
Performing Type Checking and Linting
Perform type checking with MyPy using:
make typecheck
Perform linting with Prospector:
make lint
The linting artifact will be emitted at the project root as lintout.txt.
Running Tests
Tests can be run using the following command:
make test
License
MIT License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file basilisp-0.1.dev0.tar.gz.
File metadata
- Download URL: basilisp-0.1.dev0.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b0a3cc8e369b0e8b2bc1a3f5632efe387bfad81af2f8094833835f323bae47f
|
|
| MD5 |
9beb3ecc04eeeb0ba2f15662e194d38b
|
|
| BLAKE2b-256 |
cc3f2381228cf037c522e0d8ddc976a8dafa4105261ca6524db2143e1c26c754
|
File details
Details for the file basilisp-0.1.dev0-py2.py3-none-any.whl.
File metadata
- Download URL: basilisp-0.1.dev0-py2.py3-none-any.whl
- Upload date:
- Size: 55.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7669d08fd092420f42970c46f5d23fd7a195d50322cf427640fcedf5fddbd0
|
|
| MD5 |
145f17d5f1113d2da289352e25ab3696
|
|
| BLAKE2b-256 |
cea68601ac738de027f14fde2679641423c82aa3a34bbb200f89788eb8ad66eb
|