Looking for info: LCB+foreign code wrapping + Open Language

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
PaulDaMacMan
Posts: 634
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Looking for info: LCB+foreign code wrapping + Open Language

Post by PaulDaMacMan » Fri Jun 12, 2015 12:16 am

I am very interested in knowing more about the future of LCB & OpenLanguage. I'm interested in wrapping some existing foreign code libraries / frameworks / APIs with LCB for use with LiveCode and eventually Open Language (specifically FluidSynth and/or Core MIDI). I've heard that LCB already supports foreign-code libraries if they're written in C (but will later support C++, JAVA, etc.) and I have some sample code for CLI-Apps written in C that make calls and receive call-backs to/from Core MIDI. If possible I would love to see an example of wrapping some foreign code calls to a lib written in C but there doesn't seem to be any info about it. I would also like to get some idea of how the Open Language setup in LCB will look or some idea of how LCB will specify the Open Language syntax even if it's just some pseudo code version for now.
Thanks in advance to anyone who can shed some light!
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Looking for info: LCB+foreign code wrapping + Open Langu

Post by Simon » Fri Jun 12, 2015 2:38 am

Here you go;
http://forums.livecode.com/phpBB2/viewt ... 135#p79135
I think that is what you are after. There is a whole externals forum here.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

PaulDaMacMan
Posts: 634
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Looking for info: LCB+foreign code wrapping + Open Langu

Post by PaulDaMacMan » Tue Jun 16, 2015 1:13 am

Simon wrote:Here you go;
http://forums.livecode.com/phpBB2/viewt ... 135#p79135
I think that is what you are after. There is a whole externals forum here.

Simon
No it's not. Not exactly. I've read the externals stuff and I understand it can be used to wrap up foreign code, but X-Code & ObjC don't like me at all. I am already familiar with the concept of externals and glue-code and I even wrote a few of XCMDs/XFCNs wayyyyy back in the HC days.
I'm interested in more info on the LiveCode Builder 'LCB' language right now. I'm particularly interested in the syntax for how it does/will interact with external lib files (frameworks, .dynlib, .dlls). I'm kind of chomping at the bit to read more about it but can't find any info on it.

But anyway, thank you for taking the time to respond.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

PaulDaMacMan
Posts: 634
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Looking for info: LCB+foreign code wrapping + Open Langu

Post by PaulDaMacMan » Tue Jun 16, 2015 1:19 am

Actually I don't think I ever read the Linux externals guide. Maybe I'll take a shot at external building again.
Still, I'm much more interested in LCB. I find it way more readable. It seems kind of like a cross between LiveCode Script and Pascal.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

Post Reply

Return to “LiveCode Builder”