I have been using the ATS-to-Erlang compiler (atscc2erl) for some time.
Here is an implementation of reversed ftp (rftp) server/client:
By using session types, you can formally specify a communication protocol
and then make sure both server
and client implement the same protocol. This is a HUGE help in distributed
programming as miscommunication
between server and client can be VERY difficult to debug.
BTW, the reversed FTP allows you to put a client behind a firewall and then
use the server to access client’s files.
If you know Erlang, then the Makefile should be able to tell you how to try
the code.
Cheers!