I have converted from language to language and what I did initially was to comment what every section of code did and how it did it (algorithms and logic). The idea was that I should be able to delete the initial code and reproduce it using the comments.
Then take the comments and write the code in the destination language. Yes you might organize it differently but my goal was to get it completely functional so that it could pass the existing unit tests on the original source. Once the code is functional, I refactored it to make it more in line with the way the destination code is typically structured. That’s what I did. Tedious but straightforward and successful. Kee Nethery > On Sep 28, 2019, at 11:35 AM, Patrick Roza via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I would like to take the python code and convert it to LiveCode. I know > there is a cheat sheet but it is limited. > > 1. Has anybody attempted this and what worked and didn't work? > > 2. Can someone point out the problems moving from one programming language > to LiveCode? > > Everyone on the list has been great and thank all of you. > > Patrick, > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode