[thrift] preliminary Erlang support (initial import)
authorChristopher Piro <cpiro@apache.org>
Fri, 29 Jun 2007 07:17:33 +0000 (07:17 +0000)
committerChristopher Piro <cpiro@apache.org>
Fri, 29 Jun 2007 07:17:33 +0000 (07:17 +0000)
commit2f5afceeaa2050ce3cca477288729c30622a1d38
tree78896723e2a5c2177eeacc539900b588e9c1628a
parentd795b9d3fdd78c9ec22e8487af9b52087853c085
[thrift] preliminary Erlang support (initial import)

Summary:
 * missing {list,map,set}s, inheritance is spotty
 * loose source code, plus everything is one process (application / gen_server behavior is forthcoming)
 * codegen is a mess, need t_fp_generator

Test Plan:
 * codegen invoked without -erl generates identical code for test/
 * calculatorHandler plus 'thrift -erl -r tutorial.thrift' more or less works

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665146 13f79535-47bb-0310-9956-ffa450edef68
29 files changed:
compiler/cpp/Makefile.am
compiler/cpp/src/generate/t_erl_generator.cc [new file with mode: 0644]
compiler/cpp/src/generate/t_erl_generator.h [new file with mode: 0644]
compiler/cpp/src/main.cc
lib/erl/src-loose/protocol/tBinaryProtocol.erl [new file with mode: 0644]
lib/erl/src-loose/protocol/tBinaryProtocol.hrl [new file with mode: 0644]
lib/erl/src-loose/protocol/tProtocol.erl [new file with mode: 0644]
lib/erl/src-loose/protocol/tProtocol.hrl [new file with mode: 0644]
lib/erl/src-loose/protocol/tProtocolException.erl [new file with mode: 0644]
lib/erl/src-loose/protocol/tProtocolException.hrl [new file with mode: 0644]
lib/erl/src-loose/server/tServer.erl [new file with mode: 0644]
lib/erl/src-loose/server/tServer.hrl [new file with mode: 0644]
lib/erl/src-loose/tApplicationException.erl [new file with mode: 0644]
lib/erl/src-loose/tApplicationException.hrl [new file with mode: 0644]
lib/erl/src-loose/tException.erl [new file with mode: 0644]
lib/erl/src-loose/tException.hrl [new file with mode: 0644]
lib/erl/src-loose/thrift.hrl [new file with mode: 0644]
lib/erl/src-loose/transport/tBufferedTransport.erl [new file with mode: 0644]
lib/erl/src-loose/transport/tBufferedTransport.hrl [new file with mode: 0644]
lib/erl/src-loose/transport/tServerSocket.erl [new file with mode: 0644]
lib/erl/src-loose/transport/tServerSocket.hrl [new file with mode: 0644]
lib/erl/src-loose/transport/tSocket.erl [new file with mode: 0644]
lib/erl/src-loose/transport/tSocket.hrl [new file with mode: 0644]
lib/erl/src-loose/transport/tTransport.erl [new file with mode: 0644]
lib/erl/src-loose/transport/tTransportException.erl [new file with mode: 0644]
lib/erl/src-loose/transport/tTransportException.hrl [new file with mode: 0644]
lib/erl/thrift [new symlink]
tutorial/erl/ErlClient.rb [new file with mode: 0644]
tutorial/erl/calculatorHandler.erl [new file with mode: 0644]