Lisp-like Syntax for Python with Lisp-like Macros
Project description
LisPython
Documentation
You can find the documentation at https://jetack.github.io/lispython/.
Installation
Manual Installation (for development)
poetry install --no-root # for dependency
pip install -e . # for development
Using pip
pip install lispython
How to Run lispy code
Run from source
lpy {filename}.lpy
Run REPL
lpy
#or
lpy -t #if you want to print python translation.
Run translation
l2py {filename}.lpy
It just displays translation. (don't run it)
Run Tests
# in project root directory
python -m unittest
#or
lpy -m unittest
Todo
Environment
- Test on more python versions
- Some IDE plugins like hy-mode and jedhy for better editing experience.
Macro System
-
as->macro for syntactic sugar -
gensymfor avoiding name collision
Python AST
-
type_commentnever considered. Later, it should be covered
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
lispython-0.3.0.tar.gz
(61.2 kB
view details)
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
lispython-0.3.0-py3-none-any.whl
(22.3 kB
view details)
File details
Details for the file lispython-0.3.0.tar.gz.
File metadata
- Download URL: lispython-0.3.0.tar.gz
- Upload date:
- Size: 61.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
616ef18b382bff3fc0ea689803185e928bd6d34a803d6d68f8c6d41d87a60b62
|
|
| MD5 |
2bcb6e3dd4dfe7e6d7ef01991b62177d
|
|
| BLAKE2b-256 |
5642796f6629c1ec2bc0ba4e2bdbf3b614c15b15baee22bff4c87f9f163d873a
|
File details
Details for the file lispython-0.3.0-py3-none-any.whl.
File metadata
- Download URL: lispython-0.3.0-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09d01dc797d3085625c7a1af0c7f6051fb794b9cdd3611de465835d2199d1971
|
|
| MD5 |
f75003f89bce1511ce0d15cec4dce05a
|
|
| BLAKE2b-256 |
717f1e3e4e6e7c076ac5c156b54287d146e73a59308c9adb21338d2e2ffb11aa
|