Dear Jose,

You may consider writing your own mini language for communicating between both languages. You can then send messages in this language as text strings via a socket.

Alternatively, you may consider using one language for creating statements of the other language and then sending those statements over, e.g., via a socket. For example, on the Mozart side you can instantiate a compiler instance which receives Oz statements or expressions via a socket, executes them and sends the results of expressions back via this socket. I did this for using Mozart from Lisp.

In case you are interested to look at or use my code for doing this, it is a part of my software Strasheela called OzServer.

SVN browsing of OzServer
http://strasheela.svn.sourceforge.net/viewvc/strasheela/trunk/ strasheela/contributions/anders/OzServer/

Strasheela download
http://sourceforge.net/project/showfiles.php?group_id=167225

Just my 2 cent..

Best
Torsten

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de





On Nov 9, 2008, at 5:50 PM, Jose Enrique Benitez Jimenez wrote:


Hello, I am developing a proyect involving Mozart and Erlang and I need to communicate each other, I was thinking to use socket, but then I do not know how to structure the messages so that they understand each other, What if there is any standard, which serves to this case, and if you can give me a simple example, It would be very helpful, thank you very much.

Enrique
______________________________________________________________________ ___________ mozart-users mailing list mozart- [EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to