chrivers / pyjaco

Python to JavaScript translator
http://pyjaco.org
MIT License
140 stars 18 forks source link

string.replace enters infinite loop #80

Closed obeleh closed 11 years ago

obeleh commented 11 years ago

"a".replace("a", "ab")

will loop forever

chrivers commented 11 years ago

Hello. First of all, sorry for the very long time it took to get back to you.

Pyjaco has recently seen a massive increase in activity, and we are working to release the new and much-improved version 2.0.

I'm happy to let you know that this bug is fixed in the new version. You can try it out already by cloning the "ist/compiler"-branch. Thanks for helping improve pyjaco :)