Deploy an online tool

オープン
#18 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

@alisianoi がすでに取り組んでいます。

2017年6月15日 から。

評価

この issue はまだ評価されていません。

説明

This issue will capture progress on making license-expression and boolean.py into online tools.

Transpiling tools that did not quite work:

  1. RapydScript https://github.com/atsepkov/RapydScript
    Lacks support for importing things (like, import __future__), its list of importable modules is here

  2. Batavia https://github.com/pybee/batavia
    The idea here is to compile python to its bytecode and then run it in a javascript vm. Because python bytecode changes from version to version, batavia currently supports 3.4.4 and possibly 3.5.x (their docs state many things). My problem was compiling those pythons on Archlinux and when I finally did a) their test suite did not quite pass and b) it chocked on import __future__.

  3. PyPyJS https://github.com/pypyjs/pypyjs
    The whole thing is complicated and I failed to make it work. Main demotivator: the website offers python 2.7.9 and there is a github issue that indicates python 3 support is stalling.

Transpiling tools that look promising:

  1. Transcrypt https://github.com/qquick/Transcrypt and http://transcrypt.org
    This is currently the only candidate that has a distinct transpiling step (you actually see the .js files as a result) that could be made to work. However, there are problems which are summarized on SO.

  2. Brython https://github.com/brython-dev/brython
    The most laid-back approach: just works, delivers results but sometimes the resulting boolean expressions come out wrong (runtime error).

Transpiling tools that look promising but not yet tried:

  1. Skulpt http://www.skulpt.org/
    It looks similar to Brython, which is why untried.

  2. flexx https://github.com/zoofIO/flexx

  3. https://github.com/alehander42/pseudo-python

  4. https://github.com/alehander42/pseudo

主要言語
Python
スター
74
フォーク
38
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aboutcode-org/license-expression のほかの issue

aboutcode-org/license-expression の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。