Today: supported overflowing in conversions and le...
# python-contributors
s
Today: supported overflowing in conversions and left bit shift; inlined Long values; removed some unneeded parentheses in the generated py file. Next time: • Remove wrappers like toLong and kotlin_Int for some numbers (probably research NumberConversionCallsTransformer). • For Long, there are still calls like
._and
,
.xor
,
.equals
instead of plain operators: research why. • Maybe something else related to signed integers, but for now I don't see other tasks here. • Maybe start with unsigned integers.
👀 1
Lines I added to python.kt:
How they are compiled now:
p
The factorial looks like working, right? (didn't run yet)
Feel free to commit it
s
Yep, factorial is working. I'll commit this the next time along with arithmetics if you don't mind