I also found dukpy:

dukpy <https://pypi.org/project/dukpy/>

" DukPy is a simple javascript interpreter for Python built on top of 
duktape engine *without any external dependency*".  It can transpile to 
Typescript.
On Wednesday, December 16, 2020 at 5:36:24 PM UTC-5 [email protected] wrote:

> PyPy has a "preliminary" version of a javascript interpreter for Python 
> code.
>
>
> https://doc.pypy.org/en/latest/faq.html?highlight=javascript#can-i-use-pypy-s-translation-toolchain-for-other-languages-besides-python
>
> On Wednesday, December 16, 2020 at 4:55:50 PM UTC-5 Edward K. Ream wrote:
>
>> On Wed, Dec 16, 2020 at 1:32 PM Offray Vladimir Luna Cárdenas <
>> [email protected]> wrote:
>>
>>> On the idea of a Leo core in a machine efficient fast language, I think 
>>> that Nim is a worth exploration also, as is syntax is Python inspired, 
>>> compiles to JavaScript, has good metaprogramming facilities. I have found 
>>> it pretty productive when I need a more low level or multi-paradigm, cross 
>>> browser approach to my coding needs.
>>>
>> Thanks for the link. What I want is something that will compile Leo's 
>> existing python code to js/ts.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e1df2e69-3cd1-4659-9224-8c443107e2a8n%40googlegroups.com.

Reply via email to