lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.37k stars 156 forks source link
compiler high-performance python

LPython

LPython is an ahead-of-time compiler for Python written in C++. It is currently in alpha stage and under heavy development. LPython works on Windows, macOS and Linux.

Some of the goals of LPython include:

among many more.

Sponsors

LPython has been sponsored by GSI Technology. Our summer students were sponsored by Google Summer of Code via Python Software Foundation. The intermediate representation and backends are shared with LFortran, see that project for a list of sponsors.

Installation

Follow the steps below to install and run LPython on Linux, Windows or macOS.

Prerequisites

Building LPython

Contributing

We welcome contributions from anyone, even if you are new to compilers or open source in general. It might sound daunting at first to contribute to a compiler, but do not worry, it is not that complicated. We will help you with any technical issues you face and provide support so your contribution gets merged.

To contribute, submit a Pull Request (PR) against our repository at: https://github.com/lcompilers/lpython

Do not forget to clean your history, see example.

See the CONTRIBUTING document for more information.

Found a bug?

Please report any bugs you find at our issue tracker here. Or, even better, fork the repository on GitHub and create a Pull Request (PR).

We welcome all changes, big or small. We will help you make a PR if you are new to git.

If you have any questions or need help, please ask us at Zulip or on our mailinglist.

Star History

Star History Chart