Writing Extensions

JB sundown at pacifier.com
Wed May 17 23:30:11 CEST 2017


It looks to me like a the easier stepping
stone to fill the gap is just write the code
in C/C++, compile it and call it using a
shell coimmand.

I have been doing it in C and it works
really good.  I am amazed at how easy
it is.  If you can get the C code I posted
to print out the argument you will have
the knowledge to use tons of c code
examples with only a few changes and
many as they are.

JB


> On May 17, 2017, at 12:59 PM, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 2017-05-17 21:34, Richmond Mathewson via use-livecode wrote:
>> Why do I feel that the reason for all this "wierdness" is because LCB
>> has been written from C++ programmers from the ground up,
>> while LiveCode still (well, just about) hangs onto to its HyperCard heritage.
>> LiveCode, at its best, preserves the clarity that was the best thing
>> about HyperCard (certainly mind-blowingly refreshing
>> after my baptism with FORTRAN and PASCAL); LCB, not doing that, is as
>> opaque as its heritage.
>> It has been suggested before that the LiveCode team have, maybe
>> unwittingly, started moving away from the
>> HyperCard-like simplicity that was what made LiveCode so obviously the
>> best successor to HyperCard; with LCB they
>> don't even have to pay lip service to that . . .
> 
> I think this perhaps displays a misunderstanding what LCB is for - it isn't a replacement for LiveCode Script; it is intended to be a stepping stone between C++ and LiveCode Script which means it can be used to extend the engine in way which LiveCode Script cannot. i.e. Allowing functionality to be added to LiveCode *without* having to deal with C++ and, instead, deal with something slightly more familiar (also there is a lot of boiler-plate required in writing engine functionality in C++, which LCB eliminates by raising the abstraction level of values).
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 




More information about the use-livecode mailing list