thrift/compiler/cpp
jfarrell e0e8316838 THRIFT-2421: Tree/Recursive struct support in thrift
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)
2014-04-08 22:45:01 -04:00
..
src THRIFT-2421: Tree/Recursive struct support in thrift 2014-04-08 22:45:01 -04:00
compiler.sln THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0 2011-09-23 14:25:22 +00:00
compiler.vcxproj THRIFT-1614: handle automake >= 1.12 yacc output name (thrifty.hh) 2013-03-07 11:24:51 -05:00
compiler.vcxproj.filters THRIFT-1614: handle automake >= 1.12 yacc output name (thrifty.hh) 2013-03-07 11:24:51 -05:00
Makefile.am THRIFT-2421: Tree/Recursive struct support in thrift 2014-04-08 22:45:01 -04:00
README_Windows.md THRIFT-2407 use markdown (rename README => README.md) 2014-03-19 06:47:47 +01:00
README.md THRIFT-2407 use markdown (rename README => README.md) 2014-03-19 06:47:47 +01:00
version.h.in THRIFT-770. build: Get 'make dist' to work without first compiling source code 2010-05-03 21:33:00 +00:00