Search found 5 matches

by Wild
Sat Sep 27, 2014 4:50 am
Forum: Engine Contributors
Topic: python externals
Replies: 12
Views: 19474

Re: python externals

I've been highlighting Python in this thread mostly because that's what the thread was spawned for. But if you search RunRevPlanet for "Create LiveCode Externals in Pascal" you'll see there is also rrpPascalSDK which uses the rrpAPI glue code to execute Open Pascal via the Externals mechanism. I see...
by Wild
Fri Sep 26, 2014 10:51 am
Forum: Engine Contributors
Topic: python externals
Replies: 12
Views: 19474

Re: python externals

Indeed, the original post was about linking external Python resources into your LiveCode development. I'm coming from a standpoint of a LiveCode evangelist trying to convince people to pick up hypertalk and give it a(nother) chance. The challenge is that English-like easy-to-read interpretive script...
by Wild
Thu Sep 18, 2014 2:21 pm
Forum: Engine Contributors
Topic: python externals
Replies: 12
Views: 19474

Re: python externals

You can call Python from the command line, so you could trigger any Python script using LC's shell function. While that's perfectly fine during the development phase, to be calling out to external interpreters to execute external files, it isn't very elegant, portable, easily distributable. The dev...
by Wild
Fri Sep 12, 2014 1:14 pm
Forum: Engine Contributors
Topic: python externals
Replies: 12
Views: 19474

Re: python externals

This does look interesting. Is there any way to promote this to official feature request status? I'm surprised there are so few "me too" posts on this thread. I learnt programming through Hypercard (and to a lesser extent Psion's OPL) back in the mid nineties and watched sadly as Apple kept kicking ...
by Wild
Sun Sep 01, 2013 3:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie: Trim?
Replies: 4
Views: 6455

Re: Newbie: Trim?

A simple regular expression can accomplish familiar trim() functionality: function trim input if matchText(input, "^\s*+(\S*(?:\s+\S+)*+)\s*+$", captureGroup1) then return captureGroup1 else return input end if end trim This regular expression matches: ^ -- the beginning of the input; \s*+ -- any le...

Go to advanced search