flattools-0.4.1 released

44 views
Skip to first unread message

Arun Sharma

unread,
Mar 3, 2018, 4:40:40 PM3/3/18
to FlatBuffers

Are you looking for a flatbuffer grammar/parser written in python?
Are you looking to convert a subset of thrift to flatbuffers?

The repo also includes flatc.py which could be used to do template based code generation (the implementation uses jinja2).

Bug reports and patches welcome.



Wouter van Oortmerssen

unread,
Mar 5, 2018, 11:34:08 AM3/5/18
to Arun Sharma, FlatBuffers
Some nice tools! Do you also have a way to convert Thrift wire format to FlatBuffers?

--
You received this message because you are subscribed to the Google Groups "FlatBuffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flatbuffers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arun Sharma

unread,
Mar 5, 2018, 2:11:19 PM3/5/18
to Wouter van Oortmerssen, FlatBuffers

Thrift has many transport protocols, so it depends on which one.

https://github.com/apache/thrift/tree/master/lib/cpp/src/thrift/protocol

Also, I'm guessing that writing such a converter in python won't be the most sought after solution. But if someone can write such a converter by hand (say in C++), it should be pretty easy to use flatc.py to generalize the handwritten solution to arbitrary thrift messages by templatizing it.

Reply all
Reply to author
Forward
0 new messages