Skip to content

jetack/lispython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LisPython

PyPI version

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
  • gensym for avoiding name collision

Python AST

  • type_comment never considered. Later, it should be covered

About

Lisp-like Syntax for Python with Lisp-like Macros

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages