TriKriSta / erlport

ErlPort - connect Erlang to other languages

Home Page:http://erlport.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ErlPort - connect Erlang to other languages

Contents

ErlPort is a library for Erlang which helps connect Erlang to a number of other programming languages. Currently supported external languages are Python and Ruby. The library uses Erlang port protocol to simplify connection between languages and Erlang external term format to set the common data types mapping.

The following is an example ErlPort session for Python:

1> {ok, P} = python:start().
{ok,<0.34.0>}
2> python:call(P, sys, 'version.__str__', []).
<<"2.7.3 (default, Aug  1 2012, 05:14:39) \n[GCC 4.6.3]">>
3> python:call(P, operator, add, [2, 2]).
4
4> python:stop(P).
ok

Check http://erlport.org for more information:

Please use the following channels for reporting bugs, offering suggestions or feedback:

About

ErlPort - connect Erlang to other languages

http://erlport.org

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Erlang 37.5%Language:Python 35.3%Language:Ruby 23.1%Language:Makefile 2.9%Language:Shell 1.2%