KeKsBoTer / setlx2python

setlX to Python transpiler
2 stars 0 forks source link

string concatenation #13

Closed KeKsBoTer closed 5 years ago

KeKsBoTer commented 5 years ago

In setlx you can convert anything to a string by concatenating it with a string (e.g. {"x",2}+"test"+1 returns {"x",2}test1 . This is not possible in python, so a workaround is needed. Maybe create a string class which overrides the plus operator as string concatenation (e.g. setlx.string("test")+1