I'm on Waddinghams side here. "Do as <other language>" is integrated with the "alternateLanguages". If something isn't in the alternateLanguages, it does not belong into "do as <other language>". So what you'd probably need to convince him (and me) of, is to find a reliable way to get available languages into the "alternateLanguages", and then make the execution of the language work with "do" after that.
So the real linux-related problems are therefore: 1. Is there any os-suplied way to query available scripting languages (excluding random executables that do not belong)? For example, simply dumping $path into alternateLanguages is probably too broad and unreliable. 2. Is there a way to run scripting languages without going trough a shell-like wrapper (because mark has said he wants it to work the same as on other platforms)? In the end, wouldn't your goal be easier achieved with a modified shell() function that allows to pass fields as if they're files (for multi-line scripts)? On 17.09.2013, at 22:22, Mark Wieder wrote: > Richard- > > Tuesday, September 17, 2013, 10:51:44 AM, you wrote: > >> In the meantime, what could we do with "do...as..." that we can't do by >> calling Python/Perl/etc. from the command line via shell? > > To avoid repeating myself, see my last comment in the forum thread. > The tl;dr: probably nothing, especially for one-liners, but it gets > progressively more complex once you start executing longer scripts. > And I still think there's a cognitive difference between > > do tScript as "perl" > and > get shell("perl" && tScript) > > -- > -Mark Wieder > mwie...@ahsoftware.net > > > _______________________________________________ > 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ _______________________________________________ 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