Commits

UENISHI Kota  committed 7fed6ae

going to be released ...

  • Participants
  • Parent commits 2240a2f
  • Tags 0.0.1

Comments (0)

Files changed (2)

 * OCaml-bert
 
+version 0.0.1
+
 see http://www.bert-rpc.org for BERT.
 see http://caml.inria.fr/ocaml/ for OCaml
 
 * Installation
  TBF
 
+* Prequieistes
+
+erlang, ocaml, omake
+
+* Instruction
+
+$ omake
+$ escript termwriter.erl   .. translates termwriter.eterm -> termwriter.bert
+$ ./termreader termwriter.bert
+and compare the result with termwriter.eterm!!
+
 * Roadmap
+ TBF
 
 * Serialization/Deserialization support
 
 
 see http://www.erlang.org/doc/apps/erts/erl_ext_dist.html
 for erlang binary term format.
+
+* Files
+ bert.ml        - the very BERT implementation
+ termreader.ml  - simple test code
+ tcp_server.ml  - TCP server test code (in progress)
+ termwriter.erl - erlang code that generates BERT-formatted file
+ termwriter.eterm - term information source file

File termreader.ml

     end in
   let bin = load_file filename in
     Printf.printf "reading %s: \n" filename;
-    Bert.print_binary_string bin;
+(*    Bert.print_binary_string bin; *)
     decode_all bin;;
 
 let _ =