Thrift library?

Trevor DeVore lists at mangomultimedia.com
Mon Oct 6 21:54:40 EDT 2008


On Oct 6, 2008, at 4:53 PM, Andre Garzia wrote:

> I am also using Evernote, I have it on all my computers and my iPhone.
> I checked the Thrift Wiki and found no information on how to generate
> your own language. It may be easier to parse the Thrifit IDL file from
> Revolution and generate the code than add the necessary bits to the
> Thrift own code base to generate Revolution code.
>
> I wish we could create externals from other languages, like python  
> or ruby.

The main Thrift library is written in C++ and that could be wrapped up  
in an external if that would be easier then having a native Revolution  
library. I think creating an external may be the way to go since it  
would be easier to keep a Thrift external in sync with the current  
Thrift library (drop in latest C++ files, recompile).

Once we have a Revolution Thrift library (external or pure Revolution)  
then creating Revolution source code from IDL files shouldn't be too  
bad. The problem is that I don't think companies necessarily  
distribute their IDL files. I think they just distribute the source  
created from the IDL files; at least I didn't see any IDL files in the  
Evernote API distribution. Perhaps a Revolution program that could  
parse the C++ files generated by Thrift and automatically create an  
external project might be appropriate.

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list