Python to LiveCode
kee.nethery at elloco.com
Sat Sep 28 23:08:58 EDT 2019
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.
> On Sep 28, 2019, at 11:35 AM, Patrick Roza via use-livecode <use-livecode at 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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode