Coder Social home page Coder Social logo

purplemyst / epython Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 98 KB

EPython is be a toy CPython bytecode interpreter written in Elixir.

License: GNU General Public License v3.0

Elixir 89.15% Python 10.85%
bytecode elixir cpython python interpreters

epython's Introduction

EPython

EPython is be a toy CPython bytecode interpreter written in Elixir.

Compiliation

To utilize EPython, you will need the Erlang VM and mix. This README assumes you're utilizing an unix-like operating system, such as Linux or OSX, due to this being not tested on Windows at all.

You can install everything by following the instructions on the official Elixir website.

Then, to compile, you can type this into your shell:

$ MIX_ENV=prod mix escript.build

This will generate an epython executable in the main project directory which you can pass python files to (actual python files, not just bytecode files) as a command-line argument.

Running tests

You can run a variety of tests for the interpreter itself by running ./run_tests.py.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.