Extensive frame-like data structures in Rev, 'Applescript-like' communication with externals

Dar Scott dsc at swcp.com
Mon Aug 12 00:54:01 CDT 2002


On Sunday, August 11, 2002, at 09:01 PM, Jim Witte wrote:

>
>   I was initially thinking of coding the system in C or C++, but 
> then the GUI (layout) code is harder and not cross-platform, so 
> Revolution came to mind.  However, I don't know if Revolution 
> would be suited to doing "heavy" data structures such as this.

Revolution strings can be very long.  Commands and expressions 
allow them to be manipulated as structured text (words, items, 
lines) or byte sequences.  Revolution has arrays.

Because of that, I'd be tempted to do this all in Revolution.  (How 
does that song go?  Fools rush in where angels fear to tread...)

> What I think would be ideal is if I could have revolution spawn a 
> persistent process from an external, which I could communicate 
> with in a Applescript-style tell block to be able to access the 
> externals data structures (yet still have the external code be 
> relatively platform independent in underlying memory management)  
> Is this possible?

Perhaps you can write an associated application in C and compile it 
for the platforms you need.  Your application based on Revolution 
can run that.  Perhaps the communication can be UDP.

Dar Scott




More information about the use-livecode mailing list