pyrs
pyrs copied to clipboard
Python to Rust transpiler
I couldn't find a better way to contact @konchunas :P Anyway, heads-up. 6 months ago I was trying to measure an algorithm written in Python and NumPy and ended up...
After these changes: ``` cd pyrs/py14; pytest-3 53 passed in 0.31 seconds ``` and ``` cd pyrs/pyrs; pytest-3 6 failed, 27 passed in 0.17 seconds ```
I tried transpiling a python script today and ran into this: Traceback (most recent call last): File "./pyrs.py", line 20, in rs = transpile(source) File "/home/egil/src/rust/python2rust/pyrs/transpiler.py", line 34, in transpile...
Instead of full blown type inference (which will be VERY hard to do because of python's loose, dynamic typing), why not make the resulting code generate generics, and then halt...