Transcrypt icon indicating copy to clipboard operation
Transcrypt copied to clipboard

Python 3.9 to JavaScript compiler - Lean, fast, open! -

Results 162 Transcrypt issues
Sort by recently updated
recently updated
newest added

This fixes a miscompilation when compiling python code ```python import unusedThing, cast from typing # use cast somewhere, but not unusedThing ``` This was previously compiled to ```javascript import {,...

This allows the following Python code to compile and work: ```python obj = {"a": "hello"} print(obj["a"]) ``` This was previously compiled to: ```javascript export var obj=dict([["a","hello"]]); print(); ``` With this...

There is a small typo in transcrypt/modules/org/transcrypt/compiler.py. Should read `representation` rather than `represention`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Hi, as mentioned I am correcting the issue #753 and a few things I might find while I try to use transcrypt for my webpage. Hope you can come back...

`__eq__` for `Array` checks for the lenght of `b`, but `b` could be `null`

Corrects 'CPyton' -> 'CPython' and missing quote marks in the Python syntax for the aliasing __pragma__

to the documentation in "Creating JavaScript objects with __new__ ()"

Attempting to fix instructions per issue #656 Since I'm at it, specifying that it does not work with python3.6.*, since I learned that the hard way... Please make sure that...

This fixes #455 to, as far as I can tell, work correctly.

While trying to make a Python validation library work in the browser, I thought I'd prefer not to change the library and just pay for it with 25 lines in...