Integrating LiveCode with other C++ Code bases

David Bovill david at viral.academy
Mon Nov 3 06:20:11 EST 2014


ᐧ
I'd like to learn more about the various ways of integrating LiveCode with
other C++ code bases. I'd be grateful for any pointers or reading matter.

I know that there are cool plans in the rod map to make it easy to wrap low
level code in LiveCode / open language:

   - http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/
   - http://livecode.com/blog/2014/05/29/eating-our-own-haggis/


*Open Language*: With the core refactoring almost complete (LiveCode 7.0)
> we’ve started to turn our attention to the final aspect of this project
> which is to open up the language for extension by anyone. We have been
> prototyping for quite some time now and plans are in place to move this
> project forward at a rapid pace once LiveCode 7.0 is released. We will
> complete network, socket and database libraries with easy to use English
> like syntax as part of the development and testing of this feature. This is
> currently slated as one half of our next major release, currently
> imaginatively named “8.0″.

*Theme / Widgets*: Another important prototype we’ve invested time in is
> codenamed “Widgets”. Our aim is to provide a means for any LiveCode
> developer to extend the control set. This builds on “Open Language” making
> it possible for any developer to extend the language and the UI. While
> still in its infancy, we are really excited about the results which will
> make LiveCode 8.0 a groundbreaking release.

We’re looking forward to showing these prototypes at the upcoming
> conference which we hope will give you a flavour of where the technology is
> going in 2014/2015. This is going to be another special 12 months for
> LiveCode!


Then there used to be a way to include LiveCode in Xcode projects -- but I
have not heard anything more about "embedded LiveCode":

   - http://mailers.livecode.com/embedded/embeddedfounderreminder.html

Then of course there is the ability to fork LiveCode and integrate your own
C++ code that way.

*How open language compiles down to byte code?*
What I'd like to know is how LiveTalk / open language compiles down to byte
code. Another project I know offers several scripting languages teh compile
down to LLVM byte-code:

   - http://llvm.org/docs/BitCodeFormat.html

Does LiveCode do the same? If so, could we add LiveCode scripting to other
projects that use the same process of compiling down to LLVM byte-code?



More information about the use-livecode mailing list