Crazy question: is it possible/reasonable to use Python in LC?
MikeKerner at roadrunner.com
Thu Jul 13 16:23:24 EDT 2023
there are no crazy questions
there is, however, bat-guano-crazy geoff canyon
anyway, i think you will have to write the parser, linker, lexical
analyzer, etc., and all the other pre-compiler stuff that you would
have to write for any language. i'm not aware of something like a DLL
even better, while we're wondering, wouldn't it be great if we could
implement any interpreted grammar? i'd love it, because our erp
software is written in a a BASIC-COBOL-Fortran thing. I could dump all
the 1970's-era tools for managing forms and databases and replace them
with something nicer.
On Thu, Jul 13, 2023 at 4:04 PM Geoff Canyon via use-livecode
<use-livecode at lists.runrev.com> wrote:
> I've been playing with Python, and it has a lot of nice qualities, but a
> built-in GUI isn't one of them (no apologies to tkinter).
> So it would be interesting/nice to be able to open LC, add a button to a
> stack, and put some python into the script of that button and have it just
> work, with access to the rest of the LC stack/controls as usual.
> Obviously that's not possible, but how close can we come? I assume it would
> be possible to write a shell command to trigger a python script, but that
> seems complex and sub-optimal, especially when thinking about having to
> bundle together all the bits and bobs from the LC UI to pass as arguments
> to the Python script instead of having it able to just reference what it
> needs on the fly.
> Anyway, wondering if anyone else has thought about this.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode