ocaml-bert / README

Full commit
.. -*- restructuredtext -*-

README for OCaml-bert

- version 0.0.2
- see for BERT.
- Licensed under dual-license: LGPL with linking exception, or EPL



install erlang_, ocaml_, omake_

.. _erlang:

.. _ocaml:

.. _omake:


  $ omake
  $ escript termwriter.erl   .. translates termwriter.eterm -> termwriter.bert
  $ ./termreader termwriter.bert

and compare the result with termwriter.eterm!!

Roadmap (TODO)

- stdin/stdout program demo
- direct usage of network I/O module
- TCP server demo

Serialization/Deserialization support

erlang terms - support in ocaml
  integer  o- integer in ocaml
  float    o- float   in ocaml
  atom     o- just a string in ocaml
  list     o- list with polymorphic variant ... maybe supported.
  tuple    o- tuple. maybe supported. difficult problem of types.
  pid      x- not supported or libei supported?!
  ref      x- not supported or translated to some binary
  fun      x- not supported 
  binary   o- just an string, maybe
  port     x- not supported

for erlang binary term format.

========        - the very BERT implementation  - basic test code  - simple test code  - TCP server test code (in progress)
 termwriter.erl - erlang code that generates BERT-formatted file
 termwriter.eterm - term information source file