Skip to main content

A Python compiler for the Neo Virtual Machine

Project description

Overview

A Python compiler for the Neo Virtual Machine

What does it currently do

  • Compiles a subset of the Python language to the .avm format for use in the Neo Virtual Machine

  • Works for Python 3.4 and 3.5

What will it do

  • Compile a larger subset of the Python language

  • Support Python 3.6

Get Help or give help

  • Open a new issue if you encounter a problem.

  • Or ping @localhuman on the NEO Slack.

  • Pull requests welcome. New features, writing tests and documentation are all needed.

Installation

Pip

pip install neo-boa

Manual

Clone the repository and navigate into the project directory. Make a Python 3 virtual environment and activate it via

python3 -m venv venv
source venv/bin/activate

or to install Python 3.5 specifically

virtualenv -p /usr/local/bin/python3.5 venv
source venv/bin/activate

Then install requirements

pip install -r requirements.txt

Usage

The compiler may be used like the following

from boa.compiler import Compiler

Compiler.load_and_save('path/to/your/file.py')

Tests

Tests are important.

License

Donations

Accepted at ATEMNPSjRVvsXmaJW4ZYJBSVuJ6uR2mjQU

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neo-boa-0.2.0.tar.gz (55.3 kB view hashes)

Uploaded Source

Built Distribution

neo_boa-0.2.0-py3-none-any.whl (85.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page