Generating data of Erlang data-types in C

Volodymyr G. Lukiianyk volodymyrgl@REDACTED
Tue Sep 29 05:41:18 CEST 2009


Hi.

Sorry if this question appears to be stupid. Well, my knowledge of Erlang is next
to zero.

Here is the problem description. There is some network application (E_app)
written in Erlang which expects data received from network to be in form of an
Erlang tuple with possible elements of atom, tuple and list types. This data
needs to be formed by a program written in C (C_app). This problem, of course,
could be solved with a help of a separate "translator" application written in
Erlang, which would receive data from C_app in more C-friendly format and send it
to E_app in Erlang-specific format. But full solution in C is much more preferable.

Is there any way (some library?) to create Erlang-specific data from C application?

Thanks in advance.


More information about the erlang-questions mailing list