Erlang proto file parser and code generator