Just a random brainfart.
Would probably start by taking typeshed static type declarations for python builtins.
String would probably be a wrapped unicode/runes string; bytes would be mainly native c bytes.
Arbitrary precision int libgmp.
There's already a lot of libs which bring python-like libs etc over to Nim.
Resulting code would be totally none-idiomatic Nim and probably a lot slower.
I'm not volunteering for this; just throwing out a totally random idea.
Pretty terrible idea right? Lol.
Thanks for those replies!
@evacchi, you're absolutely right; thanks for the reminder re cython.
@Tiberium, I'll probably be using nimpylib a fair amount in the future, maybe sending a pull request here and there :-)
@evacchi, you're absolutely right; thanks for the reminder re cython.
hey nothing against what you're doing, but remember a strong motivation (same applies to nimpylib) :-)