mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
e0e8316838
Client: cpp Patch: Dave Watson Github Pull Request: This closes #84 ---- commit b6134cedf292845e5ed01052919894df6b561bf2 Date: 2014-03-20T18:12:04Z Recursive structs support in parser A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration). This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!) Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers) |
||
---|---|---|
.. | ||
as3 | ||
c_glib | ||
cocoa | ||
cpp | ||
csharp | ||
d | ||
delphi | ||
erl | ||
go | ||
hs | ||
java | ||
javame/src/org/apache/thrift | ||
js | ||
lua | ||
nodejs | ||
ocaml | ||
perl | ||
php | ||
py | ||
rb | ||
st | ||
Makefile.am |