A Clojure-like lisp written for Python
Project description
🐍 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:
basilisp repl
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
Project details
Release history Release notifications | RSS feed
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
Hashes for basilisp-0.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f62ff8a02099b2c18fca14e90acc4062fc5045b0e172cf916402f398f5dde4 |
|
MD5 | fea32ea0b823915187ded0ad5f6c6608 |
|
BLAKE2b-256 | e9fff912df81e8eeae526c8dcde3ca6025227ca70c43c72822bd3fdc1d565b52 |